Toggle notification panel when new buttons are clicked in taskbar

This CL adds toggle notification panel function for new buttons in Kingyo taskbar.

Bug: 199333223
Test: m, verify that clicking the new buttons will expand/collapse quick settings and notification panel

Recall: http://recall/clips/993bc14b-98a7-4d7d-98c4-17ba271d4da9
Change-Id: I8c7383d2efa6f15de10a50173cfff86ab20ebb4c
This commit is contained in:
Shuming Hao committed 2021-12-10 16:52:47 -08:00
1 parent db5960de5e
commit 22fbc854ea
2 files changed
+25 -1

No files matched your search

@@ -478,6 +478,17 @@ public class SystemUiProxy implements ISystemUiProxy,
}
}
@Override
public void toggleNotificationPanel() {
if (mSystemUiProxy != null) {
try {
mSystemUiProxy.toggleNotificationPanel();
} catch (RemoteException e) {
Log.w(TAG, "Failed call toggleNotificationPanel", e);
}
}
}
//
// Pip
//