diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 5aa47b71f5f46..ed2d3b0653740 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -95,19 +95,6 @@ @anim/dialog_exit - - - - - - - + - + @*android:anim/shrink_fade_out_from_bottom + + + + + diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBar.java index 918d5a3ec3800..61da1f56a56a5 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/StatusBar.java @@ -119,7 +119,8 @@ public abstract class StatusBar extends SystemUI implements CommandQueue.Callbac PixelFormat.RGBX_8888); lp.gravity = getStatusBarGravity(); lp.setTitle("StatusBar"); - // TODO lp.windowAnimations = R.style.Animation_StatusBar; + lp.packageName = mContext.getPackageName(); + lp.windowAnimations = R.style.Animation_StatusBar; WindowManagerImpl.getDefault().addView(sb, lp); if (SPEW) { diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index d25a8275fed71..7bb8277ffb485 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -505,7 +505,8 @@ public class PhoneStatusBar extends StatusBar { lp.gravity = Gravity.TOP | Gravity.FILL_HORIZONTAL; lp.y += height * 1.5; // FIXME lp.setTitle("IntruderAlert"); - lp.windowAnimations = com.android.internal.R.style.Animation_StatusBar_IntruderAlert; + lp.packageName = mContext.getPackageName(); + lp.windowAnimations = R.style.Animation_StatusBar_IntruderAlert; WindowManagerImpl.getDefault().addView(mIntruderAlertView, lp); }