KieronQuinn / AmbientMusicMod

Port of Now Playing from Pixels to other Android devices
GNU General Public License v3.0
1.87k stars 41 forks source link

Now Playing doesn't show on lock screen #166

Closed TheGreenOak closed 1 year ago

TheGreenOak commented 1 year ago

I'm using S23 Ultra (not rooted) One UI 5.1 April 1st version. I've tried everything and Now Playing doesn't show on the lock screen. Any idea how to make it work?

KieronQuinn commented 1 year ago

Have you got Adaptive Lock Screen Overlay enabled? You may need to disable it on that device.

TheGreenOak commented 1 year ago

Adaptive Lock Screen Overlay is disabled, tried toggling it on and off and it did nothing.

HaleTom commented 1 year ago

Same issue on MIUI 13.0.10 on Xiaomi 10T Pro. Thanks for raising @TheGreenOak

mjain234 commented 1 year ago

Same is happening with me. You can see here. Don't know how it suddenly stopped working.

KieronQuinn commented 1 year ago

I improved the lock screen detection logic in 2.2, which should hopefully fix this. I'm also suspicious that it might be related to #157, potentially the Accessibility Service might not be enabled as it should be.

After updating, enable the Lock Screen option, disable Adaptive Lock Screen Overlay and see if it works. If it does not, enable the Verbose Logging option in Settings > Advanced and verify that the SystemUI Package that is now listed on the Lock Screen settings page matches that for your device (some OEMs use custom ones). If it does, unfortunately I don't think there's anything I can do. If it does not, let me know and I'll reopen.

mjain234 commented 1 year ago

Does now playing disappear from lock screen if there is no wifi/data connection? And comes back if detects any wifi/data connection? As you can see here now playing wasn't here on lock screen because I have switched off my wifi and data before, then after switching wifi/data on, now playing still doesn't come back. I have to disable and then enable the accessibility to show it back on the lock screen.

KieronQuinn commented 1 year ago

Does now playing disappear from lock screen if there is no wifi/data connection? And comes back if detects any wifi/data connection? As you can see here now playing wasn't here on lock screen because I have switched off my wifi and data before, then after switching wifi/data on, now playing still doesn't come back. I have to disable and then enable the accessibility to show it back on the lock screen.

Your video shows it on the lock screen both before and after you disable/re-enable accessibility.