Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 65d07552 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 099f8243
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment