diff options
author | d34d <clark@cyngn.com> | 2016-05-20 09:22:55 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2016-05-20 19:42:01 +0000 |
commit | 24b1fdb5fe0fbe588bcfff9695d131d916931ea4 (patch) | |
tree | 1d279280a3caa30eff3b417bd90c88aa247fb783 | |
parent | a74e3fbddc106106975341e6a81e19dbd23adf6a (diff) | |
download | packages_apps_ThemeChooser-24b1fdb5fe0fbe588bcfff9695d131d916931ea4.zip packages_apps_ThemeChooser-24b1fdb5fe0fbe588bcfff9695d131d916931ea4.tar.gz packages_apps_ThemeChooser-24b1fdb5fe0fbe588bcfff9695d131d916931ea4.tar.bz2 |
Don't show apply fab if applying from 3rd party app
When applying components via a third party app, like the Theme Store,
the appy fab would appear. This patch checks if we are appying a
theme from a third party app and does not show the FAB in this
scenario.
Change-Id: Idedc920eeb975d96b66bcc73c88fa9acfe6bfd49
TICKET: CYNGNOS-2906
-rw-r--r-- | src/com/cyngn/theme/chooser/ThemeFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/cyngn/theme/chooser/ThemeFragment.java b/src/com/cyngn/theme/chooser/ThemeFragment.java index 9ae1cdf..21868fc 100644 --- a/src/com/cyngn/theme/chooser/ThemeFragment.java +++ b/src/com/cyngn/theme/chooser/ThemeFragment.java @@ -1390,7 +1390,7 @@ public class ThemeFragment extends Fragment implements LoaderManager.LoaderCallb if (mCurrentLoaderId != LOADER_ID_ALL) { if (!componentsChanged()) { getChooserActivity().hideSaveApplyButton(); - } else { + } else if (!mApplyThemeOnPopulated) { getChooserActivity().showSaveApplyButton(); } } |