diff options
author | Wale Ogunwale <ogunwale@google.com> | 2016-06-16 10:03:40 -0700 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2016-06-16 12:39:11 -0700 |
commit | 0619545be9adca4458cb627c18c211faad6b6275 (patch) | |
tree | bdc1bdaf4950bd43956ac117e2e8052765f0e9db /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 43f6a45e7e111af8a843e001b555082cb356a529 (diff) |
Don't re-launch activities while the device is sleeping
- Don't ensure configuration for top running activity that is in the
stopped state if the configuration change while the device is sleeping
as we don't want to relaunch activities in this state.
- Don't make activities visible while the device is sleeping and the
activity isn't in voice interaction mode. Making it visible can also
lead to the activity been relaunched due to configuration changing.
Note the the right configuration will be applied to the activity the next
time we try to make it visible. The re-launch will happen then.
Bug: 28518380
Change-Id: Ic22193db645dec358065cb05e7f1afc6fc8ac49f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions