diff options
author | Kevin Chyn <kchyn@google.com> | 2020-02-20 16:45:59 -0800 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2020-02-20 16:51:02 -0800 |
commit | bc3347fa1e2cd0bf30e7dbc6d30965cd139cc4a8 (patch) | |
tree | c181428b06efde59bbef0125bf02d4974a6ead97 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e49a32946f8757692dc9e8d20bca3467d4f13d73 (diff) |
Fix stealth mode for managed profiles
Stealth mode should not use effectiveUserId. Instead, it needs to use
the original userId.
Secondly, the pattern view should be setting stealth mode only after
the configuration is received (e.g. onFinishInflate is too early, and
the params are not passed in from its owner yet).
Fixes: 148382970
Test: 1) Make pattern visible for managed profile
2) Reboot device
3) Open work profile app - pattern is shown when entered
4) Enter pattern
5) Lock screen, unlock screen
6) Open work profile app - pattern is shown when entered
7) Repeat 1-6 with pattern set to not be visible. pattern should not
be shown during 3) and 6)
Change-Id: I3e81cd31484fb0b7a99d554c3c274e8088df5ec7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions