diff options
author | d34d <clark@cyngn.com> | 2015-03-03 10:36:43 -0800 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2015-10-27 10:41:12 -0700 |
commit | 9e2a69886db785729f9c7925e6c06b8ad283d49e (patch) | |
tree | 66867f0cf87ab73878b4b7da1996245d9e45ad86 /services/java | |
parent | a17db2b5c7fb407fa40de99f8f89bb8fda1584fd (diff) | |
download | frameworks_base-9e2a69886db785729f9c7925e6c06b8ad283d49e.zip frameworks_base-9e2a69886db785729f9c7925e6c06b8ad283d49e.tar.gz frameworks_base-9e2a69886db785729f9c7925e6c06b8ad283d49e.tar.bz2 |
Themes: Add RequestType to ThemeChangeRequest [1/3]
Change-Id: I2c65ca8eebb3347873cbb133fc29d5ade75b258b
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/AppsFailureReceiver.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/services/java/com/android/server/AppsFailureReceiver.java b/services/java/com/android/server/AppsFailureReceiver.java index 3265720..e99b7a4 100644 --- a/services/java/com/android/server/AppsFailureReceiver.java +++ b/services/java/com/android/server/AppsFailureReceiver.java @@ -23,13 +23,10 @@ import android.content.Context; import android.content.Intent; import android.content.pm.ThemeUtils; import android.content.res.ThemeChangeRequest; +import android.content.res.ThemeChangeRequest.RequestType; import android.content.res.ThemeConfig; import android.content.res.ThemeManager; import android.os.SystemClock; -import android.provider.ThemesContract; - -import java.util.ArrayList; -import java.util.List; import com.android.internal.R; @@ -77,7 +74,8 @@ public class AppsFailureReceiver extends BroadcastReceiver { .setLockWallpaper(themePkgName) .setAlarm(themePkgName) .setNotification(themePkgName) - .setRingtone(themePkgName); + .setRingtone(themePkgName) + .setRequestType(RequestType.THEME_RESET); // Since we are resetting everything to the system theme, we can have the // theme service remove all per app themes without setting them explicitly :) tm.requestThemeChange(builder.build(), true); |