OSDN Git Service

Cache isManagedProfile().
authorMakoto Onuki <omakoto@google.com>
Wed, 25 Jan 2017 22:09:48 +0000 (14:09 -0800)
committerMakoto Onuki <omakoto@google.com>
Wed, 25 Jan 2017 22:12:04 +0000 (14:12 -0800)
commitd49f3fa8062257d22537c31def79d29879b6e7cb
tree85c7faf8e124a5cbd8ab3179be46e757918d2db9
parente7beedff6e02cf11bce748d1aa73c848c53bbccd
Cache isManagedProfile().

LauncherApps wants to use it in the client side.  Let's cache the
result.

Bug: 34340531
Test: manual tests with work profile
Change-Id: I594a9ca688867e7cb0b35ab389ccef66135ef9cd
core/java/android/os/UserManager.java