SystemUI: add GlobalActionsComponent for tv [1/1]

PD#SWPL-48783
BUG:187506436

Problem:
no component implement 'handleShowGlobalActionsMenu()'

Solution:
add GlobalActionsComponent which implements the method

Verify:
Verify it on ohm

Signed-off-by: wei wang <wei.wang@amlogic.com>
Change-Id: I863689812eb584b295b27495f5d567469d962be4
This commit is contained in:
wei wang
2021-05-12 14:26:53 +08:00
committed by Robin Lee
parent 0245b5cbce
commit ed08ff82c4
2 changed files with 4 additions and 0 deletions

View File

@@ -33,6 +33,7 @@
<item>com.android.systemui.statusbar.tv.notifications.TvNotificationPanel</item>
<item>com.android.systemui.statusbar.tv.notifications.TvNotificationHandler</item>
<item>com.android.systemui.statusbar.tv.VpnStatusObserver</item>
<item>com.android.systemui.globalactions.GlobalActionsComponent</item>
<item>com.android.systemui.usb.StorageNotification</item>
<item>com.android.systemui.power.PowerUI</item>
<item>com.android.systemui.media.RingtonePlayer</item>

View File

@@ -879,6 +879,9 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
};
protected void updateStates() {
if (mContainer == null ) {
return;
}
int vis = mContainer.getSystemUiVisibility();
boolean showing = mShowing;
boolean occluded = mOccluded;