summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAndrei Stingaceanu <stg@google.com>2016-04-12 15:29:25 +0100
committerAndrei Stingaceanu <stg@google.com>2016-04-14 16:37:08 +0100
commitf86bc976261d1f9860a4249ce9ef4d0ef4c8c3ef (patch)
treec20b5605a3102594bc3b41f8f332b2f7d658d5f0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent15e636b570c646c6b45a57eebff5c6197277990d (diff)
Keyboard shortcuts: one instance refactor
Make all the instance public methods private and add static methods to control the behavior: * show * dismiss * toggle Make sure we only deal with one instance of the KeyboardShortcuts (previously both the KeyboardShortcutsReceiver and BaseStatusBar were creating instances). Makes sure the instance is destroyed when dismissing and when showing it either creates a new one if none exists or reuses the existing one. Also fixes an existing nasty issue where in order to dismiss the dialog from BaseStatusBar we were always first creating a new instance. Bug: 28012198 Change-Id: I207553dd45ae535edc64b6292a472fa0899029b0
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions