Expose Android ID to Instant Apps

Android ID in O is scoped per-app but persistent across
installs. Since Instant Apps can use the cookie to implement similar
functionality its fine to expose.

In a follow up the Android ID generation will be made to depend on the
cookie so that clearing the cookie also breaks the persistence.

Bug: 36385889
Test: Manual
Change-Id: I09b993bb4153179b80eebe0da8dac3fad7b9c779
This commit is contained in:
Chad Brubaker
2017-03-20 10:52:52 -07:00
parent 7c8e0918a1
commit 1bed93742f

View File

@@ -7077,6 +7077,8 @@ public final class Settings {
INSTANT_APP_SETTINGS.add(DEFAULT_INPUT_METHOD);
INSTANT_APP_SETTINGS.add(ENABLED_INPUT_METHODS);
INSTANT_APP_SETTINGS.add(ANDROID_ID);
}
/**