Home
last modified time | relevance | path

Searched refs:mLoggedIn (Results 1 – 1 of 1) sorted by relevance

/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DStorageProviderFragment.java38 private boolean mLoggedIn = false; field in StorageProviderFragment
43 mLoggedIn = readLoginValue(); in onCreate()
52 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); in onPrepareOptionsMenu()
59 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); in onOptionsItemSelected()
78 mLoggedIn = !mLoggedIn; in toggleLogin()
79 writeLoginValue(mLoggedIn); in toggleLogin()
80 Log.i(TAG, getString(mLoggedIn ? R.string.logged_in_info : R.string.logged_out_info)); in toggleLogin()