diff options
| author | Winson Chung <winsonc@google.com> | 2014-06-12 13:59:25 -0700 |
|---|---|---|
| committer | Winson Chung <winsonc@google.com> | 2014-06-12 13:59:25 -0700 |
| commit | 9214eff52adf56b7c9532e40b784d52f9f94b6d1 (patch) | |
| tree | ee0e6ad31b243d4a433d42c91fde2c4e606c2958 /packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java | |
| parent | d42a6cfe2bf632222617450a1ed340268e82f06c (diff) | |
| download | frameworks_base-9214eff52adf56b7c9532e40b784d52f9f94b6d1.zip frameworks_base-9214eff52adf56b7c9532e40b784d52f9f94b6d1.tar.gz frameworks_base-9214eff52adf56b7c9532e40b784d52f9f94b6d1.tar.bz2 | |
Fix regression in using visibility flags.
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java')
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java index 5a9fe91..c00715a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java @@ -89,7 +89,8 @@ import java.util.Locale; import static com.android.keyguard.KeyguardHostView.OnDismissAction; public abstract class BaseStatusBar extends SystemUI implements - CommandQueue.Callbacks, ActivatableNotificationView.OnActivatedListener { + CommandQueue.Callbacks, ActivatableNotificationView.OnActivatedListener, + RecentsComponent.Callbacks { public static final String TAG = "StatusBar"; public static final boolean DEBUG = false; public static final boolean MULTIUSER_DEBUG = false; @@ -385,6 +386,7 @@ public abstract class BaseStatusBar extends SystemUI implements ServiceManager.getService(Context.STATUS_BAR_SERVICE)); mRecents = getComponent(RecentsComponent.class); + mRecents.setCallback(this); mLocale = mContext.getResources().getConfiguration().locale; mLayoutDirection = TextUtils.getLayoutDirectionFromLocale(mLocale); @@ -764,6 +766,11 @@ public abstract class BaseStatusBar extends SystemUI implements } } + @Override + public void onVisibilityChanged(boolean visible) { + // Do nothing + } + public abstract void resetHeadsUpDecayTimer(); public abstract void scheduleHeadsUpOpen(); |
