summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFelka Chang <felkachang@google.com>2020-11-09 01:38:57 +0800
committerFelka Chang <felkachang@google.com>2020-11-16 14:20:13 +0000
commit920dcad2d34bdeb663779402bfe361cf8c160842 (patch)
tree9eacb1dbd29f76d98e9c11aea01af683bf83212b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf24001ca2bfaf3462245721a0f75970ba86b5f0f (diff)
Fix SystemUI count down doesn't work
StatusBarIconView uses Icon#loadDrawableAsUser to load drawable defined by the customized Drawable class. context.createContextAsUser with flag Context.CONTEXT_INCLUDE_CODE can fix the ClassNotFound found problem. And, it needs to prevent any security issue by checking if the context is the same app with the process. If the parameter userId is the same with context.getUserId(), it shouldn't create the extra Context instance. Fixes: 171712189 Test: atest \ CtsGraphicsTestCases:android.graphics.drawable.cts.IconTest \ FrameworksCoreTests:android.graphics.drawable.IconTest Change-Id: I267fc6eed90a6a6bba39b9976c1d843734e49dec
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions