summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2015-11-18 16:23:03 -0800
committerPhilip P. Moltmann <moltmann@google.com>2015-11-18 16:27:51 -0800
commitadac7f3406076583321897f282c6dc4fb4f40051 (patch)
tree34286c0578f9e4c62fc41b698e80081af6f2b1a2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf91e74d9a945f59cdb714a80a2a87953d72dbd99 (diff)
Do not restart printSpooler when switching portait mode / landscape mode
When the configration changes there are two modes to handle it: 1. do through a onDestroy - onCreate cycle 2. declare that your activity can handle certain changed and handle them in onConfigurationChanges For most apps (1) is zero effort to implement, hence it is the default behavior. You only want to do (2) if recreating your activity is expensive. As recreating the printActivity is expensive (and currently even impossible) we want to handle the configuration change gracefully. There is no code to be added as handling portrait mode / landscape mode switch is not different from an orientation switch. Bug: 25727559 Change-Id: Iac5b854c9dd080a4432957bc4551162dc3d480e9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions