diff options
author | 2022-06-16 06:10:57 +0000 | |
---|---|---|
committer | 2022-08-12 02:31:25 +0000 | |
commit | 7b9a26138feda94191d5d49b0af2abbdd7d2e009 (patch) | |
tree | 0a5c4d1e4d68135db989709a7d6693a5755fcf41 /libs/hwui/SkiaCanvas.cpp | |
parent | 621c7b69460831682749537a1de09c21ec85de56 (diff) |
usb: Don't show the notification when no USB device is connected
Currently, the "Charging connected device via USB" notification appears
and then disappears when a USB device is disconnected. The notification
should not appear when no USB device is connected. This CL prevents
this.
Also prevents the notification from showing up when a mouse is
connected.
Bug: 234548453
Test: Peripheral mode, host mode, and Power/Data role swap
Signed-off-by: Jimmy Hu <hhhuuu@google.com>
Merged-In: Ie4c67c639d8633361e5a3675502283cae4e35bd9
Change-Id: Ie4c67c639d8633361e5a3675502283cae4e35bd9
Diffstat (limited to 'libs/hwui/SkiaCanvas.cpp')
0 files changed, 0 insertions, 0 deletions