diff options
author | Mariia Sandrikova <mariiasand@google.com> | 2021-12-15 02:34:05 +0000 |
---|---|---|
committer | Mariia Sandrikova <mariiasand@google.com> | 2021-12-17 00:18:57 +0000 |
commit | 24f4d8a9521d0281721fe5703b32569c8fd7e151 (patch) | |
tree | 6eb5c0f8575a289e19cdc1447fed3958704f3f73 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | aa7a8cdda5c7bf7ad30c93bdec3dd875ca6985e5 (diff) |
[2/n] Camera Compat UI: Add interfaces for client-server communication.
Changes:
- Listens to changes from the client coming through IActivityClientController#requestCompatCameraControl to ActivityRecord#updateCameraCompatState
- ActivityRecord#updateCameraCompatState sends updated state via TaskInfo to WM Shell
- ITaskOrganizerController#updateCameraCompatControlState to dispatch the user interactions with the control from WM Shell triggers callback to ActivityRecord#updateCameraCompatStateFromUser
- ActivityRecord#updateCameraCompatStateFromUser remembers the user's choice and asks client to apply treatment through ICompatCameraControlCallback
Feature is guarded with config_isCameraCompatControlForStretchedIssuesEnabled
Test: atest WMShellUnitTests:ShellTaskOrganizerTests, atest WmTests:ActivityRecordTests
Bug: 206602997
Change-Id: I083aa6718bd67456bedd9444e9b78740c041f870
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions