File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app-kotlin/src/main/java/ch/freshbits/pathshare/example
app/src/main/java/ch/freshbits/pathshare/example Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,6 +248,6 @@ class MainActivity : AppCompatActivity() {
248248 }
249249
250250 private fun preferences (): SharedPreferences {
251- return applicationContext.getSharedPreferences(SESSION_PREFERENCES , Context . MODE_MULTI_PROCESS )
251+ return applicationContext.getSharedPreferences(SESSION_PREFERENCES , MODE_PRIVATE )
252252 }
253253}
Original file line number Diff line number Diff line change @@ -335,6 +335,6 @@ private void showToast(String message) {
335335 }
336336
337337 private SharedPreferences getPreferences () {
338- return getApplicationContext ().getSharedPreferences (SESSION_PREFERENCES , Context .MODE_MULTI_PROCESS );
338+ return getApplicationContext ().getSharedPreferences (SESSION_PREFERENCES , Context .MODE_PRIVATE );
339339 }
340340}
You can’t perform that action at this time.
0 commit comments