commit | 65d075524c347cee113012656af1a0fa28558298 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Wed Jan 04 10:04:02 2023 +0000 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu Jan 05 02:42:54 2023 +0000 |
tree | eb06d3bdd90f495b1402ac574515ae5366d4b648 | |
parent | 099f82439d2115f29e8c0dbe7fda6247fb9e0ad8 [diff] |
Skip applying scale by local relaunch item If a scaled app calls Activity#recreate(), it will perform a local relaunch from ActivityThread#handleRelaunchActivityLocally. That uses the current config to execute, which was already scaled. So to avoid double scaling, do not apply the scale if the transaction item is executing from local. Fix: 264133971 Test: atest ActivityThreadTest#testOverrideScale Change-Id: I0e8ed3b056506ae9e2059fa0263b420474829ae5