- Don't try to persist snapshots during window animations. It can
wait and doing it later while decrease the load during window
animations, leading to less jank.
- Lower RT priority to 130 from system_server. It's only used for
background things.
Bug: 37631016
Bug: 36631902
Change-Id: I4fc21b53f257d0194a7f64c3064756ab2426ff17
- Use win.isVisible again to determine top opaque full screen
window. !goneForLayout isn't really correct as windows that are
just about to draw can already influence SystemUI flags
- Don't coalesce messages in CommandQueue. This messes up ordering!
Bad!
Test: Unlock to Settings
Test: Navigate around in settings, make sure no flashes
Test: Cold launch United app
Test: Go to recents <-> settings 10 times
Change-Id: I15d37b35344d955c45591386182c5266bba74f01
Fixes: 37926053
Fixes: 37433095
Fixes: 37923474
Ordering of delivery of package monitoring messages and service
disconnect callbacks is indeterminate, but we need to make decisions
about service disconnect based on the package update state. We
address the race by explicitly deferring our reset/timeout logic by
a short time to allow the package monitor to process any pending
updates on the same looper thread before we take action.
Bug 34356215
Test: manual
Change-Id: Icffedbaf19b8eac8830c22fc05f299eb96b54acd
Remember that we might not be able to resolve historical
widget provider references, so don't access them unchecked.
Test: manual
Change-Id: I01c6c68461b6d15aa8fee402a4bfb0f21bf1ddbb
Logs:
- Smart selection occured
- TextView menu item activated on smart selection
- Smart selection reset
- Smart selection modified
Test: Manually checked logging happens as per go/tron-howto and verified
nothing is broken in related classes by running:
bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
bit FrameworksCoreTests:android.widget.TextViewActivityTest
Bug: 32572232
Change-Id: Ia9081d92ae9aea50d863455be770eecd0c73be1a
These tests runs a command to clear application data and by
doing so causes the application that is being instrumented
to restart, which in turn "am instrument' thinks is an app
crash, thus aborting the rest of the tests.
Bug: 38238448
Change-Id: Ida69b828a9950a83d790a3a7628e32c14a04a772
Test: bit FrameworksCoreTests:android.content.pm.AppCacheTest
Content observer callbacks don't specify the user,
so scan all the users we know about. User switches
will also trigger an update which will explicitly
check the setting for the (now) current user.
Migrate tests to TestableContext to allow the test
to safely override secure settings.
Bug: 36021111
Test: runtest systemui-notification
Change-Id: I588068382912955da114cc351df7a1e7b4f0733f
AAPT dump badging relies on the empty locale being
present when there are no locales.
Bug: 38192121
Test: manual
Change-Id: I2f5c431d4fd07c525a2318e7b93be0e93c32448f
Wakeup animation duration was introduced in one CL, but was not
visible to the other CL, now that both CLs have been merged fix up
the duration.
Fixes: 34716110
Test: Trigger Ambient Display, turn on device, observe that both the clock and panel animation take the same time.
Change-Id: I310ba9c5be2e6ddd4fdf0a793eadb687e100aacd