summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Mina Granic <minagranic@google.com> 2024-06-19 12:02:00 +0000
committer Mina Granic <minagranic@google.com> 2024-07-15 16:47:34 +0000
commitd4272eb4ddcb1e45623f8b04c086673b5ad8e919 (patch)
treedc2abc1288e134ae545f8a5f194e805974e79f88 /api/api_test.go
parentb85c2bccde7650bb388a465e4a26801b4de1774e (diff)
Do not adjust camera compat treatment for activity after closing camera.
The reasoning is two-fold: - If the activity has closed the camera but still alive, there is a good chance that the activity is showing the captured image, which could benefit from similar treatment (letterbox to a size of the camera feed, etc). - If the camera has been closed due to closing the activity (back button/gesture) or the task (closing the window), the activity below (if any) will not have camera-related letterbox. We still want to update other parameters though, like camera params for the future use, and any TBD sandboxing done because of this treatment (that are not activity-specific).' Removed a few tests that do not make sense anymore. Flag: com.android.window.flags.camera_compat_for_freeform Test: atest WmTests:CameraCompatFreeformPolicyTests Fixes: 347882285 Change-Id: I3a7a95b168700674fac3c9538fdd218c46ccfac2
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions