Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1549)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/ClearNotificationAlarmReceiver.java

Issue 2650793005: Remove Physical Web notifications (Closed)
Patch Set: Remove notification UMA from optin activity Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/ClearNotificationAlarmReceiver.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/ClearNotificationAlarmReceiver.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/ClearNotificationAlarmReceiver.java
deleted file mode 100644
index 52a763709009036b68a6138effdc1ebd4ed83654..0000000000000000000000000000000000000000
--- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/ClearNotificationAlarmReceiver.java
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.chrome.browser.physicalweb;
-
-import android.content.BroadcastReceiver;
-import android.content.Context;
-import android.content.Intent;
-
-import org.chromium.base.Log;
-
-/**
- * A broadcast receiver that clears the UrlManager's notification.
- * This class cannot make native calls because it may not be loaded when the
- * alarm fires.
- */
-public class ClearNotificationAlarmReceiver extends BroadcastReceiver {
- private static final String TAG = "PhysicalWeb";
-
- @Override
- public void onReceive(Context context, Intent intent) {
- Log.d(TAG, "Running NotificationCleanupAlarmReceiver");
- UrlManager.getInstance().clearNotification();
- }
-}

Powered by Google App Engine
This is Rietveld 408576698