Turn NightMode into a RRO controlled by prop
diff --git a/NightMode/AndroidManifest.xml b/NightMode/AndroidManifest.xml
index f0cbe4b..1b6b920 100644
--- a/NightMode/AndroidManifest.xml
+++ b/NightMode/AndroidManifest.xml
@@ -3,5 +3,8 @@
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="android"
- android:priority="3"/>
+ android:requiredSystemPropertyName="persist.sys.overlay.nightmode"
+ android:requiredSystemPropertyValue="true"
+ android:priority="3"
+ android:isStatic="true" />
</manifest>