From ffbb686bd571185217c0e9e0fef0f164be9a07f7 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Tue, 1 Jun 2021 23:49:41 +0530 Subject: Add dummy tracker feature to trigger blocker system service --- scripts/sign_and_push.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.1 From f4fe8a4d881deef7e43ffe296df804c8c2c7a657 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Wed, 16 Jun 2021 00:33:46 +0530 Subject: Add tracker UI and integrate lineage blocker service --- scripts/sign_and_push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/sign_and_push.sh b/scripts/sign_and_push.sh index 7efc772..dd37f2a 100755 --- a/scripts/sign_and_push.sh +++ b/scripts/sign_and_push.sh @@ -10,7 +10,7 @@ adb root wait ${!} adb devices wait ${!} -adb install -r PrivacyCentral.apk +adb install -r build/outputs/apk/e/debug/PrivacyCentral-e-debug-1.0.0-alpha.apk wait ${!} adb remount && adb push privapp-permissions-foundation.e.privacycentralapp.xml system/etc/permissions wait ${!} -- cgit v1.2.1 From e40866d03008ec6dafa0016a31ee4c9e820032df Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Wed, 16 Jun 2021 01:57:50 +0530 Subject: Fix UI bugs and reformat code --- scripts/sign_and_push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/sign_and_push.sh b/scripts/sign_and_push.sh index dd37f2a..035a47b 100755 --- a/scripts/sign_and_push.sh +++ b/scripts/sign_and_push.sh @@ -10,7 +10,7 @@ adb root wait ${!} adb devices wait ${!} -adb install -r build/outputs/apk/e/debug/PrivacyCentral-e-debug-1.0.0-alpha.apk +adb install -r app/build/outputs/apk/e/debug/PrivacyCentral-e-debug-1.0.0-alpha.apk wait ${!} adb remount && adb push privapp-permissions-foundation.e.privacycentralapp.xml system/etc/permissions wait ${!} -- cgit v1.2.1