Open imachabeich opened 5 years ago
It appears for me, but the function isn't enabled
Yeah, we still need to enable something, as seen here.
I believe the issue lies within the mo1654d
function
this.f9702f.getPackageManager().getPackageInfo(this.f9715s.mo740a(), 0).getLongVersionCode() < this.f9714r
evaluates to True and throws
f9697a.mo1036a(Level.WARNING)).mo1048a("com/google/android/apps/wellbeing/autodnd/impl/AutoDndManagerImpl", "setAutoDndEnabled", 294, "AutoDndManagerImpl.java")).mo1050a("Auto DND is not supported and should not be set as enabled.")
@imachabeich Btw, where are you checking? (You should be checking in System > Gestures
)
Yeah, I checked in System > Gestures and System > Digital Wellbeing.
I have a similar issue too, we're working on it @imachabeich.
https://forum.xda-developers.com/pixel-2-xl/themes/enable-flip-to-shhh-pixel-devices-t3907892 try the apk within my module
@AuroraWright I will check out adding this now.
@AuroraWright it's added in here https://github.com/Magisk-Modules-Repo/Pix3lify/pull/76/commits/eb1d06366b04a167907c0d96ab944d561c06a521.
EDIT: After some testing by @Stallix your port still doesn't work. There may be a kernel side/userspace change necessary for Flipp to Shh to function.
Interesting, the apk does enable the feature on my Pixel 2 but I suppose all Pixels might be predisposed for the feature to be unlocked in the future. The only "unique" thing that Flip to Shhh has (that I can tell) is that it uses the proximity sensor.
@AuroraWright Flip to Shh relies on gyro too IIRC, but also it's possible that it checks for a sysnode of the Pixel's proximity sensors/gyro which are different on other devices.
Describe the bug After installing the module, there is no option to enable this feature.
Expected behavior There should be an option to enable 'Flip to Shhh'.
Smartphone (please complete the following information):