diff options
author | Robin Lee <rgl@google.com> | 2016-01-22 15:44:49 +0000 |
---|---|---|
committer | Robin Lee <rgl@google.com> | 2016-01-27 18:01:01 +0000 |
commit | d39113ea00b650f5778ed3d5dea6664c5d06f5b4 (patch) | |
tree | bce13d2257d104294eac713d6844b53e5549f2db /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | eb6c023710ebc1f07329f8623cf0b3e44d5bd538 (diff) |
Replace broken UserHandle.SYSTEM check in LPU
ActivityManager.getCurrentUser returns the user currently in the
foreground, not the calling or affected process.
Note:
---
This is just an API for setting the default suggestion when choosing a
new lock type in Settings, so it's not much of a security problem
(background users/profiles could only modify the suggestion, not the
actual encryption setting).
Change-Id: I98c62be7c5726f99fea0ec9320ad9d85cce850ef
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions