-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Ambient sense? #3
Comments
The only change that was made to the Ambient Sense APK was to expose some intents in such a way that they could be started w/ |
Did you see any code that would prevent non-pixel devices from using the service? I've got the settings menu working on all devices (had to whitelist it from battery optimizations) but it never actually listens for music |
Oneplus 5 with stock rom (8.0), latest magisk.
and so don't work, even with given permission for mic. |
You should probably update the Ambient Sense app from the Play Store. Please mind that currently the Ambient Sense feature doesn't work yet. |
@denysvitali From what I've found, whitelisting the Ambient Sense app from power optimizations makes the menu appear in settings on non-nexus/pixel devices, however, it seems to be locked down on other devices. Do you you know if it works on Nexus 6P/5X and Pixel 1 devices? I'm still researching how the app blocks non-nexus/pixel devices. |
I've got that menu on a Nexus 6P by using the latest Android build (8.1) and applying this module. |
Ahh, ok. I was looking through the source and found an array of device names that included marlin, sailfish, angler, and bullhead, and thought that it may work on those. Just a fair warning (that you probably know already), SystemUI requires modification for it to show on the lockscreen, but notifications dont, so make sure thats enabled. |
Tbh my goal was to achieve the notification feature first, then work on the lockscreen (which as you said requires a modification on the System UI, precisely on the Ambient Display). |
Hey, just wondering, what all did you change in your custom ambient sense apk? I have all of the SystemUI changes reverse engineered from SystemUIGoogle, but the settings menu is not showing up on devices that arent pixel.
The text was updated successfully, but these errors were encountered: