需求描述
当用户APK安装|更新 成功之后自动打开APK。
实现思路
编写服务 注册接受安装广播 并判断安装的APK包名是否为客户APK包名,并自动打开。
具体实现
diff --git a/android/build/make/core/tasks/check_boot_jars/package_whitelist.txt b/android/build/make/core/tasks/check_boot_jars/package_whitelist.txt
index 88be7ff511..ab54d035ce 100644
--- a/android/build/make/core/tasks/check_boot_jars/package_whitelist.txt
+++ b/android/build/make/core/tasks/check_boot_jars/package_whitelist.txt
@@ -269,3 +269,4 @@ com\.mc\.android\.mcusbctrl
com\.mc\.android\.mclog
com\.mc\.android\.mcsettingssecure
com\.mc\.android\.mcfota
+com\.mc\.android\.customer
diff --git a/android/frameworks/base/api/current.txt b/android/frameworks/base/api/current