Merge "Default ACTIVITY_STARTS_LOGGING_ENABLED flag to 1"

This commit is contained in:
Michal Karpinski
2019-02-27 13:10:12 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -11416,7 +11416,7 @@ public final class Settings {
/**
* Feature flag to enable or disable the activity starts logging feature.
* Type: int (0 for false, 1 for true)
* Default: 0
* Default: 1
* @hide
*/
public static final String ACTIVITY_STARTS_LOGGING_ENABLED

View File

@@ -402,7 +402,7 @@ final class ActivityManagerConstants extends ContentObserver {
private void updateActivityStartsLoggingEnabled() {
mFlagActivityStartsLoggingEnabled = Settings.Global.getInt(mResolver,
Settings.Global.ACTIVITY_STARTS_LOGGING_ENABLED, 0) == 1;
Settings.Global.ACTIVITY_STARTS_LOGGING_ENABLED, 1) == 1;
}
private void updateBackgroundActivityStartsEnabled() {