OSDN Git Service

Merge "Add padlock to the top of the bouncer"
authorLucas Dupin <dupin@google.com>
Tue, 19 Mar 2019 06:02:37 +0000 (06:02 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Tue, 19 Mar 2019 06:02:37 +0000 (06:02 +0000)
1  2 
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java

@@@ -325,15 -324,8 +324,16 @@@ public class NotificationPanelView exte
      private final ShadeController mShadeController =
              Dependency.get(ShadeController.class);
      private int mDisplayId;
+     private KeyguardBouncer mBouncer;
  
 +    /**
 +     * Cache the resource id of the theme to avoid unnecessary work in onThemeChanged.
 +     *
 +     * onThemeChanged is forced when the theme might not have changed. So, to avoid unncessary
 +     * work, check the current id with the cached id.
 +     */
 +    private int mThemeResId;
 +
      @Inject
      public NotificationPanelView(@Named(VIEW_CONTEXT) Context context, AttributeSet attrs,
              NotificationWakeUpCoordinator coordinator,