diff options
| author | Gaurav Bhola <gauravbhola@google.com> | 2022-04-01 19:57:58 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-04-01 19:57:58 +0000 |
| commit | be5abebe9f7e331cdfeb1cbbd0b893f3b11d752a (patch) | |
| tree | e1ab0d217f18bd3fe2ef937740acca85db49e243 /core/java | |
| parent | 2a2931d93fa1873ea397665ceda971f3c02d60f6 (diff) | |
| parent | 3b42bacd2926a1f29108bac21b5bfabe7e4db2a0 (diff) | |
Merge "Add the insets visibilities requested by the focussed window in topFocussedWindowChanged() api." into tm-dev
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/view/IDisplayWindowInsetsController.aidl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/view/IDisplayWindowInsetsController.aidl b/core/java/android/view/IDisplayWindowInsetsController.aidl index a0d4a6587bcf..f4a0dfaa4432 100644 --- a/core/java/android/view/IDisplayWindowInsetsController.aidl +++ b/core/java/android/view/IDisplayWindowInsetsController.aidl @@ -18,6 +18,7 @@ package android.view; import android.view.InsetsSourceControl; import android.view.InsetsState; +import android.view.InsetsVisibilities; /** * Singular controller of insets to use when there isn't another obvious controller available. @@ -30,8 +31,9 @@ oneway interface IDisplayWindowInsetsController { * Called when top focused window changes to determine whether or not to take over insets * control. Won't be called if config_remoteInsetsControllerControlsSystemBars is false. * @param packageName: Passes the top package name + * @param requestedVisibilities The insets visibilities requested by the focussed window. */ - void topFocusedWindowChanged(String packageName); + void topFocusedWindowChanged(String packageName, in InsetsVisibilities insetsVisibilities); /** * @see IWindow#insetsChanged |
