1 /* 2 * Copyright (C) 2017 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.android.wallpaper.module; 17 18 import android.content.Intent; 19 20 import com.android.wallpaper.module.WallpaperPersister.WallpaperPosition; 21 22 /** 23 * {@link UserEventLogger} which does not do anything. 24 */ 25 public class NoOpUserEventLogger implements UserEventLogger { 26 27 @Override logResumed(boolean provisioned, boolean wallpaper)28 public void logResumed(boolean provisioned, boolean wallpaper) { 29 30 } 31 32 @Override logStopped()33 public void logStopped() { 34 35 } 36 37 @Override logAppLaunched(Intent launchSource)38 public void logAppLaunched(Intent launchSource) { 39 } 40 41 @Override logDailyRefreshTurnedOn()42 public void logDailyRefreshTurnedOn() { 43 } 44 45 @Override logCurrentWallpaperPreviewed()46 public void logCurrentWallpaperPreviewed() { 47 } 48 49 @Override logActionClicked(String collectionId, int actionLabelResId)50 public void logActionClicked(String collectionId, int actionLabelResId) { 51 } 52 53 @Override logIndividualWallpaperSelected(String collectionId)54 public void logIndividualWallpaperSelected(String collectionId) { 55 } 56 57 @Override logCategorySelected(String collectionId)58 public void logCategorySelected(String collectionId) { 59 } 60 61 @Override logLiveWallpaperInfoSelected(String collectionId, String wallpaperId)62 public void logLiveWallpaperInfoSelected(String collectionId, String wallpaperId) { 63 } 64 65 @Override logLiveWallpaperCustomizeSelected(String collectionId, String wallpaperId)66 public void logLiveWallpaperCustomizeSelected(String collectionId, String wallpaperId) { 67 } 68 69 @Override logSnapshot()70 public void logSnapshot() { 71 } 72 73 @Override logWallpaperSet(String collectionId, String wallpaperId)74 public void logWallpaperSet(String collectionId, String wallpaperId) { 75 } 76 77 @Override logWallpaperSetResult(@allpaperSetResult int result)78 public void logWallpaperSetResult(@WallpaperSetResult int result) { 79 } 80 81 @Override logWallpaperSetFailureReason(@allpaperSetFailureReason int reason)82 public void logWallpaperSetFailureReason(@WallpaperSetFailureReason int reason) { 83 } 84 85 @Override logNumDailyWallpaperRotationsInLastWeek()86 public void logNumDailyWallpaperRotationsInLastWeek() { 87 } 88 89 @Override logNumDailyWallpaperRotationsPreviousDay()90 public void logNumDailyWallpaperRotationsPreviousDay() { 91 } 92 93 @Override logDailyWallpaperRotationHour(int hour)94 public void logDailyWallpaperRotationHour(int hour) { 95 } 96 97 @Override logDailyWallpaperDecodes(boolean decodes)98 public void logDailyWallpaperDecodes(boolean decodes) { 99 } 100 101 @Override logRefreshDailyWallpaperButtonClicked()102 public void logRefreshDailyWallpaperButtonClicked() { 103 } 104 105 @Override logDailyWallpaperRotationStatus(int status)106 public void logDailyWallpaperRotationStatus(int status) { 107 } 108 109 @Override logDailyWallpaperSetNextWallpaperResult( @ailyWallpaperUpdateResult int result)110 public void logDailyWallpaperSetNextWallpaperResult( 111 @DailyWallpaperUpdateResult int result) { 112 } 113 114 @Override logDailyWallpaperSetNextWallpaperCrash(@ailyWallpaperUpdateCrash int crash)115 public void logDailyWallpaperSetNextWallpaperCrash(@DailyWallpaperUpdateCrash int crash) { 116 } 117 118 @Override logNumDaysDailyRotationFailed(int days)119 public void logNumDaysDailyRotationFailed(int days) { 120 } 121 122 @Override logDailyWallpaperMetadataRequestFailure( @ailyWallpaperMetadataFailureReason int reason)123 public void logDailyWallpaperMetadataRequestFailure( 124 @DailyWallpaperMetadataFailureReason int reason) { 125 } 126 127 @Override logNumDaysDailyRotationNotAttempted(int days)128 public void logNumDaysDailyRotationNotAttempted(int days) { 129 } 130 131 @Override logStandalonePreviewLaunched()132 public void logStandalonePreviewLaunched() { 133 } 134 135 @Override logStandalonePreviewImageUriHasReadPermission(boolean isReadPermissionGranted)136 public void logStandalonePreviewImageUriHasReadPermission(boolean isReadPermissionGranted) { 137 } 138 139 @Override logStandalonePreviewStorageDialogApproved(boolean isApproved)140 public void logStandalonePreviewStorageDialogApproved(boolean isApproved) { 141 } 142 143 @Override logWallpaperPresentationMode()144 public void logWallpaperPresentationMode() { 145 } 146 147 @Override logRestored()148 public void logRestored() { 149 } 150 } 151