Loading src/com/android/customization/module/StatsLogUserEventLogger.java +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ public class StatsLogUserEventLogger extends NoOpUserEventLogger implements Them private static final String TAG = "StatsLogUserEventLogger"; @Override public void logResumed() { public void logResumed(boolean provisioned, boolean wallpaper) { StatsLogCompat.write(StyleEnums.ONRESUME, 0, 0, 0, 0, 0, 0, 0, 0, 0); } Loading src/com/android/customization/picker/CustomizationPickerActivity.java +7 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.content.Intent; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import android.os.Bundle; import android.provider.Settings; import android.util.Log; import android.view.Gravity; import android.view.Menu; Loading Loading @@ -138,7 +139,12 @@ public class CustomizationPickerActivity extends FragmentActivity implements Wal @Override protected void onResume() { super.onResume(); mUserEventLogger.logResumed(); boolean wallpaperOnly = WALLPAPER_ONLY.equals(getIntent().getStringExtra(WALLPAPER_FLAVOR_EXTRA)); boolean provisioned = Settings.Global.getInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 0) != 0; mUserEventLogger.logResumed(provisioned, wallpaperOnly); // refresh the sections as the preview may have changed initSections(); if (mBottomNav == null) { Loading Loading
src/com/android/customization/module/StatsLogUserEventLogger.java +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ public class StatsLogUserEventLogger extends NoOpUserEventLogger implements Them private static final String TAG = "StatsLogUserEventLogger"; @Override public void logResumed() { public void logResumed(boolean provisioned, boolean wallpaper) { StatsLogCompat.write(StyleEnums.ONRESUME, 0, 0, 0, 0, 0, 0, 0, 0, 0); } Loading
src/com/android/customization/picker/CustomizationPickerActivity.java +7 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ import android.content.Intent; import android.graphics.drawable.Drawable; import android.graphics.drawable.LayerDrawable; import android.os.Bundle; import android.provider.Settings; import android.util.Log; import android.view.Gravity; import android.view.Menu; Loading Loading @@ -138,7 +139,12 @@ public class CustomizationPickerActivity extends FragmentActivity implements Wal @Override protected void onResume() { super.onResume(); mUserEventLogger.logResumed(); boolean wallpaperOnly = WALLPAPER_ONLY.equals(getIntent().getStringExtra(WALLPAPER_FLAVOR_EXTRA)); boolean provisioned = Settings.Global.getInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 0) != 0; mUserEventLogger.logResumed(provisioned, wallpaperOnly); // refresh the sections as the preview may have changed initSections(); if (mBottomNav == null) { Loading