summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFilip Gruszczynski <gruszczy@google.com>2015-07-29 17:02:59 -0700
committerFilip Gruszczynski <gruszczy@google.com>2015-08-10 13:47:31 -0700
commit2349332f9f69189d7889692b9aafd6f80070e352 (patch)
tree393ede4dbdb82f272405d9d641db8e02526b66a2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0f9f0189822c6bee498b23c93512b6be0e9d1358 (diff)
Only relaunch activity on significant size configuration changes.
Currently if the configuration width/height/smallest width changes, we relaunch the activity or invoke onConfigurationChanged callback. When it comes to size based configuration changes it might not be necessary: if the size change doesn't pass one of the threshold defined by the resources, it means there is no need to relaunch the activity. In this CL the ActivityManager will receive the thresholds from the application and use them to decide, whether to relaunch the activity. The application reads the thresholds from the resources, specifically from resource qualifiers used by the app. Change-Id: Ie3cf0a172dc1ba0b865cf30c2962e7cfd9ad8436
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions