diff options
author | Clark Scheff <clark@cyngn.com> | 2014-08-21 13:51:08 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2014-08-22 09:38:00 -0700 |
commit | 9202d9802ab35d642f7ce1b0ac14ff51f8c2fb97 (patch) | |
tree | c5667967eb9032433c700317ca20bd69bce85233 | |
parent | 01ac1c0658de03792b89317e7b2241fc49c82175 (diff) | |
download | packages_apps_ThemeChooser-9202d9802ab35d642f7ce1b0ac14ff51f8c2fb97.zip packages_apps_ThemeChooser-9202d9802ab35d642f7ce1b0ac14ff51f8c2fb97.tar.gz packages_apps_ThemeChooser-9202d9802ab35d642f7ce1b0ac14ff51f8c2fb97.tar.bz2 |
Show preivous theme card when resuming.
Change-Id: Ia1f0c65b24fca145ade466c716591d9c14dfb8e2
-rw-r--r-- | src/com/cyngn/theme/chooser/ChooserActivity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/cyngn/theme/chooser/ChooserActivity.java b/src/com/cyngn/theme/chooser/ChooserActivity.java index a00f283..2a85341 100644 --- a/src/com/cyngn/theme/chooser/ChooserActivity.java +++ b/src/com/cyngn/theme/chooser/ChooserActivity.java @@ -252,8 +252,6 @@ public class ChooserActivity extends FragmentActivity mPager.setAdapter(mAdapter); getSupportLoaderManager().restartLoader(LOADER_ID_INSTALLED_THEMES, null, this); } - } else { - mSelectedTheme = null; } } @@ -472,6 +470,7 @@ public class ChooserActivity extends FragmentActivity super.onPause(); mService.onClientPaused(this); unregisterReceiver(mWallpaperChangeReceiver); + mSelectedTheme = getCurrentFragment().getThemePackageName(); } @Override |