diff options
| author | Fyodor Kupolov <fkupolov@google.com> | 2014-12-15 16:21:07 -0800 |
|---|---|---|
| committer | Fyodor Kupolov <fkupolov@google.com> | 2014-12-18 18:17:48 -0800 |
| commit | 75d0ea8785163d5b0fddaec339f68bacdf52df82 (patch) | |
| tree | fc82d202d76b55c9c6c95939739e88f4fdc27541 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | 4ff7aaf1a2d34b22e442a920c932fd552c17afc9 (diff) | |
Use scheduled writes to package-restrictions and user xml
When user is initialized, PackageManager.setEnabledSetting is called
multiple times. Each call triggers a write to user's
package-restrictions.xml file.
Using scheduleWritePackageRestrictionsLocked should help to reduce the
number of writes during initialization time and reduce creation/switching
time for a new user.
Change-Id: I5bd8609e3a79bdc3f198a169ede8005dc0186612
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
