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
Loading
Please register or sign in to comment