99keshav99 / CaptureSposed

Xposed module that effectively disables the newly introduced screenshot detection API in Android 14
GNU Affero General Public License v3.0
89 stars 5 forks source link

Modify UI to Remove Toggle Switch when Module is Disabled #47

Closed DavidBerdik closed 1 month ago

DavidBerdik commented 1 month ago

The Google Gods demand sacrifice. Their vaguely-written prophecy states that the app does not work properly.

I believe the cause of their anger stems from the fact that when the module is disabled, the switch does not do anything. Since Google's verification process does not include testing of the hooking components, the app appears to be broken.

To work around this, I suggest modifying the UI to not show the switch when the module is disabled, and instead, show a message similar to the following: "CaptureSposed is not enabled. Please enable it in the LSPosed Manager, reboot your device, and try again."

The screenshot detection counter should remain visible at all times, as this component is not dependent on the module being enabled.

99keshav99 commented 1 month ago

The Google Gods demand sacrifice.

And I shall serve.