Fixed elapsed_time_millis in SettingsUIChanged event
This change stores timestamp when received com.google.android.setupwizard.SETUP_WIZARD_FINISHED. This timestamp will be used to calculate elapsed_time_millis for SettingsUIChanged event after SUW complete. This enables to analyze how the user uses Settings in a specific time span after setup. Bug: 344466251 Test: metrics related change only Flag: EXEMPT metrics change only Change-Id: I85b15f1eb5e5a4502a27d8588bb01e59b7ad83b5
This commit is contained in:
@@ -32,6 +32,9 @@ import java.util.Arrays;
|
||||
|
||||
public class SetupWizardUtils {
|
||||
|
||||
public static final String ACTION_SETUP_WIZARD_FINISHED =
|
||||
"com.google.android.setupwizard.SETUP_WIZARD_FINISHED";
|
||||
|
||||
public static String getThemeString(Intent intent) {
|
||||
String theme = intent.getStringExtra(WizardManagerHelper.EXTRA_THEME);
|
||||
if (theme == null) {
|
||||
|
Reference in New Issue
Block a user