Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java +0 −10 Original line number Diff line number Diff line Loading @@ -74,10 +74,8 @@ import android.widget.TextView; import androidx.annotation.NonNull; import com.android.internal.graphics.ColorUtils; import com.android.internal.logging.MetricsLogger; import com.android.internal.logging.UiEvent; import com.android.internal.logging.UiEventLogger; import com.android.internal.logging.nano.MetricsProto; import com.android.internal.statusbar.IStatusBarService; import com.android.internal.util.ContrastColorUtil; import com.android.systemui.Dependency; Loading Loading @@ -420,8 +418,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene mEntry.getSbn().getPackageName(), mEntry.getSbn().getUser().getIdentifier()); MetricsLogger.action(mContext, MetricsProto.MetricsEvent.ACTION_REMOTE_INPUT_SEND, mEntry.getSbn().getPackageName()); mUiEventLogger.logWithInstanceId( NotificationRemoteInputEvent.NOTIFICATION_REMOTE_INPUT_SEND, mEntry.getSbn().getUid(), mEntry.getSbn().getPackageName(), Loading @@ -430,8 +426,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene mPendingIntent.send(mContext, 0, intent); } catch (PendingIntent.CanceledException e) { Log.i(TAG, "Unable to send remote input result", e); MetricsLogger.action(mContext, MetricsProto.MetricsEvent.ACTION_REMOTE_INPUT_FAIL, mEntry.getSbn().getPackageName()); mUiEventLogger.logWithInstanceId( NotificationRemoteInputEvent.NOTIFICATION_REMOTE_INPUT_FAILURE, mEntry.getSbn().getUid(), mEntry.getSbn().getPackageName(), Loading Loading @@ -508,8 +502,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene mRemoteInputQuickSettingsDisabler.setRemoteInputActive(false); if (logClose) { MetricsLogger.action(mContext, MetricsProto.MetricsEvent.ACTION_REMOTE_INPUT_CLOSE, mEntry.getSbn().getPackageName()); mUiEventLogger.logWithInstanceId( NotificationRemoteInputEvent.NOTIFICATION_REMOTE_INPUT_CLOSE, mEntry.getSbn().getUid(), mEntry.getSbn().getPackageName(), Loading Loading @@ -591,8 +583,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene } public void focus() { MetricsLogger.action(mContext, MetricsProto.MetricsEvent.ACTION_REMOTE_INPUT_OPEN, mEntry.getSbn().getPackageName()); mUiEventLogger.logWithInstanceId( NotificationRemoteInputEvent.NOTIFICATION_REMOTE_INPUT_OPEN, mEntry.getSbn().getUid(), mEntry.getSbn().getPackageName(), Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java +0 −10 Original line number Diff line number Diff line Loading @@ -74,10 +74,8 @@ import android.widget.TextView; import androidx.annotation.NonNull; import com.android.internal.graphics.ColorUtils; import com.android.internal.logging.MetricsLogger; import com.android.internal.logging.UiEvent; import com.android.internal.logging.UiEventLogger; import com.android.internal.logging.nano.MetricsProto; import com.android.internal.statusbar.IStatusBarService; import com.android.internal.util.ContrastColorUtil; import com.android.systemui.Dependency; Loading Loading @@ -420,8 +418,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene mEntry.getSbn().getPackageName(), mEntry.getSbn().getUser().getIdentifier()); MetricsLogger.action(mContext, MetricsProto.MetricsEvent.ACTION_REMOTE_INPUT_SEND, mEntry.getSbn().getPackageName()); mUiEventLogger.logWithInstanceId( NotificationRemoteInputEvent.NOTIFICATION_REMOTE_INPUT_SEND, mEntry.getSbn().getUid(), mEntry.getSbn().getPackageName(), Loading @@ -430,8 +426,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene mPendingIntent.send(mContext, 0, intent); } catch (PendingIntent.CanceledException e) { Log.i(TAG, "Unable to send remote input result", e); MetricsLogger.action(mContext, MetricsProto.MetricsEvent.ACTION_REMOTE_INPUT_FAIL, mEntry.getSbn().getPackageName()); mUiEventLogger.logWithInstanceId( NotificationRemoteInputEvent.NOTIFICATION_REMOTE_INPUT_FAILURE, mEntry.getSbn().getUid(), mEntry.getSbn().getPackageName(), Loading Loading @@ -508,8 +502,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene mRemoteInputQuickSettingsDisabler.setRemoteInputActive(false); if (logClose) { MetricsLogger.action(mContext, MetricsProto.MetricsEvent.ACTION_REMOTE_INPUT_CLOSE, mEntry.getSbn().getPackageName()); mUiEventLogger.logWithInstanceId( NotificationRemoteInputEvent.NOTIFICATION_REMOTE_INPUT_CLOSE, mEntry.getSbn().getUid(), mEntry.getSbn().getPackageName(), Loading Loading @@ -591,8 +583,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene } public void focus() { MetricsLogger.action(mContext, MetricsProto.MetricsEvent.ACTION_REMOTE_INPUT_OPEN, mEntry.getSbn().getPackageName()); mUiEventLogger.logWithInstanceId( NotificationRemoteInputEvent.NOTIFICATION_REMOTE_INPUT_OPEN, mEntry.getSbn().getUid(), mEntry.getSbn().getPackageName(), Loading