blob: 7efc772d1ccf1175c86bf559e16e52af454e70b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
## This script is used for signing the apk with the platform keys and pushing it into System partition.
## Used for testing purposes.
## Note: It is used only to build /e/ OS variant build.
./gradlew assembleEDebug
adb root
wait ${!}
adb devices
wait ${!}
adb install -r PrivacyCentral.apk
wait ${!}
adb remount && adb push privapp-permissions-foundation.e.privacycentralapp.xml system/etc/permissions
wait ${!}
adb shell am start -n "foundation.e.privacycentralapp.e/foundation.e.privacycentralapp.main.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
|