summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src
AgeCommit message (Collapse)Author
2021-03-08[Telephony] Use TelephonyCallback instead of PhoneStateListener part1Zoey Chen
Since the redesign of PhoneStateListener, use TelephonyCallback to get the callback of EVENT_* Bug: 167684594 Test: make Change-Id: Ia3b777b12142b104b5798804f50b34748f9bf28c Merged-In: Ia3b777b12142b104b5798804f50b34748f9bf28c
2021-03-04Merge "Use public API Network#getNetId() to get netid"Lucas Lin
2021-03-03Use public API Network#getNetId() to get netidlucaslin
Network class will be a part of mainline module, external callers cannot call its hidden constant. Use public API - getNetId() to get netid instead. Bug: 172183305 Test: atest FrameworksNetTests Change-Id: I8d0924e4a1dab673a2693a8ae872d2e79e22cfe6
2021-02-24Merge "Add OWNERS for long screenshots framework code" am: 79bed70aa2Jeff Sharkey
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1600453 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I916187da222fa9e100d9beb67866427b10481900
2021-02-24Merge "Add OWNERS for long screenshots framework code"Jeff Sharkey
2021-02-24Merge "Release virtual display before stopping projection" am: 2bd3073819Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1585286 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I36b1adc30f515e5a699cfd433d44921667c1a353
2021-02-22Add OWNERS for long screenshots framework codeMark Renouf
Change-Id: If7680b6d2124c63aa29421d5c2b717db8e5cbf1a
2021-02-22Merge "Release virtual display before stopping projection"Treehugger Robot
2021-02-21Merge ab/7061308 into stage.Xin Li
Bug: 180401296 Merged-In: I4bf82035631ccff6d5a6144d6d9b1d203b076851 Change-Id: I1b5f3a672a55eaabba0f5389bab110b395553559
2021-02-17Hide keyguard when SIM transitions to READYMichele Berionne
The keyguard is not properly updated when the SIM PIN verification is performed using different means than the UI. Additional states are used before READY, so simWasLocked might be false. Bug: 160784387 Test: manual Change-Id: Ibca04e3d6a61c27d4b40f94a8a6223d9739b15ac Merged-In: Ibca04e3d6a61c27d4b40f94a8a6223d9739b15ac (cherry picked from commit d12075a9493b3840d809eaf882729f67eda6e398)
2021-02-11Release virtual display before stopping projectionBeth Thibodeau
As described in b/140399127, if the media projection is stopped first, the virtual display will not get released. So we need to release the display first and stop projection after that. Bug: 174800535 Bug: 179931688 Test: 'Recording Display' no longer appears in dumpsys after ending a screen recording Change-Id: I8775068677b3ea5d0836a64579b0539e2e1aafae
2021-02-09Switch SystemUI from IConnectivityManager to VpnManager.Lorenzo Colitti
The VPN code is moving out of ConnectivityService to a new VpnManagerService. Update SystemUI to call into the new service. Bug: 173331190 Test: manually verified key displayed in status bar when VPN comes up Change-Id: Id2731a166b5d6783acb1c711a54604b69aa8c0d7
2021-01-25Merge changes from topic "revert-1510032-atv-rro-ZVBUWAKVPO"Robin Lee
* changes: Revert "Move device/google/atv overlays into SystemUI" Revert "Move keyguard enabled to Component Override"
2021-01-25Revert "Move keyguard enabled to Component Override"Robin Lee
Revert "Remove device/google/atv/overlay" Revert "Remove device/google/atv overlay from RRO exclusion" Revert submission 1510032-atv-rro Reason for revert: b/178396156 Reverted Changes: If9a99f850:Move keyguard enabled to Component Override I1b0056b50:Make device/google/atv compatible with RRO If766a0152:Remove device/google/atv overlay from RRO exclusio... I9df2747d9:Remove device/google/atv/overlay If689c72c2:Move device/google/atv overlays into SystemUI Change-Id: I05f42caf8614c2c19ba5a33ec965843cc37cde98
2021-01-25Merge changes from topic "atv-rro"Robin Lee
* changes: Move keyguard enabled to Component Override Move device/google/atv overlays into SystemUI
2021-01-21Remove duplicate importutzcoz
Test: m Change-Id: Ia6adcf39af0eeebbeef17069d8b3d74eae542bd4 Signed-off-by: utzcoz <utzcoz@gmail.com>
2021-01-15Fix test breakage caused by adding new capability by defaultjunyulai
Currently, SecurityControllerImpl listen to all network changes. However, the default capabilities are removed one by one manually. This might be problematic when a new default capability is introduced. Thus, calling clearCapabilities instead. Test: atest SystemUITests:com.android.systemui.statusbar.policy.SecurityControllerTest#testNetworkRequest Test: atest FrameworksNetTests NetworkStackTests TetheringTests SystemUITests Test: atest CtsNetTestCases Bug: 177411288 Bug: 175662146 Change-Id: Ic5741bc4125369c4a0a03a455447e44058a93aac
2021-01-05Merge RQ1A.210105.003 to aosp-master - DO NOT MERGEBill Yi
Merged-In: I034d45f1afcdd07c0b12e2db7e4134b695ec5c70 Change-Id: I329407db7c9ed7d2b512e505df6e50c4f471fafa
2020-12-21MediaRouterService binds services when necessary am: 56bc779553Kyunglyul Hyun
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13224013 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I657a04858f8a7e0d181bb8bf667d00f6e311e178
2020-12-21MediaRouterService binds services when necessaryKyunglyul Hyun
MediaRouterService maintained bindings to provider services once those are established. With this CL, it only binds services when there is a non-empty discovery preference set by a foreground app or an app is casting. This change may break output switcher, which enables transfer media of background apps. To alleviate that MediaRouter2Manager#startScan and #stopScan are added so that system UI can force the service bind to the services and find remote devices to cast. Bug: 169575701 Bug: 172920557 Test: manually and CTS Change-Id: I4a47fdb1c9fe05a04d26950485833c9cbfb91a69 (cherry picked from commit 9f889ca4e62044900004cb7ce4e85415d2b019e2) (cherry picked from commit 602b168f99b00c037191234a85190d845680aa64)
2020-12-17Merge "Adding logging for the ML mBack gesture model." into rvc-qpr-dev am: ↵Winson Chung
0b44441e7c Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13238787 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib7fc9cb9473594e933d59625b7ebca69d4205bfd
2020-12-16Adding logging for the ML mBack gesture model.Maryam Karimzadehgan
Test: manual on device Bug:150170384 Change-Id: Id6e71b806db3e7cc8bf0b98321c561a5d2e8fbca Merged-In: Id6e71b806db3e7cc8bf0b98321c561a5d2e8fbca (cherry picked from commit 6f83f477b9b44a4511f0bc817233a23b76be3654)
2020-12-10Migrate media output switcher metrics - 2/nRobert Luo
Bug: 172181610 Test: (1) run statsd_testdrive 277, and check the metric output correctness after content switching. (2) run statsd_testdrive 90, and check the metric output correctness after launching the output dialog via Sound Setting / Volume Rocker / Media Object Chip. (3) atest MediaOutputControllerTest (4) atest MediaOutputDialogTest (5) atest MediaOutputBaseDialogTest Change-Id: I0fea0c59afcb44fc1d22920036107524f221a7be Merged-In: I0fea0c59afcb44fc1d22920036107524f221a7be
2020-12-09Migrate media output switcher metrics - 1/nRobert Luo
Bug: 172181610 Test: (1) run statsd_testdrive 277, and check the metric output correctness after content switching. (2) run statsd_testdrive 90, and check the metric output correctness after launching the output dialog via Sound Setting / Volume Rocker / Media Object Chip. (3) atest MediaOutputControllerTest (4) atest MediaOutputDialogTest (5) atest MediaOutputBaseDialogTest Change-Id: I4094a510b5483a456522da9d0d8a6eee1526f687 Merged-In: I0fea0c59afcb44fc1d22920036107524f221a7be
2020-12-08Merge changes from topic "media_output_dialog" into rvc-qpr-dev am: 7de579f1cetim peng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13104443 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic7e7d3fa26ec863da2cd05800062871685b83c55
2020-12-08Add dynamic item in output switcher if it is available am: c3447450d4timhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13118158 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia8645519a9c060c62d411522156648ad02303771
2020-12-08Fix NPE when notification icon is empty am: 083c989950timhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13118157 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I9655067ea1343dbcab3e1410a171fae5df6ab4de
2020-12-08Fix output switcher didn't show album art am: c2dd442973Hugh Chen
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13118156 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8c65d2bcaa7b2bf37f65a213d0bbf0e2c8c7a00f
2020-12-08Add dynamic group operation in output switcher am: 634abfaf9ctimhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109615 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Idb3f5fa00bded0188853bd8c54a9677da6aa050b
2020-12-08Enhancement for group operation in output switcher am: 3de24ae2c5timhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109614 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I0acd4e4b65253fe376103ec11b736099c93ab4e6
2020-12-08Add dismiss timing for Media Output Dialog am: 07e1fa7bcctimhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109613 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I097e8560b8be80fafe0b6efa9b9e482a59924a52
2020-12-08Update OutputSwitcher from SettingsPanel to MediaOutputDialog in SystemUI ↵timhypeng
am: 29ae958b76 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109612 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id752aba25eaf1428dec5e8316e17a1cb1c3d7f20
2020-12-08Add animation when switching output device am: 411e7a5b7ctimhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109610 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I700cb5a98db53b4028c3c5a930dfdc1f1298a399
2020-12-08Add dismiss intent and method for MediaOutputDialog am: 1747dbbc40timhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109609 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1529574d17cb54175be8ddad2217f520de191d0b
2020-12-08Add "Stop" button for remote device am: 5fc4c2883dtimhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109608 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I139a01e203546ec1bfcbc6077445a24779ae4fb1
2020-12-08Rename MediaOutDialogReceiver to MediaOutputDialogReceiver am: 34f4c21fd3timhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109606 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2a8b22f3e8469cb01b9d365947136a079cb301d7
2020-12-08Add a receiver to launch Output Switcher dialog am: 80a46198fctimhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109540 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I6b8012623e94e2c9e668ffee4c0cb1bd8815675c
2020-12-08Add MediaOutputDialogFactory to create MediaOutputDialog am: 03e5417ec4timhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109604 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I470fee6a96bf69f13b10dc06819c11b45bc79a86
2020-12-08Add Media Output Dialog for Output Switcher am: 3e5de04302timhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109603 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Iec4be1ac2a277b556c26548e152f4a9b705e14a7
2020-12-08Add controller for Media operation am: c23f9171cetimhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109602 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I4e059153b87530412d1143a58a4a6791d3356944
2020-12-08Add MediaOutputAdapter for Media device list am: d04087aff3timhypeng
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13109601 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8714d906a5bc77fe55731ad61aeed7ceeb79f13a
2020-12-08Merge changes from topic "media_output_dialog" into rvc-qpr-devtim peng
* changes: Apply animation for Media Ouput Switcher dialog Add dynamic item in output switcher if it is available Fix NPE when notification icon is empty Fix output switcher didn't show album art Add dynamic group operation in output switcher Enhancement for group operation in output switcher Add dismiss timing for Media Output Dialog Update OutputSwitcher from SettingsPanel to MediaOutputDialog in SystemUI Add constant for dismiss Settings panel Add animation when switching output device Add dismiss intent and method for MediaOutputDialog Add "Stop" button for remote device Add constant for dialog dismiss Rename MediaOutDialogReceiver to MediaOutputDialogReceiver Add getFeatures() for get device supporting features Add a receiver to launch Output Switcher dialog Add MediaOutputDialogFactory to create MediaOutputDialog Add Media Output Dialog for Output Switcher Add controller for Media operation Add MediaOutputAdapter for Media device list Define strings for output switcher dialog in SystemUI Add image utility methods
2020-12-07Make AOD battery text field support BatteryDefender am: 30f92a367dWesley.CW Wang
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13090497 Change-Id: I1a8d82200b1dfccbf36adab91450cf7245df6c02
2020-12-07Make AOD battery text field support BatteryDefenderWesley.CW Wang
- Add overheat flag into BatteryStatus - Update AOD battery indication to support new state when BatteryDefender is enable Screenshot: https://screenshot.googleplex.com/BYyUYS7VGtyG3i7.png Bug: 173080412 Test: atest SystemUITests:com.android.systemui.statusbar.KeyguardIndicationControllerTest Merged-In: I74f32136ba034d2dea19f71e1e7cecc022cd9fa9 Change-Id: I9aee4e6408d762639818e7aac42a781f12cd69ff
2020-12-07DO NOT MERGE - Merge RQ1A.201205.011Xin Li
Bug: 172690556 Merged-In: I26bed08456197721d07f2fab563be0c54e43efd2 Change-Id: Ic1ac100efa50687ccfcbb87ee91a57703105afad
2020-12-03Merge "Do not allow non-system dialogs on UsbConfirmAct" into rvc-qpr-dev ↵TreeHugger Robot
am: 2a3a3a1de8 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13146867 Change-Id: Ia0f3dcd128b4b53a23fd700aebb81ae7fe46919d
2020-12-03Do not allow non-system dialogs on UsbConfirmActBeverly
Test: manual Bug: 173421110 Change-Id: Icc81a8bf4d85969756a002ee7880cc6c81ecd7a1
2020-12-02Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855Xin Li
Bug: 172690556 Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6 Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-12-02Apply animation for Media Ouput Switcher dialogtimhypeng
-Inherit InputMethod animation and create MediaOutputDialog animation Bug: 155822415 Test: manual test Merged-In: I42506f065da687c4ba6ddadca0f3b7a1c55f1be7 Change-Id: I42506f065da687c4ba6ddadca0f3b7a1c55f1be7
2020-12-02Add dynamic item in output switcher if it is availabletimhypeng
-Add extra item for dynamic group if getSelectedMediaDevice() > 1 -Move common method to base class Bug: 171455839 Test: atest MediaOutputAdapterTest MediaOutputControllerTest MediaOutputBaseDialogTest MediaOutputDialogTest MediaOutputGroupAdapterTest MediaOutputGroupDialogTest Merged-In: I5990df864cb7c5795e2d1a1cd404807d265b4cc3 Change-Id: I5990df864cb7c5795e2d1a1cd404807d265b4cc3