diff options
| author | 2024-06-19 12:02:00 +0000 | |
|---|---|---|
| committer | 2024-07-15 16:47:34 +0000 | |
| commit | d4272eb4ddcb1e45623f8b04c086673b5ad8e919 (patch) | |
| tree | dc2abc1288e134ae545f8a5f194e805974e79f88 /api/api_test.go | |
| parent | b85c2bccde7650bb388a465e4a26801b4de1774e (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