summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Mariia Sandrikova <mariiasand@google.com> 2022-08-22 09:47:45 +0000
committer Mariia Sandrikova <mariiasand@google.com> 2022-12-21 20:29:45 +0000
commitad26f036f810835b07fa3ebaec881499ce55e7b0 (patch)
treecd1aeebdd5f6c0cc9bb38b5fa259d9a61261d476 /libs/androidfw/ApkParsing.cpp
parentda4c552378996238e899a84ddcc26be3ebb6ca29 (diff)
[3/n] Camera Compat: Refresh activity
Introduce RefreshCallbackItem that allows to "refresh" activity by going through "stopped -> resumed" or "paused -> resumed" cycle. This allows to clear cached values in apps (e.g. display or camera rotation) that influence camera preview and can lead to sideways or stretching issues persisting even after force rotation in DisplayRotationCompatPolicy. Using "stop -> resumed" cycle by default due to higher success rate confirmed with app compatibility testing. But introduce ADB commands that allow trying both. Bug: 218352945 Test: atest WmTests:DisplayRotationCompatPolicyTests Change-Id: Iaca54b197937147f93d52297543b106fd5b97322
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions