summaryrefslogtreecommitdiff
path: root/scripts/sign_and_push.sh
diff options
context:
space:
mode:
authorAmit Kumar <amitkma@e.email>2021-06-01 23:49:41 +0530
committerAmit Kumar <amitkma@e.email>2021-06-01 23:49:41 +0530
commitffbb686bd571185217c0e9e0fef0f164be9a07f7 (patch)
tree85136dd6890b682ea82205483fc3b40addadb6cd /scripts/sign_and_push.sh
parent97b51f18dcc2f87a9cdd7f482033e30a6282d853 (diff)
Add dummy tracker feature to trigger blocker system service
Diffstat (limited to 'scripts/sign_and_push.sh')
-rwxr-xr-xscripts/sign_and_push.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/sign_and_push.sh b/scripts/sign_and_push.sh
index 240f96a..7efc772 100755
--- a/scripts/sign_and_push.sh
+++ b/scripts/sign_and_push.sh
@@ -3,11 +3,9 @@
## This script is used for signing the apk with the platform keys and pushing it into System partition.
## Used for testing purposes.
-./gradlew assembleDebug
-rm PrivacyCentral.apk
-wait ${!}
-apksigner sign --key lineage_keys/platform.pk8 --cert lineage_keys/target_product_security_platform.x509.pem --out PrivacyCentral.apk app/build/outputs/apk/e/debug/app-e-debug.apk
-wait ${!}
+## Note: It is used only to build /e/ OS variant build.
+
+./gradlew assembleEDebug
adb root
wait ${!}
adb devices
@@ -15,4 +13,5 @@ wait ${!}
adb install -r PrivacyCentral.apk
wait ${!}
adb remount && adb push privapp-permissions-foundation.e.privacycentralapp.xml system/etc/permissions
-wait ${!} \ No newline at end of file
+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