Serialising package restrictions uses synchronous disk access; callers
of these methods should probably use background threads for this.
Bug: 149216360
Test: TreeHugger
Change-Id: I6607a7225bf7daaad8a78e4d1e4c585ba5ac3efc
Signed-off-by: Julius D'souza <jdsouza@google.com>
The logic to attempt to directly mmap uncompressed font assets
has resulted in breakages for some applications and utilities.
This CL disables this speculative optimzation until we can determine
the problem with this approach and if such an optimization is required.
Bug: 149780695
Test: CtsTextTestCases and androidx.appcompat.widget.AppCompatTextViewTest
Change-Id: I3b10a801a5600aefe8573fab1b28cd79c848c892
This reverts commit 2a31fd75a0.
Reason for revert: Remove debugging info before R ships.
Fixes: 146014123
Change-Id: Ic1804d6fb85d6259a1a8f83e9f6285625c8485a5
There is a rare chance that one attention check will report results
twice. Results should only log at the time when attention check is
fulfilled.
Test: manual
Bug: 149931757
Change-Id: Ie0a6316d77140be5205f3d944164625ed786416a
Bug: 148240416
Test: Manually tested by installing two apps running in a shared process
and starting their shared process activities in various orders. The
value of usesCleartextTraffic gets set as expected.
Change-Id: Ib350c09c42d5524734fb259a2ab787790f2d8e30
Rename:
config_fullTaskSnapshotScale -> config_highResTaskSnapshotScale
config_reducedTaskSnapshotScale -> config_lowResTaskSnapshotScale
Both full and reduced scale can be "reduced" from 100%, so name them
more clearly.
Test: TaskSnapshotCacheTest
Test: TaskSnapshotControllerTest
Test: TaskSnapshotPersisterLoaderTest
Test: TaskSnapshotSurfaceTest
Bug: 148617404
Bug: 142063079
Change-Id: Ie8073d5a3048c19450308b2af22d363deaa51b6a
Reason for revert: cache needs to be cleared on package install.
This is much simpler to do in internal master with recent changes
(ag/10172190) so I'm reverting the cache from aosp to keep it correct,
and cherrypicking this into internal master.
Change-Id: I71757a5b60fbdba3c69322b95a20527a1e3a66e9
This change queries PlatformCompat for state on package add and when the
state is changed (notified via listener) to avoid expensive
transformation to ApplicationInfo and any performance impact
PlatformCompat may itself have.
Bug: 149768323
Test: atest PackageManagerPerfTests AppEnumerationTests
Change-Id: I19d8d0918ca6d0563e86a0c84e07cb2c0202543f
am skip reason: Change-Id I16e672aaae80d8bcce25e46c34984797740aae1b with SHA-1 6fb18bbfdb is in history
Change-Id: I7c23c879458b0d9a9b0801fe140e1896a56cee5f
* changes:
Export symbols for the newly exposed APEX/internal headers
Remove dependence on libandroid_runtime from Bitmap.cpp
Update Region.cpp to use AParcel NDK APIs
Cleanup header and build targets for libhwui clients.
Remove dependencies on headers outside UI module
Cleanup LOG_TAG when bundled in HWUI
Move android.graphics JNI & APEX files into HWUI