diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-01-13 13:34:09 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-02-05 13:29:14 +0000 |
commit | 7d5bf33dfce817144e52910c094e8a099d17b1d3 (patch) | |
tree | ce980fc828eb4285867bc3f9d13ff89f3c6a4bfb /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 5f87e0dfee8dfae306928986372283d4a117aaef (diff) |
Set last report configuration when attaching process
The process has received the configuration after bindApplication.
It is unnecessary to send a process configuration change by an
uninitialized last configuration from starting activity
(realStartActivityLocked -> r.setProcess).
Also remove a duplicated invocation of updateConfiguration
because super.onRequestedOverrideConfigurationChanged has
called onConfigurationChanged that also calls updateConfiguration.
Bug: 148604688
Test: atest WindowProcessControllerTests
Test: Enable trace and launch an activity. There should not have
a configChange between bindApplication and activityStart.
Change-Id: I7afa1278728fbb996f06d74023cc00930eadd3fc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions