Update logging for new infrastructure

Remove unused log statements and add new resume/stop logging.

Bug: 129365634
Change-Id: I51aefc09869ee51c2ea6acce971d5526a72d5155
diff --git a/src/com/android/wallpaper/picker/TopLevelPickerActivity.java b/src/com/android/wallpaper/picker/TopLevelPickerActivity.java
index 553a19a..7e0da5e 100755
--- a/src/com/android/wallpaper/picker/TopLevelPickerActivity.java
+++ b/src/com/android/wallpaper/picker/TopLevelPickerActivity.java
@@ -185,7 +185,7 @@
     @Override
     protected void onResume() {
         super.onResume();
-
+        mUserEventLogger.logResumed();
         // Show the staged 'load wallpaper' or 'set wallpaper' error dialog fragments if there is one
         // that was unable to be shown earlier when this fragment's hosting activity didn't allow
         // committing fragment transactions.
@@ -197,6 +197,12 @@
     }
 
     @Override
+    protected void onStop() {
+        mUserEventLogger.logStopped();
+        super.onStop();
+    }
+
+    @Override
     protected void onDestroy() {
         super.onDestroy();
         mDelegate.cleanUp();
@@ -210,11 +216,6 @@
         if (mSetWallpaperProgressDialog != null) {
             mSetWallpaperProgressDialog.dismiss();
         }
-
-        if (mDelegate.getFormFactor() == FormFactorChecker.FORM_FACTOR_DESKTOP
-                && mWasCustomPhotoWallpaperSet) {
-            mUserEventLogger.logWallpaperPosition(mCustomPhotoWallpaperPosition);
-        }
     }
 
     @Override