This avoids loading constructors with reflection for well-known View classes.
An average of 1300 app startups with and without this change shows the special
casing improves app startup time by about 2.5ms.
The classes listed here are taken from examining several app traces as well as
the similar list in AppCompatViewInflater.
Bug: 131421854
Change-Id: I676a50eec50b86fa0b385add4bc092a657d8e8bb
- When swiping up from an immersive sticky app, ensure that we don't
restore the hidden bar states while swiping up (only update afterwards)
Bug: 130020567
Test: atest CommandQueueTest
Test: Swipe up from an immersive app into launcher while the bars are
showing
Change-Id: I1c8fb3c0df5c1adc7c73079189f5b45e84d1ef45
We cache the AppTargets returned by APS, and just return them
when one is clicked. For share activities, that is handled in
AppPredictionServiceResolverComparator.
Bug:124404997
Test: manual test using patched AiAi apk cl/248961808
Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Change-Id: I7bb61b65bd361acdbfd16e1d9499f094b3ae39d8
Restricts Privacy Indicators behind the same flags as Permissions Hub.
When flag is set to false:
* PrivacyItemController is set to not listening (listens to changes in
flag)
* Location icon is reverted back to P behavior
* Location icon is shown in QS Header icons (listens to changes in
flags)
* No privacy chip shown.
We need to listen to changes because most of our views/controllers
persist forever.
Test: manual, change the flag and observe things appear/disappear
Fixes: 131826452
Fixes: 132644949
Change-Id: I329596760f3c06feb2161b077af008da782a50be
If application process handles motion events late, it requests to start
moving task after MotionEvent.ACTION_UP is already fired. In that case,
system will wait for event that is not comming and cannot end drag state.
It's expected that the system finishes moving task when system receives
ACTION_UP by transfering touch focus. In a problem case, ACTION_UP event
is already sent to the application process before transfering touch focus.
If application receives ACTION_UP event after requesting moving task,
notify the system of finishing previous request.
Test: Quickly try to resize freeform windowing app repeatedly.
Test: atest WmTests:TaskPositioningControllerTests
Bug: 129507487
Change-Id: Ifa457ddc55524cae6da455e770472781a7805282
(cherry picked from commit 9a1cd7b5063229da536a1281916ae15ec9246d1a)
The row containing 'Apps list' should not be enabled in the listview
in order to not appear clickable to TalkBack.
Bug: 132861329
Test: Manual
Change-Id: Ie7ba64f289def9839e013f05df3070d0e4a43a90
Support edge-to-edge sharesheet to align with support for new gesture
navigation. Use top inset to prevent sharesheet from scrolling
under. Use bottom inset to give the listview space for scrolling all
items into view.
Bug: 132114008
Test: Visual inspection
Change-Id: Ie96d19f187d32d477eaf0515463d1adf335f80ce
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Merged-In: If26d625c4b1e5e8eee54dcdacb32360b0d852829
Change-Id: I36452eb4cfbc1c22533a2168aaa2ee0fad54286c
This patch fetches the USAP pool refill delay value from device_config
instead of hardcoding it.
Bug: 131362095
Test: Build and launch 10+ apps successfully
Change-Id: I244d83a38bde32620bd4bf50e9031c25c6267091
Merged-In: I244d83a38bde32620bd4bf50e9031c25c6267091
(cherry picked from commit 365e50bfa4)
This fields enable us to slice job metrics by bucket and gain insight
to the average time spent executing jobs in each bucket. The metrics
we'll write for this data will help to tune thresholds for throttling
background behavior in Q.
BUG: 132227621
Test: make statsd_testdrive && statsd_testdrive 8
Change-Id: I1af94dc4a8e51f9741f48c817d1d2f99f164858d
This patch adjusts the USAP pool refill mechanism so that it is less
disruptive to launching applications. Refill events are now delayed
by several (3) seconds if delaying wouldn't cause the pool to be below
the minimum population size.
This patch also adjusts the process priorities for the USAPs and other
processes spawned from the Zygote so that they behave better in the
context they are spawned in.
Bug: 131362095
Test: booted & launched apps & checked logs
Change-Id: If26d625c4b1e5e8eee54dcdacb32360b0d852829
Merged-In: If26d625c4b1e5e8eee54dcdacb32360b0d852829
(cherry picked from commit b32150024f)
Or the caller could be waiting too long for a request that has already
failed due to remote process crash.
Bug: 132341999
Bug: 126266412
Test: atest CtsAutoFillServiceTestCases CtsContentCaptureServiceTestCases
Change-Id: I014c8657ce247aed47335afb3144d88a0144e422
Also, allow files to be renamed if they are not in pending state and
trigger a media scan when a new file is created.
Bug: 127844893
Bug: 127802924
Test: manual
Change-Id: I162f1827dacc422bfa33c54904e92a4aecb7747d
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I6c435c2e8443cd7bf5959bfbdfb05f188308d524
Merged-In: Ib8a10d3a9097c1dc4132a71782d622e9e3c3747d