[Reland] Add nav bar case to RemoteAnimationTarget of non-app window
1. Only send navigation bar target when: - It is the transition of launching an app - In gesture navigation bar mode - The navigation bar is not controlled by fixed rotation or recents 2. Add a windowType field to RemoteAnimationTarget so that the remote clients could use this to find the non-app window they want. 3. Handle the onAnimationFinish() callback for non-app adapters. Bug: 139273001 Test: atest RemoteAnimationControllerTest Change-Id: I0612163502bdda01c4bdbae3b0ecda47efedad51
This commit is contained in:
@@ -823,12 +823,6 @@
|
||||
"group": "WM_DEBUG_STATES",
|
||||
"at": "com\/android\/server\/wm\/Task.java"
|
||||
},
|
||||
"-1159577965": {
|
||||
"message": "Focus requested for input consumer=%s",
|
||||
"level": "VERBOSE",
|
||||
"group": "WM_DEBUG_FOCUS_LIGHT",
|
||||
"at": "com\/android\/server\/wm\/InputMonitor.java"
|
||||
},
|
||||
"-1156118957": {
|
||||
"message": "Updated config=%s",
|
||||
"level": "DEBUG",
|
||||
@@ -3445,6 +3439,12 @@
|
||||
"group": "WM_DEBUG_IME",
|
||||
"at": "com\/android\/server\/wm\/ImeInsetsSourceProvider.java"
|
||||
},
|
||||
"1931178855": {
|
||||
"message": "\tnonApp=%s",
|
||||
"level": "DEBUG",
|
||||
"group": "WM_DEBUG_REMOTE_ANIMATIONS",
|
||||
"at": "com\/android\/server\/wm\/RemoteAnimationController.java"
|
||||
},
|
||||
"1947239194": {
|
||||
"message": "Deferring rotation, still finishing previous rotation",
|
||||
"level": "VERBOSE",
|
||||
@@ -3493,6 +3493,12 @@
|
||||
"group": "WM_DEBUG_CONFIGURATION",
|
||||
"at": "com\/android\/server\/wm\/ActivityRecord.java"
|
||||
},
|
||||
"1999594750": {
|
||||
"message": "startAnimation",
|
||||
"level": "DEBUG",
|
||||
"group": "WM_DEBUG_REMOTE_ANIMATIONS",
|
||||
"at": "com\/android\/server\/wm\/NonAppWindowAnimationAdapter.java"
|
||||
},
|
||||
"2018454757": {
|
||||
"message": "WS.removeImmediately: %s Already removed...",
|
||||
"level": "VERBOSE",
|
||||
|
||||
Reference in New Issue
Block a user