summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-10-01 12:50:58 -0700
committerSvetoslav <svetoslavganov@google.com>2014-10-01 15:07:27 -0700
commitceac51deddb873956c647d1b2dc7b2cc251d404b (patch)
tree5538b44cdcd0bca766bc998db24b8d23b4ce57cd /rs/java/android/renderscript/Program.java
parentd1462247e05dab10d20372249e9a3ef7ef93fc2e (diff)
Fix accessiblity introspection from the shell user regression.
Accessibility introspection APIs are meant to query only the state of the current user. There are command line tools that run as the shell user and want to be able to intropspect the screen. When resolving the calling user we were using the calling user id instead of the special constant for the current user. Now when resolving the calling user for intrspection we are using the current user constant and consequentially only the current user or a profile of the current user or the root or the shell or the system or an app with cross user permission can introspect the screen. bug:17674631 Change-Id: I36d1d7b65441d04c3b4204123c4b6d036ff032c0
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions