Merge "Rename onDisplayReady to onDisplayAddSystemDecorations" into main

This commit is contained in:
Lingyu Feng
2025-01-29 17:24:01 -08:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 5 deletions
@@ -715,9 +715,9 @@ public class TaskbarManager {
/**
* Signal from SysUI indicating that a non-mirroring display was just connected to the
* primary device.
* primary device or a previously mirroring display is switched to extended mode.
*/
public void onDisplayReady(int displayId) {
public void onDisplayAddSystemDecorations(int displayId) {
}
/**
@@ -301,10 +301,10 @@ public class TouchInteractionService extends Service {
@BinderThread
@Override
public void onDisplayReady(int displayId) {
public void onDisplayAddSystemDecorations(int displayId) {
MAIN_EXECUTOR.execute(() -> executeForTouchInteractionService(
tis -> executeForTaskbarManager(
taskbarManager -> taskbarManager.onDisplayReady(displayId))));
tis -> executeForTaskbarManager(taskbarManager ->
taskbarManager.onDisplayAddSystemDecorations(displayId))));
}
@BinderThread