summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authord34d <clark@angelofdeath.com>2015-03-31 14:46:45 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-03-31 16:30:12 -0700
commit7699100fa82f4b61871f90a9c381ea292b8d3a08 (patch)
tree88006015c1c42fb67371e2b81e5fb1db5278867e
parentc2d3185f92bb0a55cde97fb7b71b4cbd7a27ad86 (diff)
downloadframeworks_base-7699100fa82f4b61871f90a9c381ea292b8d3a08.zip
frameworks_base-7699100fa82f4b61871f90a9c381ea292b8d3a08.tar.gz
frameworks_base-7699100fa82f4b61871f90a9c381ea292b8d3a08.tar.bz2
PhoneWindowManager: Add window animations for LLS
Change-Id: I671c8e91eb16ed672402b200dd08276559f2116b
-rw-r--r--core/res/res/drawable/drumpf_cid.pngbin0 -> 38337 bytes
-rw-r--r--core/res/res/values/cm_symbols.xml1
-rw-r--r--services/core/java/com/android/server/policy/PhoneWindowManager.java5
3 files changed, 4 insertions, 2 deletions
diff --git a/core/res/res/drawable/drumpf_cid.png b/core/res/res/drawable/drumpf_cid.png
new file mode 100644
index 0000000..f44725b
--- /dev/null
+++ b/core/res/res/drawable/drumpf_cid.png
Binary files differ
diff --git a/core/res/res/values/cm_symbols.xml b/core/res/res/values/cm_symbols.xml
index a76b3c2..68d3383 100644
--- a/core/res/res/values/cm_symbols.xml
+++ b/core/res/res/values/cm_symbols.xml
@@ -80,6 +80,7 @@
<!-- Privacy Guard -->
<java-symbol type="drawable" name="stat_notify_privacy_guard" />
+ <java-symbol type="drawable" name="drumpf_cid" />
<java-symbol type="string" name="privacy_guard_notification" />
<java-symbol type="string" name="privacy_guard_notification_detail" />
<java-symbol type="string" name="privacy_guard_dialog_title" />
diff --git a/services/core/java/com/android/server/policy/PhoneWindowManager.java b/services/core/java/com/android/server/policy/PhoneWindowManager.java
index 9cb969c..a259228 100644
--- a/services/core/java/com/android/server/policy/PhoneWindowManager.java
+++ b/services/core/java/com/android/server/policy/PhoneWindowManager.java
@@ -6997,11 +6997,12 @@ public class PhoneWindowManager implements WindowManagerPolicy {
}
};
if (mContext.getPackageManager().isUpgrade()) {
- mBootMsgDialog.setTitle(R.string.android_upgrading_title);
+ mBootMsgDialog.setTitle("Drumpf: \"Make CyanogenMod MOD again\"");
} else {
- mBootMsgDialog.setTitle(R.string.android_start_title);
+ mBootMsgDialog.setTitle("Drumpf: \"Make CyanogenMod MOD again\"");
}
mBootMsgDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
+ mBootMsgDialog.setIcon(R.drawable.drumpf_cid);
mBootMsgDialog.setIndeterminate(true);
mBootMsgDialog.getWindow().setType(
WindowManager.LayoutParams.TYPE_BOOT_PROGRESS);