Symptom:
StatementService was crashed due to the exception;
"java.lang.IllegalStateException: cache is closed"
Root cause:
The http cache is deleted at DirectStatementService#onDestroy
in main thread. If a worker thread is still alive and it tries to
access the cache, it fails with IllegalStateException.
Solution:
The request of deleting a cache was moved from the main thread to
worker. Now, the cache can be deleted safely.
Cherrypick from AOSP master.
Bug: 73911877
Test: manual
Change-Id: I61f4e62b00e35f4a272ef983758e61ef3bf2d180
Merged-In: I61f4e62b00e35f4a272ef983758e61ef3bf2d180
Bug: 69840796
Test: manual
created a small app that brings up the captive portal app,
checked that pulling down does show the refresh spinner,
refresh the page, and hide the spinner when refreshed.
Checked that it works multiple times in a row.
Change-Id: Ieefdaffa9325b0c5f1b02ab6052c29a381f3a4d4
More obvious animation where bouncer position is influenced
by touches.
Test: Pull up bouncer, press back button
Test: Pull up bouncer, unlock with fp
Test: Unlock with fp with bouncer hidden
Test: Unlock with SmartLock
Test: Ask for auth on top of FLAG_SHOW_WHEN_LOCKED activity, press back
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Fixes: 3699775
Change-Id: I016dfa17f17571261691669c82385d2d844c5917
Alarm text would go away until a restart. Turned out that we were
incorrectly making the view invisible immediately after animating it in
because the listener persisted on the ViewPropertyAnimator (single
instance per View).
Test: Visually using repro steps
Bug: 74359491
Change-Id: I2e0b8a9f4b767450df72f7ea7953f4ed75ae8f4c
Made it a little easier to read onLayout/onMeasure. Separating this from
landscape CL just to keep a minor cleanup separate.
Bug: 73808887
Test: Visually
Change-Id: I817d6c92cda37ee0d99cd20ace06959a3bdc608d
For animations required by Recents, we calculate whether the task is
going to be presented in Recents UI.
Bug: 70789568
Test: Manual: swipe a normal app to Recents; swipe an app with a
half-screen assistant on top of it to Recents.
Change-Id: I1ec9c36865dd4f57e843ae58811f90f3096365a5
Updating the secondary text to show a different message when data saver
is enabled (to explain to the user why they can't toggle the tile).
Also collapsed double ternary to make it a bit easier to read.
Test: Visually
Bug: 33003328
Change-Id: I8a98f95c60ec9dcbe5899e87e29759e8d377b106
This moved as part of e94ca6676f8f845741369d4967255f642a4cefbb.
Bug: 74390715
Test: none
Exempt-From-Owner-Approval: build fix of support library folder reference
Change-Id: I4109ef44748deb03a91e372b40b85d025f0d2765
Offer a 'minimize' option instead.
Also I'm changing the guts, do a little layout
cleanup in the confirmation dialog.
Change-Id: I9f2ef824d1f322752bc4161356f16a5dae166caf
Fixes: 73898083
Fixes: 73657862
Fixes: 73657452
Test: runtest systemui-notification
Instead of showing the type in the top left corner of the signal.
- Add new status bar mobile data indicator assets
- Remove unused qs/status bar mobile data indicator assets
Bug: 72540392
Test: visual using demo mode
Change-Id: Ic63ad3307daabf2e0f023308b7e0682dbd29f1ca
- Change mobile data tile to a static icon with mobile data indicators
- Add the status bar mobile network signal icon to QS footer
- Show SIM status in the carrier text in the QS footer only if the
status is not simply "No SIM card" since that status is shown in the
secondary text of the mobile data tile
Bug: 72540392
Test: visual && runtest systemui
Change-Id: I6fee19887decf68db5084edc8c0e2d23bb1938d1
- When bound to the overview service, trim the entire cache in the SysUI
recents cache. This is only useful until we remove the recents code
in SysUI entired.
Bug: 74198066
Test: Manual, dump hprof and ensure no references to thumbnails
Change-Id: I694c917f2ed2b84c842c2815c4071947437446ed
Added a tick vibration for down and up (after 150ms delay) over back and
home button. Vibration on touch down covers the entire bar.
Fixes: 73942704
Test: tap nav bar or tap home button
Change-Id: Ib53c3667cbdf61a502bab53d98a2874a511acb3f
- Update data content description for the mobile data tile to include no
internet connectivity
- Update strings for telephony icons to show that they are no longer
only used for accessibility purposes
Bug: 74192657
Test: runtest systemui
Change-Id: I95f36e871dedfc9caea53326e8ee198f141fb8a8
PhoneStatusBarView: update correctly on rotation
VolumeUI: properly place window instead of accounting for bars and letterbox
PhoneWindowManager: remove special policy for TYPE_VOLUME_OVERLAY
GlobalActions: Adjust for removal of special policy for volume overlays
Bug: 74195186
Test: Use VolumeUI, GlobalActions, Keyguard and Status bar in all kinds of orientations and cutout configurations
Change-Id: I72281cee202fea0a69766ff0d58ea55dcb5a36e1
Use colorError for the plus symbol (when in status bar) and always draw
the fill as colorError when below 15%
Test: turn on systemUI demo mode
adb shell am broadcast -a "com.android.systemui.demo" -e command battery -e plugged false
adb shell am broadcast -a "com.android.systemui.demo" -e command battery -e powersave true
# verify that the plus sign is red
adb shell am broadcast -a "com.android.systemui.demo" -e command battery -e level 15
# verify that the fill color is red and the plus stays red
Change-Id: I9898c3d56372bad822aeff021a470958ed3908a6
Fixes: 71873178