diff options
| author | Todd Kennedy <toddke@google.com> | 2017-06-15 09:44:34 -0700 |
|---|---|---|
| committer | Todd Kennedy <toddke@google.com> | 2017-06-15 09:44:34 -0700 |
| commit | 133c5da0d972ff8f1676890679f478aa30e08dfd (patch) | |
| tree | 80273a05e51255cff96b6641b074075bdbd915c5 /core/java | |
| parent | c7ea7effde64c682ba8ddaca0fd9ac4354029e41 (diff) | |
enable/disable dexopt for instant apps remotely
Change-Id: I997b8ae515f7bf2570edca4ed7ab4b46198148a5
Fixes: 62591398
Test: Manual; install instant app and see that it doesn't dexopt
Test: Manua; update gservices flag, install instant app and see that it does dexopt
Diffstat (limited to 'core/java')
| -rwxr-xr-x | core/java/android/provider/Settings.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index f1ce9d52e920..77bb0e4ffa7c 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -9818,6 +9818,16 @@ public final class Settings { public static final String ENABLE_EPHEMERAL_FEATURE = "enable_ephemeral_feature"; /** + * Toggle to enable/disable dexopt for instant applications. The default is for dexopt + * to be disabled. + * <p> + * Type: int (0 to disable, 1 to enable) + * + * @hide + */ + public static final String INSTANT_APP_DEXOPT_ENABLED = "instant_app_dexopt_enabled"; + + /** * The min period for caching installed instant apps in milliseconds. * <p> * Type: long |
