Hamper analytics improvements

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2021-12-27 17:31:15 -05:00
parent 3c97ce5cba
commit 2c1d8d5e78
7 changed files with 299 additions and 43 deletions

View File

@ -31,38 +31,86 @@ Keywords to find keys
"meta-data android:name" private key
"meta-data android:name" secret key
Core - Currently Implemented
Documentation
http://docs-en.tnkad.net/analytics-reporting/1-android-integration
https://developer.android.com/guide/webapps/managing-webview
https://developer.clevertap.com/docs/android
https://developer.clevertap.com/docs/android-quickstart-guide
https://developer.clevertap.com/docs/sdk-changes-for-gdpr-compliance
https://developers.facebook.com/docs/app-events/getting-started-app-events-android
https://dev.followanalytics.com/sdks/android/older-versions/6.1/
https://docs.bugsnag.com/platforms/android/configuration-options/
https://docs.bugsnag.com/platforms/android/legacy/configuration-options/
https://docs.microsoft.com/en-us/dynamics365/customer-insights/engagement-insights/get-started-android
https://docs.netcoresmartech.com/v1.0/docs/android-sdk-v2-advanced
https://docs.pushwoosh.com/platform-docs/v/master/pushwoosh-sdk/cross-platform-frameworks/adobe-air
https://documentation.accengage.com/sdk/android/3.6/migration/
https://firebase.google.com/docs/analytics/configure-data-collection
https://github.com/mapbox/mapbox-events-android/pull/77/files
https://github.com/mixpanel/mixpanel-android/blob/master/src/main/java/com/mixpanel/android/mpmetrics/MPConfig.java
https://help.batch.com/en/articles/5204072-how-to-integrate-batch-into-my-cmp
https://help.upsight.com/api_sdk_reference/android/
https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/app-experience-analytics/17-3/using/using-apis/android-custom-apis/Supported-Meta-Data-Properties.html
Currently Implemented
data.putString("acc_advertiser_id", "false");
data.putString("acc_no_geoloc", "true");
data.putString("acc_tracking_mode", "Restricted");
data.putString("android.webkit.WebView.MetricsOptOut", "true");
data.putString("AXACollectIp", "false");
data.putString("batch_opted_out_by_default", "true");
data.putString("CLEVERTAP_BACKGROUND_SYNC", "0")
data.putString("CLEVERTAP_USE_GOOGLE_AD_ID", "0")
data.putString("com.ad4screen.advertiser_id", "false");
data.putString("com.ad4screen.no_geoloc", "true");
data.putString("com.ad4screen.tracking_mode", "Restricted");
data.putString("com.bugsnag.android.AUTO_CAPTURE_SESSIONS", "false");
data.putString("com.bugsnag.android.AUTO_DETECT_ERRORS", "false");
data.putString("com.bugsnag.android.AUTO_TRACK_SESSIONS", "false");
data.putString("com.bugsnag.android.DETECT_ANR", "false");
data.putString("com.bugsnag.android.DETECT_NDK_CRASHES", "false");
data.putString("com.bugsnag.android.ENABLE_EXCEPTION_HANDLER", "false");
data.putString("com.bugsnag.android.PERSIST_USER_BETWEEN_SESSIONS", "false");
data.putString("com.bugsnag.android.PERSIST_USER", "false");
data.putString("com.bugsnag.android.SEND_THREADS", "NEVER");
data.putString("com.facebook.sdk.AdvertiserIDCollectionEnabled", "false");
data.putString("com.facebook.sdk.AutoInitEnabled", "false");
data.putString("com.facebook.sdk.AutoLogAppEventsEnabled", "false");
data.putString("com.followanalytics.message.inapp.enable", "false");
data.putString("com.followanalytics.message.push.enable", "false");
data.putString("com.google.android.gms.ads.AD_MANAGER_APP", "false");
data.putString("com.mapbox.EnableEvents", "false");
data.putString("com.microsoft.engagementinsights.autoCapture", "false");
data.putString("com.mixpanel.android.MPConfig.AutoCheckForSurveys", "false");
data.putString("com.mixpanel.android.MPConfig.AutoShowMixpanelUpdates", "false");
data.putString("com.mixpanel.android.MPConfig.DisableAppOpenEvent", "true");
data.putString("com.mixpanel.android.MPConfig.DisableDecideChecker", "true");
data.putString("com.mixpanel.android.MPConfig.DisableExceptionHandler", "true");
data.putString("com.mixpanel.android.MPConfig.DisableFallback", "true");
data.putString("com.mixpanel.android.MPConfig.DisableViewCrawler", "true");
data.putString("com.mixpanel.android.MPConfig.TestMode", "true");
data.putString("com.mixpanel.android.MPConfig.UseIpAddressForGeolocation", "false");
data.putString("com.sprooki.LOCATION_SERVICES", "disable");
data.putString("com.webengage.sdk.android.location_tracking", "false");
data.putString("firebase_analytics_collection_deactivated", "true");
data.putString("firebase_analytics_collection_enabled", "false");
data.putString("firebase_crash_collection_enabled", "false");
data.putString("firebase_performance_collection_deactivated", "true");
data.putString("google_analytics_adid_collection_enabled", "false");
data.putString("google_analytics_ssaid_collection_enabled", "false");
data.putString("google_analytics_automatic_screen_reporting_enabled", "false");
data.putString("google_analytics_default_allow_ad_personalization_signals", "false");
data.putString("com.ad4screen.tracking_mode", "Restricted");
data.putString("com.sprooki.LOCATION_SERVICES", "disable");
data.putString("google_analytics_ssaid_collection_enabled", "false");
data.putString("SMT_USE_AD_ID", "0");
data.putString("tapjoy.disable_advertising_id_check", "true");
data.putString("tapjoy.disable_android_id_as_analytics_id", "true");
data.putString("tapjoy.disable_automatic_session_tracking", "true");
data.putString("tapjoy.disable_persistent_ids", "true");
data.putString("tapjoy.disable_video_offers", "true");
data.putString("tnkad_tracking", "false");
Settings
data.putString("com.bugsnag.android.AUTO_CAPTURE_SESSIONS", "false");
data.putString("com.bugsnag.android.ENABLE_EXCEPTION_HANDLER", "false");
data.putString("com.bugsnag.android.PERSIST_USER_BETWEEN_SESSIONS", "false");
data.putString("com.bugsnag.android.SEND_THREADS", "false");
data.putString("com.followanalytics.message.inapp.enable", "false");
data.putString("com.followanalytics.message.push.enable", "false");
data.putString("com.mixpanel.android.MPConfig.AutoShowMixpanelUpdates", "false");
data.putString("com.mixpanel.android.MPConfig.DisableAppOpenEvent", "true");
data.putString("com.mixpanel.android.MPConfig.DisableDecideChecker", "true");
data.putString("com.mixpanel.android.MPConfig.DisableFallback", "true");
data.putString("com.mixpanel.android.MPConfig.DisableGestureBindingUI", "true");
data.putString("com.mixpanel.android.MPConfig.DisableViewCrawler", "true");
data.putString("com.mixpanel.android.MPConfig.TestMode", "true");
data.putString("engagement:adm:register", "false");
data.putString("engagement:connection:delay", "2629800");
data.putString("engagement:locationReport:lazyArea", "false");
data.putString("engagement:locationReport:realTime:background", "false");
data.putString("engagement:locationReport:realTime", "false");
@ -71,18 +119,17 @@ Settings
data.putString("engagement:reportCrash", "false");
data.putString("FYBEnableSSLRewardedVideo", "true");
data.putString("mceSessionEnabled", "false");
data.putString("tapjoy.disable_video_offers", "true");
data.putString("CLEVERTAP_USE_GOOGLE_AD_ID", "0")
data.putString("engagement:connection:delay", "2629800");
data.putString("PW_BROADCAST_PUSH", "false");
API Keys
String apiFillerValue = "";
//String apiFillerValue = "DO_NOT_TRACK";
String apiFillerValue = "DO_NOT_TRACK";
data.putString("apptentive_api_key", apiFillerValue);
data.putString("apptentive_key", apiFillerValue);
data.putString("apptentive_signature", apiFillerValue);
data.putString("__ChartboostAir__AppID", apiFillerValue);
data.putString("__ChartboostAir__AppSignature", apiFillerValue);
data.putString("CLEVERTAP_ACCOUNT_ID", apiFillerValue);
data.putString("CLEVERTAP_TOKEN", apiFillerValue);
data.putString("com.a0soft.gphone.aTrackDog.webURL", apiFillerValue);
data.putString("com.ad4screen.facebook_appid", apiFillerValue);
data.putString("com.ad4screen.partnerid", apiFillerValue);
@ -95,12 +142,20 @@ API Keys
data.putString("com.facebook.sdk.ApplicationId", apiFillerValue);
data.putString("com.geouniq.appkey", apiFillerValue);
data.putString("com.google.android.awareness.API_KEY", apiFillerValue);
data.putString("com.google.android.gms.ads.APPLICATION_ID", apiFillerValue);
data.putString("com.huawei.hms.client.appid", apiFillerValue);
data.putString("com.huawei.hms.client.cpid", apiFillerValue);
data.putString("com.indooratlas.android.sdk.API_KEY", apiFillerValue);
data.putString("com.indooratlas.android.sdk.API_SECRET", apiFillerValue);
data.putString("com.microsoft.engagementinsights.ingestionKey", apiFillerValue);
data.putString("com.pushwoosh.appid", apiFillerValue);
data.putString("com.pushwoosh.senderid", apiFillerValue);
data.putString("com.tapjoy.appstore", apiFillerValue);
data.putString("com.upsight.app_token", apiFillerValue);
data.putString("com.upsight.fcm.api.key", apiFillerValue);
data.putString("com.upsight.fcm.application.id", apiFillerValue);
data.putString("com.upsight.public_key", apiFillerValue);
data.putString("com.webengage.sdk.android.key", apiFillerValue);
data.putString("co.paystack.android.PublicKey", apiFillerValue);
data.putString("FAID", apiFillerValue);
data.putString("io.branch.sdk.BranchKey", apiFillerValue);
@ -112,3 +167,4 @@ API Keys
data.putString("pilgrim_sdk_secret", apiFillerValue);
data.putString("presage_key", apiFillerValue);
data.putString("tkbl-api-key-0", apiFillerValue);
data.putString("tnkad_app_id", apiFillerValue);

View File

@ -13,24 +13,64 @@ diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android
index f2e3333b67da..f8bfc011e670 100644
--- a/core/java/android/content/pm/PackageParser.java
+++ b/core/java/android/content/pm/PackageParser.java
@@ -4465,6 +4465,20 @@ public class PackageParser {
@@ -4465,6 +4465,60 @@ public class PackageParser {
if (data == null) {
data = new Bundle();
+ data.putString("acc_advertiser_id", "false");
+ data.putString("acc_no_geoloc", "true");
+ data.putString("acc_tracking_mode", "Restricted");
+ data.putString("android.webkit.WebView.MetricsOptOut", "true");
+ data.putString("AXACollectIp", "false");
+ data.putString("batch_opted_out_by_default", "true");
+ data.putString("CLEVERTAP_BACKGROUND_SYNC", "0")
+ data.putString("CLEVERTAP_USE_GOOGLE_AD_ID", "0")
+ data.putString("com.ad4screen.advertiser_id", "false");
+ data.putString("com.ad4screen.no_geoloc", "true");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.bugsnag.android.AUTO_CAPTURE_SESSIONS", "false");
+ data.putString("com.bugsnag.android.AUTO_DETECT_ERRORS", "false");
+ data.putString("com.bugsnag.android.AUTO_TRACK_SESSIONS", "false");
+ data.putString("com.bugsnag.android.DETECT_ANR", "false");
+ data.putString("com.bugsnag.android.DETECT_NDK_CRASHES", "false");
+ data.putString("com.bugsnag.android.ENABLE_EXCEPTION_HANDLER", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER_BETWEEN_SESSIONS", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER", "false");
+ data.putString("com.bugsnag.android.SEND_THREADS", "NEVER");
+ data.putString("com.facebook.sdk.AdvertiserIDCollectionEnabled", "false");
+ data.putString("com.facebook.sdk.AutoInitEnabled", "false");
+ data.putString("com.facebook.sdk.AutoLogAppEventsEnabled", "false");
+ data.putString("com.followanalytics.message.inapp.enable", "false");
+ data.putString("com.followanalytics.message.push.enable", "false");
+ data.putString("com.google.android.gms.ads.AD_MANAGER_APP", "false");
+ data.putString("com.mapbox.EnableEvents", "false");
+ data.putString("com.microsoft.engagementinsights.autoCapture", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoCheckForSurveys", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoShowMixpanelUpdates", "false");
+ data.putString("com.mixpanel.android.MPConfig.DisableAppOpenEvent", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableDecideChecker", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableExceptionHandler", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableFallback", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableViewCrawler", "true");
+ data.putString("com.mixpanel.android.MPConfig.TestMode", "true");
+ data.putString("com.mixpanel.android.MPConfig.UseIpAddressForGeolocation", "false");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("com.webengage.sdk.android.location_tracking", "false");
+ data.putString("firebase_analytics_collection_deactivated", "true");
+ data.putString("firebase_analytics_collection_enabled", "false");
+ data.putString("firebase_crash_collection_enabled", "false");
+ data.putString("firebase_performance_collection_deactivated", "true");
+ data.putString("google_analytics_adid_collection_enabled", "false");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("google_analytics_automatic_screen_reporting_enabled", "false");
+ data.putString("google_analytics_default_allow_ad_personalization_signals", "false");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("SMT_USE_AD_ID", "0");
+ data.putString("tapjoy.disable_advertising_id_check", "true");
+ data.putString("tapjoy.disable_android_id_as_analytics_id", "true");
+ data.putString("tapjoy.disable_automatic_session_tracking", "true");
+ data.putString("tapjoy.disable_persistent_ids", "true");
+ data.putString("tapjoy.disable_video_offers", "true");
+ data.putString("tnkad_tracking", "false");
}
String name = sa.getNonConfigurationString(

View File

@ -13,24 +13,64 @@ diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android
index 8c66fb227cf9..a5c783597b34 100644
--- a/core/java/android/content/pm/PackageParser.java
+++ b/core/java/android/content/pm/PackageParser.java
@@ -5524,6 +5524,20 @@ public class PackageParser {
@@ -5524,6 +5524,60 @@ public class PackageParser {
if (data == null) {
data = new Bundle();
+ data.putString("acc_advertiser_id", "false");
+ data.putString("acc_no_geoloc", "true");
+ data.putString("acc_tracking_mode", "Restricted");
+ data.putString("android.webkit.WebView.MetricsOptOut", "true");
+ data.putString("AXACollectIp", "false");
+ data.putString("batch_opted_out_by_default", "true");
+ data.putString("CLEVERTAP_BACKGROUND_SYNC", "0")
+ data.putString("CLEVERTAP_USE_GOOGLE_AD_ID", "0")
+ data.putString("com.ad4screen.advertiser_id", "false");
+ data.putString("com.ad4screen.no_geoloc", "true");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.bugsnag.android.AUTO_CAPTURE_SESSIONS", "false");
+ data.putString("com.bugsnag.android.AUTO_DETECT_ERRORS", "false");
+ data.putString("com.bugsnag.android.AUTO_TRACK_SESSIONS", "false");
+ data.putString("com.bugsnag.android.DETECT_ANR", "false");
+ data.putString("com.bugsnag.android.DETECT_NDK_CRASHES", "false");
+ data.putString("com.bugsnag.android.ENABLE_EXCEPTION_HANDLER", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER_BETWEEN_SESSIONS", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER", "false");
+ data.putString("com.bugsnag.android.SEND_THREADS", "NEVER");
+ data.putString("com.facebook.sdk.AdvertiserIDCollectionEnabled", "false");
+ data.putString("com.facebook.sdk.AutoInitEnabled", "false");
+ data.putString("com.facebook.sdk.AutoLogAppEventsEnabled", "false");
+ data.putString("com.followanalytics.message.inapp.enable", "false");
+ data.putString("com.followanalytics.message.push.enable", "false");
+ data.putString("com.google.android.gms.ads.AD_MANAGER_APP", "false");
+ data.putString("com.mapbox.EnableEvents", "false");
+ data.putString("com.microsoft.engagementinsights.autoCapture", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoCheckForSurveys", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoShowMixpanelUpdates", "false");
+ data.putString("com.mixpanel.android.MPConfig.DisableAppOpenEvent", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableDecideChecker", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableExceptionHandler", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableFallback", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableViewCrawler", "true");
+ data.putString("com.mixpanel.android.MPConfig.TestMode", "true");
+ data.putString("com.mixpanel.android.MPConfig.UseIpAddressForGeolocation", "false");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("com.webengage.sdk.android.location_tracking", "false");
+ data.putString("firebase_analytics_collection_deactivated", "true");
+ data.putString("firebase_analytics_collection_enabled", "false");
+ data.putString("firebase_crash_collection_enabled", "false");
+ data.putString("firebase_performance_collection_deactivated", "true");
+ data.putString("google_analytics_adid_collection_enabled", "false");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("google_analytics_automatic_screen_reporting_enabled", "false");
+ data.putString("google_analytics_default_allow_ad_personalization_signals", "false");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("SMT_USE_AD_ID", "0");
+ data.putString("tapjoy.disable_advertising_id_check", "true");
+ data.putString("tapjoy.disable_android_id_as_analytics_id", "true");
+ data.putString("tapjoy.disable_automatic_session_tracking", "true");
+ data.putString("tapjoy.disable_persistent_ids", "true");
+ data.putString("tapjoy.disable_video_offers", "true");
+ data.putString("tnkad_tracking", "false");
}
String name = sa.getNonConfigurationString(

View File

@ -13,24 +13,64 @@ diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android
index e0c2d2dc6dde..85a669a4a6c1 100644
--- a/core/java/android/content/pm/PackageParser.java
+++ b/core/java/android/content/pm/PackageParser.java
@@ -5327,6 +5327,20 @@ public class PackageParser {
@@ -5327,6 +5327,60 @@ public class PackageParser {
if (data == null) {
data = new Bundle();
+ data.putString("acc_advertiser_id", "false");
+ data.putString("acc_no_geoloc", "true");
+ data.putString("acc_tracking_mode", "Restricted");
+ data.putString("android.webkit.WebView.MetricsOptOut", "true");
+ data.putString("AXACollectIp", "false");
+ data.putString("batch_opted_out_by_default", "true");
+ data.putString("CLEVERTAP_BACKGROUND_SYNC", "0")
+ data.putString("CLEVERTAP_USE_GOOGLE_AD_ID", "0")
+ data.putString("com.ad4screen.advertiser_id", "false");
+ data.putString("com.ad4screen.no_geoloc", "true");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.bugsnag.android.AUTO_CAPTURE_SESSIONS", "false");
+ data.putString("com.bugsnag.android.AUTO_DETECT_ERRORS", "false");
+ data.putString("com.bugsnag.android.AUTO_TRACK_SESSIONS", "false");
+ data.putString("com.bugsnag.android.DETECT_ANR", "false");
+ data.putString("com.bugsnag.android.DETECT_NDK_CRASHES", "false");
+ data.putString("com.bugsnag.android.ENABLE_EXCEPTION_HANDLER", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER_BETWEEN_SESSIONS", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER", "false");
+ data.putString("com.bugsnag.android.SEND_THREADS", "NEVER");
+ data.putString("com.facebook.sdk.AdvertiserIDCollectionEnabled", "false");
+ data.putString("com.facebook.sdk.AutoInitEnabled", "false");
+ data.putString("com.facebook.sdk.AutoLogAppEventsEnabled", "false");
+ data.putString("com.followanalytics.message.inapp.enable", "false");
+ data.putString("com.followanalytics.message.push.enable", "false");
+ data.putString("com.google.android.gms.ads.AD_MANAGER_APP", "false");
+ data.putString("com.mapbox.EnableEvents", "false");
+ data.putString("com.microsoft.engagementinsights.autoCapture", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoCheckForSurveys", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoShowMixpanelUpdates", "false");
+ data.putString("com.mixpanel.android.MPConfig.DisableAppOpenEvent", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableDecideChecker", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableExceptionHandler", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableFallback", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableViewCrawler", "true");
+ data.putString("com.mixpanel.android.MPConfig.TestMode", "true");
+ data.putString("com.mixpanel.android.MPConfig.UseIpAddressForGeolocation", "false");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("com.webengage.sdk.android.location_tracking", "false");
+ data.putString("firebase_analytics_collection_deactivated", "true");
+ data.putString("firebase_analytics_collection_enabled", "false");
+ data.putString("firebase_crash_collection_enabled", "false");
+ data.putString("firebase_performance_collection_deactivated", "true");
+ data.putString("google_analytics_adid_collection_enabled", "false");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("google_analytics_automatic_screen_reporting_enabled", "false");
+ data.putString("google_analytics_default_allow_ad_personalization_signals", "false");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("SMT_USE_AD_ID", "0");
+ data.putString("tapjoy.disable_advertising_id_check", "true");
+ data.putString("tapjoy.disable_android_id_as_analytics_id", "true");
+ data.putString("tapjoy.disable_automatic_session_tracking", "true");
+ data.putString("tapjoy.disable_persistent_ids", "true");
+ data.putString("tapjoy.disable_video_offers", "true");
+ data.putString("tnkad_tracking", "false");
}
String name = sa.getNonConfigurationString(

View File

@ -13,24 +13,64 @@ diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android
index 861b0d922d32..a9ad5aac0f0d 100644
--- a/core/java/android/content/pm/PackageParser.java
+++ b/core/java/android/content/pm/PackageParser.java
@@ -5598,6 +5598,20 @@ public class PackageParser {
@@ -5598,6 +5598,60 @@ public class PackageParser {
if (data == null) {
data = new Bundle();
+ data.putString("acc_advertiser_id", "false");
+ data.putString("acc_no_geoloc", "true");
+ data.putString("acc_tracking_mode", "Restricted");
+ data.putString("android.webkit.WebView.MetricsOptOut", "true");
+ data.putString("AXACollectIp", "false");
+ data.putString("batch_opted_out_by_default", "true");
+ data.putString("CLEVERTAP_BACKGROUND_SYNC", "0")
+ data.putString("CLEVERTAP_USE_GOOGLE_AD_ID", "0")
+ data.putString("com.ad4screen.advertiser_id", "false");
+ data.putString("com.ad4screen.no_geoloc", "true");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.bugsnag.android.AUTO_CAPTURE_SESSIONS", "false");
+ data.putString("com.bugsnag.android.AUTO_DETECT_ERRORS", "false");
+ data.putString("com.bugsnag.android.AUTO_TRACK_SESSIONS", "false");
+ data.putString("com.bugsnag.android.DETECT_ANR", "false");
+ data.putString("com.bugsnag.android.DETECT_NDK_CRASHES", "false");
+ data.putString("com.bugsnag.android.ENABLE_EXCEPTION_HANDLER", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER_BETWEEN_SESSIONS", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER", "false");
+ data.putString("com.bugsnag.android.SEND_THREADS", "NEVER");
+ data.putString("com.facebook.sdk.AdvertiserIDCollectionEnabled", "false");
+ data.putString("com.facebook.sdk.AutoInitEnabled", "false");
+ data.putString("com.facebook.sdk.AutoLogAppEventsEnabled", "false");
+ data.putString("com.followanalytics.message.inapp.enable", "false");
+ data.putString("com.followanalytics.message.push.enable", "false");
+ data.putString("com.google.android.gms.ads.AD_MANAGER_APP", "false");
+ data.putString("com.mapbox.EnableEvents", "false");
+ data.putString("com.microsoft.engagementinsights.autoCapture", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoCheckForSurveys", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoShowMixpanelUpdates", "false");
+ data.putString("com.mixpanel.android.MPConfig.DisableAppOpenEvent", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableDecideChecker", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableExceptionHandler", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableFallback", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableViewCrawler", "true");
+ data.putString("com.mixpanel.android.MPConfig.TestMode", "true");
+ data.putString("com.mixpanel.android.MPConfig.UseIpAddressForGeolocation", "false");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("com.webengage.sdk.android.location_tracking", "false");
+ data.putString("firebase_analytics_collection_deactivated", "true");
+ data.putString("firebase_analytics_collection_enabled", "false");
+ data.putString("firebase_crash_collection_enabled", "false");
+ data.putString("firebase_performance_collection_deactivated", "true");
+ data.putString("google_analytics_adid_collection_enabled", "false");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("google_analytics_automatic_screen_reporting_enabled", "false");
+ data.putString("google_analytics_default_allow_ad_personalization_signals", "false");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("SMT_USE_AD_ID", "0");
+ data.putString("tapjoy.disable_advertising_id_check", "true");
+ data.putString("tapjoy.disable_android_id_as_analytics_id", "true");
+ data.putString("tapjoy.disable_automatic_session_tracking", "true");
+ data.putString("tapjoy.disable_persistent_ids", "true");
+ data.putString("tapjoy.disable_video_offers", "true");
+ data.putString("tnkad_tracking", "false");
}
String name = sa.getNonConfigurationString(

View File

@ -13,24 +13,64 @@ diff --git a/core/java/android/content/pm/PackageParser.java b/core/java/android
index 70e4e6cbf622..f79a52c7d827 100644
--- a/core/java/android/content/pm/PackageParser.java
+++ b/core/java/android/content/pm/PackageParser.java
@@ -5551,6 +5551,20 @@ public class PackageParser {
@@ -5551,6 +5551,60 @@ public class PackageParser {
if (data == null) {
data = new Bundle();
+ data.putString("acc_advertiser_id", "false");
+ data.putString("acc_no_geoloc", "true");
+ data.putString("acc_tracking_mode", "Restricted");
+ data.putString("android.webkit.WebView.MetricsOptOut", "true");
+ data.putString("AXACollectIp", "false");
+ data.putString("batch_opted_out_by_default", "true");
+ data.putString("CLEVERTAP_BACKGROUND_SYNC", "0")
+ data.putString("CLEVERTAP_USE_GOOGLE_AD_ID", "0")
+ data.putString("com.ad4screen.advertiser_id", "false");
+ data.putString("com.ad4screen.no_geoloc", "true");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.bugsnag.android.AUTO_CAPTURE_SESSIONS", "false");
+ data.putString("com.bugsnag.android.AUTO_DETECT_ERRORS", "false");
+ data.putString("com.bugsnag.android.AUTO_TRACK_SESSIONS", "false");
+ data.putString("com.bugsnag.android.DETECT_ANR", "false");
+ data.putString("com.bugsnag.android.DETECT_NDK_CRASHES", "false");
+ data.putString("com.bugsnag.android.ENABLE_EXCEPTION_HANDLER", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER_BETWEEN_SESSIONS", "false");
+ data.putString("com.bugsnag.android.PERSIST_USER", "false");
+ data.putString("com.bugsnag.android.SEND_THREADS", "NEVER");
+ data.putString("com.facebook.sdk.AdvertiserIDCollectionEnabled", "false");
+ data.putString("com.facebook.sdk.AutoInitEnabled", "false");
+ data.putString("com.facebook.sdk.AutoLogAppEventsEnabled", "false");
+ data.putString("com.followanalytics.message.inapp.enable", "false");
+ data.putString("com.followanalytics.message.push.enable", "false");
+ data.putString("com.google.android.gms.ads.AD_MANAGER_APP", "false");
+ data.putString("com.mapbox.EnableEvents", "false");
+ data.putString("com.microsoft.engagementinsights.autoCapture", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoCheckForSurveys", "false");
+ data.putString("com.mixpanel.android.MPConfig.AutoShowMixpanelUpdates", "false");
+ data.putString("com.mixpanel.android.MPConfig.DisableAppOpenEvent", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableDecideChecker", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableExceptionHandler", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableFallback", "true");
+ data.putString("com.mixpanel.android.MPConfig.DisableViewCrawler", "true");
+ data.putString("com.mixpanel.android.MPConfig.TestMode", "true");
+ data.putString("com.mixpanel.android.MPConfig.UseIpAddressForGeolocation", "false");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("com.webengage.sdk.android.location_tracking", "false");
+ data.putString("firebase_analytics_collection_deactivated", "true");
+ data.putString("firebase_analytics_collection_enabled", "false");
+ data.putString("firebase_crash_collection_enabled", "false");
+ data.putString("firebase_performance_collection_deactivated", "true");
+ data.putString("google_analytics_adid_collection_enabled", "false");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("google_analytics_automatic_screen_reporting_enabled", "false");
+ data.putString("google_analytics_default_allow_ad_personalization_signals", "false");
+ data.putString("com.ad4screen.tracking_mode", "Restricted");
+ data.putString("com.sprooki.LOCATION_SERVICES", "disable");
+ data.putString("google_analytics_ssaid_collection_enabled", "false");
+ data.putString("SMT_USE_AD_ID", "0");
+ data.putString("tapjoy.disable_advertising_id_check", "true");
+ data.putString("tapjoy.disable_android_id_as_analytics_id", "true");
+ data.putString("tapjoy.disable_automatic_session_tracking", "true");
+ data.putString("tapjoy.disable_persistent_ids", "true");
+ data.putString("tapjoy.disable_video_offers", "true");
+ data.putString("tnkad_tracking", "false");
}
String name = sa.getNonConfigurationString(

View File

@ -66,7 +66,7 @@ export DOS_MICROG_INCLUDED="NLP"; #Determines inclusion of microG. Options: NLP,
export DOS_NON_COMMERCIAL_USE_PATCHES=false; #Set true to allow inclusion of non-commercial use patches XXX: Unused, see 1dc9247
export DOS_OPTIMIZE_IMAGES=false; #Set true to apply lossless optimizations to image resources
export DOS_SENSORS_PERM=false; #Set true to provide a per-app sensors permission #XXX: can break things like camera
export DOS_SENSORS_PERM_NEW=false;
export DOS_SENSORS_PERM_NEW=true;
export DOS_STRONG_ENCRYPTION_ENABLED=false; #Set true to enable AES 256-bit FDE encryption on 14.1+15.1 XXX: THIS WILL **DESTROY** EXISTING INSTALLS!
export DOS_WEBVIEW_LFS=true; #Whether to `git lfs pull` in the WebView repository
#alias DOS_WEBVIEW_CHERRYPICK='git pull "https://github.com/LineageOS/android_external_chromium-webview" refs/changes/00/316600/2';