diff options
author | Clark Scheff <clark@cyngn.com> | 2014-08-14 13:13:04 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2014-08-14 13:13:04 -0700 |
commit | 953efda32a778054740d2f71d8905f23f67bc7d5 (patch) | |
tree | a1b71739678a18caa4266c1cafb5a34a9d024462 /src/com/cyngn/theme/widget | |
parent | cbac0b24090917aa07ed8f08211bb731b378a195 (diff) | |
download | packages_apps_ThemeChooser-953efda32a778054740d2f71d8905f23f67bc7d5.tar.gz packages_apps_ThemeChooser-953efda32a778054740d2f71d8905f23f67bc7d5.tar.bz2 packages_apps_ThemeChooser-953efda32a778054740d2f71d8905f23f67bc7d5.zip |
Allow the user to reset their customized theme
This makes it possible for the user to select "Reset theme" and
have their customizations revertted.
Change-Id: I1c12630e67ae68026d78bfdd3acc9508875c772a
Diffstat (limited to 'src/com/cyngn/theme/widget')
-rw-r--r-- | src/com/cyngn/theme/widget/ThemeTagLayout.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/cyngn/theme/widget/ThemeTagLayout.java b/src/com/cyngn/theme/widget/ThemeTagLayout.java index 6554bab..0d11348 100644 --- a/src/com/cyngn/theme/widget/ThemeTagLayout.java +++ b/src/com/cyngn/theme/widget/ThemeTagLayout.java @@ -72,6 +72,10 @@ public class ThemeTagLayout extends LinearLayout { } } + public boolean isCustomizedTagEnabled() { + return findViewById(R.id.tag_customized) != null; + } + public void setUpdatedTagEnabled(boolean enabled) { if (enabled) { if (findViewById(R.id.tag_updated) != null) return; |