wireguard-android/app
Harsh Shandilya fe4cc22ca0 SettingsActivity: Gracefully exit when options menu home is pressed
This is an activity, so it does not join the fragment backstack, but
instead piles on top

SettingsActivity
| -> MainActivity
| -> EditorFragment
| -> DetailFragment
| -> ListFragment

Without overriding the back button in the toolbar, it simply
kills the entire state on MainActivity and causes it to reload.
By calling finish() on the activity when home is pressed from the
item menu we can silently make it die without affecting any underlying
states held by MainActivity and instead return to the exact fragment
we launched settings from.

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30 17:30:24 +05:30
..
src/main SettingsActivity: Gracefully exit when options menu home is pressed 2018-04-30 17:30:24 +05:30
tools Latest go changes 2018-04-27 05:43:07 +02:00
build.gradle Prefer AppCompat classes 2018-04-30 17:30:24 +05:30
proguard-rules.pro project: Create empty project with WireGuard icon 2017-07-28 23:10:37 -05:00