Realme: 8 5G: fixup overlays not getting enabled

regex parser for Android Manifests don't fully comply to the spec.
see: https://developer.android.com/reference/android/os/PatternMatcher.html#PATTERN_SIMPLE_GLOB

Test: build overlays, install and check output of `cmd overlay list`

Signed-off-by: Bharat Dev Burman <bharat.singh7924@gmail.com>
This commit is contained in:
Bharat Dev Burman 2022-07-15 13:09:17 +05:30
parent 5e7e549d47
commit bc43f62621
No known key found for this signature in database
GPG key ID: BD4052C1E3E3968C
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.realme.85g.systemui"
package="me.phh.treble.overlay.realme.r8_5g.systemui"
android:versionCode="1"
android:versionName="1.0">
<overlay android:targetPackage="com.android.systemui"
android:requiredSystemPropertyName="ro.build.overlay.deviceid"
android:requiredSystemPropertyValue="+RMX324(1|2)"
android:requiredSystemPropertyValue="+[RMX324](1|2)"
android:priority="336"
android:isStatic="true" />
</manifest>

View file

@ -5,5 +5,5 @@
android:priority="261"
android:targetPackage="android"
android:requiredSystemPropertyName="ro.boot.prjname"
android:requiredSystemPropertyValue="(132863|133013)" />
android:requiredSystemPropertyValue="+(132863|133013)" />
</manifest>