summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/policy/GlobalActions.java2
-rw-r--r--services/core/java/com/android/server/power/ShutdownThread.java2
-rw-r--r--services/java/com/android/server/SystemServer.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/policy/GlobalActions.java b/services/core/java/com/android/server/policy/GlobalActions.java
index c8a6135..34fc905 100644
--- a/services/core/java/com/android/server/policy/GlobalActions.java
+++ b/services/core/java/com/android/server/policy/GlobalActions.java
@@ -293,7 +293,7 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
private Context getUiContext() {
if (mUiContext == null) {
mUiContext = ThemeUtils.createUiContext(mContext);
- mUiContext.setTheme(android.R.style.Theme_DeviceDefault_Light_DarkActionBar);
+ mUiContext.setTheme(com.android.internal.R.style.Theme_Power_Dialog);
}
return mUiContext != null ? mUiContext : mContext;
}
diff --git a/services/core/java/com/android/server/power/ShutdownThread.java b/services/core/java/com/android/server/power/ShutdownThread.java
index 5062244..36a9ca2 100644
--- a/services/core/java/com/android/server/power/ShutdownThread.java
+++ b/services/core/java/com/android/server/power/ShutdownThread.java
@@ -1006,7 +1006,7 @@ public final class ShutdownThread extends Thread {
if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEVISION)) {
uiContext.setTheme(com.android.internal.R.style.Theme_Leanback_Dialog_Alert);
} else {
- uiContext.setTheme(android.R.style.Theme_DeviceDefault_Light_DarkActionBar);
+ uiContext.setTheme(com.android.internal.R.style.Theme_Power_Dialog);
}
}
return uiContext != null ? uiContext : context;
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index f6a0619..d69fe11 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -329,7 +329,7 @@ public final class SystemServer {
private void createSystemContext() {
ActivityThread activityThread = ActivityThread.systemMain();
mSystemContext = activityThread.getSystemContext();
- mSystemContext.setTheme(android.R.style.Theme_DeviceDefault_Light_DarkActionBar);
+ mSystemContext.setTheme(com.android.internal.R.style.Theme_Power_Dialog);
}
/**