OSDN Git Service

Guide towards Context.createPackageContextAsUser().
authorJeff Sharkey <jsharkey@android.com>
Wed, 28 Nov 2018 00:33:42 +0000 (17:33 -0700)
committerAdrian Roos <roosa@google.com>
Tue, 22 Jan 2019 10:36:36 +0000 (11:36 +0100)
commita8e5df06a010406b20a081c780a6e9854a2bad31
tree52d26c4747292c7aab95e02c94aa01c2e40a4210
parenteff9e228c12e1f75feab9c59a3edf546050cc1bc
Guide towards Context.createPackageContextAsUser().

It's a better alternative that should be used instead of adding
new "ForUser" or "AsUser" methods.

Bug: 115654727
Test: manual
Change-Id: I8742c2ef42d743ef69f8f7a91378f498fdc81e43
(cherry picked from commit 86445841ac90e04941dbc8dad34f2a893a2e0f8b)
tools/apilint/apilint.py