0
0
mirror of https://github.com/markusfisch/BinaryEye.git synced 2024-09-19 19:42:18 +02:00

Fix Xiaomi MIUI lockscreen barcode shortcut

This commit is contained in:
Markus Fisch 2023-11-15 22:07:50 +01:00
parent 464279807c
commit f5bc6f664f
2 changed files with 9 additions and 2 deletions

View File

@ -33,6 +33,11 @@ testurl:
-c android.intent.category.BROWSABLE \ -c android.intent.category.BROWSABLE \
-d 'http://markusfisch.de/BinaryEye?ret=http%3A%2F%2Fmarkusfisch.de%2F%3Fresult%3D{RESULT}' -d 'http://markusfisch.de/BinaryEye?ret=http%3A%2F%2Fmarkusfisch.de%2F%3Fresult%3D{RESULT}'
testxiaomi:
adb shell am start -a android.intent.action.VIEW \
-c android.intent.category.BROWSABLE \
-d 'market://details?id=com.xiaomi.scanner'
install: install:
adb $(TARGET) install -r app/build/outputs/apk/debug/app-debug.apk adb $(TARGET) install -r app/build/outputs/apk/debug/app-debug.apk

View File

@ -69,9 +69,11 @@
<category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.DEFAULT"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="com.xiaomi.scanner"/> <action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="market"/> <category android:name="android.intent.category.BROWSABLE"/>
<data android:host="details" android:scheme="market"
android:pathSuffix="id=com.xiaomi.scanner"/>
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW"/> <action android:name="android.intent.action.VIEW"/>