diff options
author | Yohei Yukawa <yukawa@google.com> | 2018-12-24 21:23:12 -0800 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2018-12-24 21:23:12 -0800 |
commit | a4710f3dce72a7d0116484d1fb4c584309d0ce18 (patch) | |
tree | 019aa2c4d461a0eeac27a48fbffb343ca66770ce /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 2232e861862566418da649290d86f7d2734fffb7 (diff) |
Remove a redundant Binder.clearCallingIdentity()
Following method/fields access should never require system server
priviledge. Hence there is no need to clear calling identity.
* ApplicationInfo#flags
* InputMethodInfo.getServiceInfo()
* ServiceInfo#applicationInfo
* ServiceInfo#packageName
This CL should be no user-observable behavior change.
Bug: 120709962
Test: Manually verified as follows.
1. Build aosp_taimen-userdebug and flash it
2. Install TestDPC.
3. Set up a work profile
4. Open TestDPC in the work profile mode.
5. Tap "Set input methods"
6. Tap "OK"
7. Open Settings App -> System -> Languages & input -> Virtual keyboard
8. Tap "Manage keyboards"
9. Make sure nothing crashes.
10. make -j SoftKeyboard
11. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
12. Open TestDPC in the work profile mode.
13. Tap "Set input methods"
14. Make sure that "Sample Soft Keyboard" is unchecked.
15. Tap "OK".
16. Open Settings App -> System -> Languages & input -> Virtual keyboard
17. Tap "Manage keyboards"
18. Make sure that you cannot enable "Sample Soft Keyboard"
Change-Id: Idce0ac68ee6a6ca6e1186bd2adf9bd07a1f9f397
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions