From 24b1fdb5fe0fbe588bcfff9695d131d916931ea4 Mon Sep 17 00:00:00 2001 From: d34d Date: Fri, 20 May 2016 09:22:55 -0700 Subject: 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 --- src/com/cyngn/theme/chooser/ThemeFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } } -- cgit v1.1