- Jan 09, 2024
-
-
jasonwshsu authored
* Click on notification to bring back a11y floating button * Swipe notification to remove a11y floating button and its services * A11y service key changed to dismiss notification * Align to create ACCESSIBILITY channel in systemui NotificationChannels Bug: 298718415 Flag: ACONFIG com.android.systemui.floating_menu_drag_to_hide DEVELOPMENT Test: atest MenuViewLayerTest MenuNotificationFactoryTest NotificationChannelsTest Change-Id: Ie209ec946ea15903acfa6913492605277e9d7057
-
- Oct 13, 2023
-
-
Nicolò Mazzucato authored
This makes a few changes to make error logging more explicit in case of connected displays. - RequestProcessor now throws a typed exception, so we can avoid catching unrelated errors in TakeScreenshotExecutor - ScreenshotNotificationsController can be created only with a factory, providing a displayId. The display ID is used to append "(External Display)" string for error notifications happening on any display that is not the default one. - There can be a maximum of 2 error notifications: one for the default display (as before), and another that is shown in case of any error in any external display connected. - Error reporting for ScreenshotData processing or ScreenshotController issues has been completely moved to TakeScreenshotExecutor and scoped to display ID. TakeScreenshotService still reports some early failures unrelated to displays. - As we can't specify the displayId in UiEventLogger: if the failure is generic and we reach it from TakescreenshotService, only one SCREENSHOT_REQUESTED_... is reported. However, if the screenshot request reaches TakeScreenshotExecutor, then one event per display will be reported. Test: RequestProcessorTest, TakeScreenshotExecutorTest, TakeScreenshotServiceTest Bug: 296575569 Bug: 290910794 Change-Id: If187e9713b344605466a2dcb78267ededccfcc85
-
- Apr 10, 2023
-
-
Behnam Heydarshahi authored
Send a notification when SoundDose dialog is ignored by user to inform them that the audio was lowered by the system. CsdWarningDialog now uses DelayedExecutor instead of CountDownTimer. Implement tests for CsdWarningDialog and its client. Bug: b/267464531 Test: atest VolumeDialogImplTest CsdWarningDialogTest Change-Id: I9c0ad6b410e0eb009b6a1ea032c7f618a4f4791a
-
- Feb 13, 2023
-
-
Anthony Alridge authored
This will notify the user if phone calls and messages are unavailable. Screenshots in bug Bug: 262720433 Test: Manually tested on Pixel 6a Change-Id: I060c3fa225fe1cf53344d9f8b634e8afbbab468d
-
- Feb 04, 2023
-
-
Avichal Rakesh authored
This CL adds support for UVC gadget function in USB System service. Bug: 242344221 Test: Manually tested that the UVC function can be enabled when needed. API-Coverage-Bug: 267667903 Change-Id: Ifd93f065426a224274ec39f53366dd6e3fee0bfa
-
- Oct 19, 2022
-
-
Yohei Yukawa authored
InputMethodManagerService has had logic to show notifications when the IME switcher icon cannot be shown on NavigationBar[1][2][3][4][5]. With this CL, such a fallback behavior is completely removed. Devices and form-factors that need a special handling need to come up with their own solution rather than relying on this historical notification mechanism. [1]: I2b9e955003c1f6703978824c947d5f322a039714 7cfc0ed2 [2]: Id36c8c34159bea8b72557b40bcf024d401f580b6 01065a57 [3]: I34a95732ef3e7c20d6549b57230c11f0c3db04d6 d4b62599 [4]: I58421143bee25be459f4f744688b37614a750051 f62c0b83 [5]: I6ad818fc9ef08991e24c5020498243f1fc417998 24ab9e18 Bug: 245989733 Test: atest CtsPermission2TestCases:ProtectedBroadcastsTest Test: presubmit Change-Id: I3b09d2b05ba9bde686b360b9f720b5d4258551c3
-
- Sep 28, 2022
-
-
Stephanie Bak authored
Bug: 249590939 Bug: 239983569 Test: atest ServiceBluetoothTests Change-Id: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002 Merged-In: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002 (cherry picked from commit 6a6bfaeb)
-
- Aug 24, 2022
-
-
Stephanie Bak authored
Bug: 239983569 Test: atest com.android.server.wifi Change-Id: I90708ae9b38a40f48fd9003e16c4c45ec71bf53f Merged-In: I1cb0ec847040e47b563b39b622e12c49e41082bc Merged-In: I90708ae9b38a40f48fd9003e16c4c45ec71bf53f
-
Stephanie Bak authored
Bug: 239983569 Test: atest com.android.server.wifi Change-Id: I90708ae9b38a40f48fd9003e16c4c45ec71bf53f Merged-In: I1cb0ec847040e47b563b39b622e12c49e41082bc
-
- Aug 22, 2022
-
-
Stephanie Bak authored
Bug: 239983569 Test: atest ServiceBluetoothTests Change-Id: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002 Merged-In: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002
-
- Aug 18, 2022
-
-
Stephanie Bak authored
Bug: 239983569 Test: atest ServiceBluetoothTests Change-Id: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002 Merged-In: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002
-
- Aug 16, 2022
-
-
Stephanie Bak authored
Bug: 239983569 Test: atest ServiceBluetoothTests Change-Id: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002 Merged-In: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002
-
- Aug 10, 2022
-
-
Stephanie Bak authored
Bug: 239983569 Test: atest ServiceBluetoothTests Change-Id: I109ea5b7703dbffd01b22ed1c8867a8c96b7c002
-
- Jul 22, 2022
-
-
Stephanie Bak authored
Bug: 239983569 Test: atest com.android.server.wifi Change-Id: I1cb0ec847040e47b563b39b622e12c49e41082bc
-
- Apr 14, 2022
-
-
Lucas Silva authored
Bug: 227649823 Test: locally on device Change-Id: I251ab6e25b58b566fc53f0fd5240db49b06c1d97
-
Kedar Chitnis authored
- Add API in IUserManager to allow setting ephemeral user flag - Implement and export this API in UserManagerService and UserManager - Set guest as ephermal by default when createGuest in UserManager is called - Handle guest user switching in UserSwitcherController for the case of dynamic change of ephemeral state - Add persistant notification when in guest mode to indicate - if guest session is new or previously used. - if guest session will be cleared on exit or not - Add buttons in persistant notification to reset or exit guest - Add flags to enable/disable this feature Bug: 214031645 Screenshots: go/ephemeral-guest-b-214031645-ux Test: Manual test using sunfish, atest SystemUITests, atest SettingsRoboTests Relands ag/16545010 after resolving post submit issues Revert "Revert "Guest mode updates to resolve privacy concerns in guest mode"" This reverts commit dd5c4408. Change-Id: I46b8ab527bab8fe665114ed0fffbb06a59d49a77 Merged-In: I46b8ab527bab8fe665114ed0fffbb06a59d49a77
-
- Apr 07, 2022
-
-
Yuri Lin authored
Also changes the SYSTEM_CHANGES notification channel to be IMPORTANCE_DEFAULT (by deprecating the existing, unused one). Bug: 225373531 Test: manual by forcing the notification to show Change-Id: I9743fe08cccbd8b6a9e7b367e32fe3e597b81ec4 Merged-In: I9743fe08cccbd8b6a9e7b367e32fe3e597b81ec4
-
- Apr 06, 2022
-
-
Yuri Lin authored
Also changes the SYSTEM_CHANGES notification channel to be IMPORTANCE_DEFAULT (by deprecating the existing, unused one). Bug: 225373531 Test: manual by forcing the notification to show Change-Id: I9743fe08cccbd8b6a9e7b367e32fe3e597b81ec4
-
- Mar 31, 2022
-
-
Kedar Chitnis authored
- Add API in IUserManager to allow setting ephemeral user flag - Implement and export this API in UserManagerService and UserManager - Set guest as ephermal by default when createGuest in UserManager is called - Handle guest user switching in UserSwitcherController for the case of dynamic change of ephemeral state - Add persistant notification when in guest mode to indicate - if guest session is new or previously used. - if guest session will be cleared on exit or not - Add buttons in persistant notification to reset or exit guest - Add flags to enable/disable this feature Bug: 214031645 Screenshots: go/ephemeral-guest-b-214031645-ux Test: Manual test using sunfish, atest SystemUITests, atest SettingsRoboTests Relands ag/16545010 after resolving post submit issues Revert "Revert "Guest mode updates to resolve privacy concerns in guest mode"" This reverts commit dd5c4408. Change-Id: I46b8ab527bab8fe665114ed0fffbb06a59d49a77
-
- Mar 24, 2022
-
-
Kedar Chitnis authored
Revert "Guest mode UX flow updates to user settings" Revert submission 16545010-kedarc-ephemeral-guest Reason for revert: A conflicting CL got merged after presubmits were triggerred, will rebase and push again Reverted Changes: I86a5a1571:Guest mode updates to resolve privacy concerns in ... I7cf205883:Guest mode UX flow updates to user settings Change-Id: I91093a241f31a82f427be24d03e6c922779ceed0
-
Kedar Chitnis authored
- Add API in IUserManager to allow setting ephemeral user flag - Implement and export this API in UserManagerService and UserManager - Set guest as ephermal by default when createGuest in UserManager is called - Handle guest user switching in UserSwitcherController for the case of dynamic change of ephemeral state - Add persistant notification when in guest mode to indicate - if guest session is new or previously used. - if guest session will be cleared on exit or not - Add buttons in persistant notification to reset or exit guest - Add flags to enable/disable this feature Bug: 214031645 Screenshots: go/ephemeral-guest-b-214031645-ux Test: Manual test using sunfish, atest SystemUITests, atest SettingsRoboTests Change-Id: I86a5a15715cc6dde0eae93d38cd1c5cef33d7c67
-
- Jan 25, 2022
-
-
Jing Ji authored
Tapping on the notification will bring up the individual abusive app's battery settings page. It won't be re-posted after being dismissed until next day, in order to avoid from spamming the user. Bug: 200326767 Bug: 203105544 Test: FrameworksMockingServicesTests:BackgroundRestrictionTest Test: Manual - adb shell am set-bg-abusive-uids & verify notification Change-Id: I0b30014d748863c66c3845b5f310948a9493e302
-
- Jan 24, 2022
-
-
Florian Mayer authored
ro.arm64.memtag.bootctl_supported can be set by OEMs that do not want to enable MTE by default yet but want to offer users a preview that can be enabled in the Developer Options. This developer option will reboot the phone and enable MTE. In that case we want to show a notification to make sure the user does not forget that it is enabled. Bug: 206895651 Change-Id: Iaebc16d4b8d0da302f18709e23062f4a5bd58fe3
-
- Jan 14, 2022
-
-
Xiaowen Lei authored
Test: atest NudgeToSetupDreamCallbackTest Test: flash device and check manually Bug: 213368707 Change-Id: Idb5837bf5b84eb4549bbe8bfc764e5bdca0f5bc2
-
- Jan 06, 2022
-
-
Jimmy Chen authored
Bug: 196180536 Test: atest FrameworksWifiApiTests Change-Id: I7e5682b008d0b378a9098b182b4a5178ce427942
-
- Jul 08, 2021
-
-
Evan Severson authored
Test: Build and try notifications Fixes: 192059115 Change-Id: I328ef6b1649b8930df4ed81393a0352317d360da
-
- Apr 09, 2021
-
-
Chloris Kuo authored
Change default NAS to AiAi for Pixel devices Bug: 173106358 Test: manually on device, atest Change-Id: I2fe0b3eed479188509df5ce65d1b2a1281e6c85a
-
- Mar 18, 2021
-
-
lucychang authored
Prompts a notification for the non-accessibility category service after 24 hours enabled to alert users the service has powerful permissions to view and control the device. And the notification won't be resend to the same service by saving the dismiss record to Settings. Bug: 176965357 Test: atest AccessibilitySecurityPolicyTest atest PolicyWarningUIControllerTest and manually test Change-Id: Id5daf7b14dc88cf3f71a53f46fa9a8f1dee91822
-
- Jan 29, 2021
-
-
Nate Jiang authored
Bug: 178658577 Test: build Change-Id: Iee270f957d14e4d147c5c849b3985c44b6982b1d
-
- Nov 12, 2020
-
-
ryanlwlin authored
The magnification mode is full-screen when the migrating deivce turns on magnification settings. We show a notification prompt the user that new window magnifier to guide the user to take a look. Bug: 168635084 Test: 1. adb shell settings put secure \ accessibility_show_window_magnification_prompt 1 2. use full-screen magnification to see if it works well. atest WindowMagnificationPromptControllerTest atest FullScreenMagnificationGestureHandlerTest Change-Id: I40dfc49307d2dad380f1e662960d35f5cc5e7524
-
- Sep 30, 2020
-
-
Hui Yu authored
Previously each BG-launch FGS that is restricted has a logcat message, now we also display a notification that has: Title: "Foreground Service BG-Launch Restricted" Content: "App restricted:" + app package name Detail: intent of the FGS. Use following command to turn on the FGS BG-launch restriction feature: adb shell device_config put activity_manager default_fgs_starts_restriction_enabled true adb shell device_config get activity_manager default_fgs_starts_restriction_enabled Bug: 157473819 Test: Observe the notification when FGS BG-launch is restricted. atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testFgsStartFromBG Change-Id: Ia1ce1c7e103fbfa0a8487b0a3009b2d2ca61ba74
-
- Apr 16, 2020
-
-
Soonil Nagarkar authored
Bug: 153651821 Test: manual Change-Id: I9816555be467d22eba65778a48899144bdad8436
-
- Feb 28, 2020
-
-
Hui Yu authored
Bug: 136219221 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerApi29Test.java Change-Id: I996abab1c7032e5247883f3b06ba2bd82c425007
-
- Feb 22, 2020
-
-
Joshua Duong authored
This CL has a couple of notable changes: - Add communication layer between adbd, system server, and Settings UI - Add system notification (Wireless debugging connected) when at least one device is connected. - Add trusted networks (BSSID) to the keystore. - Changed the keystore format to: <keyStore version="1"> <adbKey ... /> <wifiAP ... /> </keyStore> - Currently, trusted networks don't have a expiration time. Also, only way to clear it is by blowing up the keystore (revoke permissions). - Add pairing mechanism: - Using libadbwifi_pairing_connection C++ library to pair a device using SPAKE2 protocol over TLS. - Register MDNS service for client discovery. - Removed ability to ctl.start/stop adbd from UsbDeviceManager - AdbService now controls when to do this Bug: 111434128, 119490154, 119492574 Test: Manual. From developer options: 1) USB debugging off, WiFi Debugging off - Ensure both transports are disabled by trying to connect via WiFi and USB. 2) USB debugging on, WiFi Debugging off - Connections via USB are available, WiFi is disabled 3) USB debugging off, WiFi Debugging on - Connections via WiFi are available (IP + port), USB is not available 4) USB debugging on, WiFi Debugging on - Check both transports work Change-Id: I9f87679d195da99a55b6faf7131da1f1af65fe01 Exempt-From-Owner-Approval: approved in aosp master (cherry picked from commit a5969b5a)
-
Joshua Duong authored
This CL has a couple of notable changes: - Add communication layer between adbd, system server, and Settings UI - Add system notification (Wireless debugging connected) when at least one device is connected. - Add trusted networks (BSSID) to the keystore. - Changed the keystore format to: <keyStore version="1"> <adbKey ... /> <wifiAP ... /> </keyStore> - Currently, trusted networks don't have a expiration time. Also, only way to clear it is by blowing up the keystore (revoke permissions). - Add pairing mechanism: - Using libadbwifi_pairing_connection C++ library to pair a device using SPAKE2 protocol over TLS. - Register MDNS service for client discovery. - Removed ability to ctl.start/stop adbd from UsbDeviceManager - AdbService now controls when to do this Bug: 111434128, 119490154, 119492574 Test: Manual. From developer options: 1) USB debugging off, WiFi Debugging off - Ensure both transports are disabled by trying to connect via WiFi and USB. 2) USB debugging on, WiFi Debugging off - Connections via USB are available, WiFi is disabled 3) USB debugging off, WiFi Debugging on - Connections via WiFi are available (IP + port), USB is not available 4) USB debugging on, WiFi Debugging on - Check both transports work Change-Id: I9f87679d195da99a55b6faf7131da1f1af65fe01 Exempt-From-Owner-Approval: approved in aosp master (cherry picked from commit a5969b5a)
-
Joshua Duong authored
This CL has a couple of notable changes: - Add communication layer between adbd, system server, and Settings UI - Add system notification (Wireless debugging connected) when at least one device is connected. - Add trusted networks (BSSID) to the keystore. - Changed the keystore format to: <keyStore version="1"> <adbKey ... /> <wifiAP ... /> </keyStore> - Currently, trusted networks don't have a expiration time. Also, only way to clear it is by blowing up the keystore (revoke permissions). - Add pairing mechanism: - Using libadbwifi_pairing_connection C++ library to pair a device using SPAKE2 protocol over TLS. - Register MDNS service for client discovery. - Removed ability to ctl.start/stop adbd from UsbDeviceManager - AdbService now controls when to do this Bug: 111434128, 119490154, 119492574 Test: Manual. From developer options: 1) USB debugging off, WiFi Debugging off - Ensure both transports are disabled by trying to connect via WiFi and USB. 2) USB debugging on, WiFi Debugging off - Connections via USB are available, WiFi is disabled 3) USB debugging off, WiFi Debugging on - Connections via WiFi are available (IP + port), USB is not available 4) USB debugging on, WiFi Debugging on - Check both transports work Change-Id: I9f87679d195da99a55b6faf7131da1f1af65fe01 Merged-In: I9f87679d195da99a55b6faf7131da1f1af65fe01 Exempt-From-Owner-Approval: already approved
-
- Feb 21, 2020
-
-
Joshua Duong authored
This CL has a couple of notable changes: - Add communication layer between adbd, system server, and Settings UI - Add system notification (Wireless debugging connected) when at least one device is connected. - Add trusted networks (BSSID) to the keystore. - Changed the keystore format to: <keyStore version="1"> <adbKey ... /> <wifiAP ... /> </keyStore> - Currently, trusted networks don't have a expiration time. Also, only way to clear it is by blowing up the keystore (revoke permissions). - Add pairing mechanism: - Using libadbwifi_pairing_connection C++ library to pair a device using SPAKE2 protocol over TLS. - Register MDNS service for client discovery. - Removed ability to ctl.start/stop adbd from UsbDeviceManager - AdbService now controls when to do this Bug: 111434128, 119490154, 119492574 Test: Manual. From developer options: 1) USB debugging off, WiFi Debugging off - Ensure both transports are disabled by trying to connect via WiFi and USB. 2) USB debugging on, WiFi Debugging off - Connections via USB are available, WiFi is disabled 3) USB debugging off, WiFi Debugging on - Connections via WiFi are available (IP + port), USB is not available 4) USB debugging on, WiFi Debugging on - Check both transports work Change-Id: I9f87679d195da99a55b6faf7131da1f1af65fe01 Exempt-From-Owner-Approval: approved in aosp master
-
- Feb 20, 2020
-
-
Hui Yu authored
Change from showing a toast to a notification. Bug: 136219221 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerApi29Test.java to trigger the notification. Change-Id: If22a72fb5a70b14d0b424fbcfe6d1e5c70f2a34d
-
- Feb 13, 2020
-
-
Kumar Anand authored
Framework needs to launch a notification when wifi is disconnected due to SIM removal Bug: 147113247 Test: atest FrameworksWifiTests Change-Id: I4901eda93ec46e577a8d947736b9f6a7b2f70f68
-
- Feb 06, 2020
-
-
Soonil Nagarkar authored
Check target SDKs to disallow using setSecureSetting with LOCATION_MODE and point clients to setLocationEnabled() instead. Show notifications to users when location settings are changed by the admin. Bug: 136219903 Test: manual - triggered setLocationEnabled and observed notification Change-Id: I07c150e62230b06f76ec7bd5197a23e703ffb918
-