Merge "[CD Taskbar] Refactor to Listen to Display Ready/Removed Signals" into main

This commit is contained in:
Sukesh Ram authored and Android (Google) Code Review committed 2025-01-16 10:03:34 -08:00
commit 7ad500b716
2 files changed
+30

No files matched your search

@@ -687,6 +687,20 @@ public class TaskbarManager {
}
}
/**
* Signal from SysUI indicating that a non-mirroring display was just connected to the
* primary device.
*/
public void onDisplayReady(int displayId) {
}
/**
* Signal from SysUI indicating that a previously connected non-mirroring display was just
* removed from the primary device.
*/
public void onDisplayRemoved(int displayId) {
}
private void removeActivityCallbacksAndListeners() {
if (mActivity != null) {
mActivity.removeOnDeviceProfileChangeListener(mDebugActivityDeviceProfileChanged);