diff options
author | d34d <clark@cyngn.com> | 2015-11-05 13:23:29 -0800 |
---|---|---|
committer | d34d <clark@cyngn.com> | 2015-11-05 13:23:39 -0800 |
commit | 91ed462f5bec8a9130557d5b54ef9aed9e6385c4 (patch) | |
tree | 41aacb10ee91d70b72c786c1aad05e8bbc864028 /src | |
parent | 4b847d1262bd0f3038a2cdee8c9743c56bb0b803 (diff) | |
download | packages_apps_ThemeChooser-91ed462f5bec8a9130557d5b54ef9aed9e6385c4.zip packages_apps_ThemeChooser-91ed462f5bec8a9130557d5b54ef9aed9e6385c4.tar.gz packages_apps_ThemeChooser-91ed462f5bec8a9130557d5b54ef9aed9e6385c4.tar.bz2 |
Build for cm-13.0
Change-Id: I6244e18717fae13c5698408ee0b8f5b9109dd988
Diffstat (limited to 'src')
-rw-r--r-- | src/com/cyngn/theme/chooser/ComponentSelector.java | 5 | ||||
-rw-r--r-- | src/com/cyngn/theme/chooser/ThemeFragment.java | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/com/cyngn/theme/chooser/ComponentSelector.java b/src/com/cyngn/theme/chooser/ComponentSelector.java index 1898a94..98416f2 100644 --- a/src/com/cyngn/theme/chooser/ComponentSelector.java +++ b/src/com/cyngn/theme/chooser/ComponentSelector.java @@ -124,8 +124,9 @@ public class ComponentSelector extends LinearLayout mContext = context; mInflater = LayoutInflater.from(context); - mBatteryStyle = Settings.System.getInt(context.getContentResolver(), - Settings.System.STATUS_BAR_BATTERY_STYLE, 0); + // TODO: Load from settings once available + mBatteryStyle = 0; /*Settings.System.getInt(context.getContentResolver(), + Settings.System.STATUS_BAR_BATTERY_STYLE, 0);*/ mAnimateIn = AnimationUtils.loadAnimation(mContext, R.anim.component_selection_animate_in); diff --git a/src/com/cyngn/theme/chooser/ThemeFragment.java b/src/com/cyngn/theme/chooser/ThemeFragment.java index 30090b9..947f24c 100644 --- a/src/com/cyngn/theme/chooser/ThemeFragment.java +++ b/src/com/cyngn/theme/chooser/ThemeFragment.java @@ -322,8 +322,9 @@ public class ThemeFragment extends Fragment implements LoaderManager.LoaderCallb final Context context = getActivity(); mPkgName = getArguments().getString(ARG_PACKAGE_NAME); mSkipLoadingAnim = getArguments().getBoolean(ARG_SKIP_LOADING_ANIM); - mBatteryStyle = Settings.System.getInt(context.getContentResolver(), - Settings.System.STATUS_BAR_BATTERY_STYLE, 0); + // TODO: Load from settings once available + mBatteryStyle = 0;/*Settings.System.getInt(context.getContentResolver(), + Settings.System.STATUS_BAR_BATTERY_STYLE, 0);*/ getIconComponents(context); if (sTypefaceHelperCache == null) { |