summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-05-04 20:48:32 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-05-06 12:26:13 +0000
commitd948f743c26c42a3f4f94ce2332a7ba24f5ed5fc (patch)
treed5a7ad88e444492ee2159b612896ce4bac9c6889 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8a028947c3ab7c1a822a2812d4498f9c596be392 (diff)
Do not stop dream service if dream activity is relaunching
Currently DreamActivity doesn't handle any configuration changes, and does not set fixed orientation. So the decor view will be detached if the activity is relaunching for configuration changes. Though it also works by making DreamActivity support handling the changes, all implementations of DreamService may need to add the corresponding handling. So this fix only keeps the service alive for compatibility. Fixes: 154474768 Test: atest DreamManagerServiceTests#testDreamNotFinishAfterRotation Test: Enter Settings > Display > Screen saver, press "Start now". The dream service should not be stopped after device rotated. Change-Id: I454f75d06c4539258eeafd8794a3cb03e0276163
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions