summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2016-06-08 13:14:19 -0700
committerAndrii Kulian <akulian@google.com>2016-06-10 16:07:43 -0700
commit8d6ac26504ae3708732e0f5c0df02efb17937d9b (patch)
tree982fef7c4e84e9a5f8b89c96926e396bd4fea5e2 /rs/java/android/renderscript/Script.java
parent4781525399ece25fc4c0c9e290f58268422259f3 (diff)
Reinflate primary action mode view after detach
When app is resized in multi-window mode we preserve the window along with the decor view. If action mode view was shown before such config change, its view is detached, but the mPrimaryActionModeView variable is not cleared. So when action mode view is shown again after that it thinks that its view is still alive. This CL adds additional check to inflate new mPrimaryActionModeView if it is not attached to any window. Bug: 28971666 Change-Id: Ia8c24d4322be32e8b2c8967301beb3a4d889d501
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions