diff options
author | Felka Chang <felkachang@google.com> | 2020-11-09 01:38:57 +0800 |
---|---|---|
committer | Felka Chang <felkachang@google.com> | 2020-11-16 14:20:13 +0000 |
commit | 920dcad2d34bdeb663779402bfe361cf8c160842 (patch) | |
tree | 9eacb1dbd29f76d98e9c11aea01af683bf83212b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f24001ca2bfaf3462245721a0f75970ba86b5f0f (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