Fix wired charging ripple not showing up in multi-user mode.
Changed the Window type to TYPE_KEYGUARD_DIALOG to make the ripple show up in non-owner user mode. Per android official doc, TYPE_SYSTEM_OVERLAY does not support multiuser -- "In multiuser systems shows only on the owning user's window." It's also deprecated. This matches with the WirelssCharingAnimation Window type. Please find the recording in the bug. Bug: 266112677 Test: Manual & `adb shell cmd statusbar charging-ripple` Change-Id: Ibc73d27d9c7272a4ae5dc4da4e894c020addd1e1
Loading
Please register or sign in to comment