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

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

Issue 2651553005: Remove ListUrlsActivity (Closed)
Patch Set: Commenting unused fields 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/PhysicalWebOptInActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebOptInActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebOptInActivity.java
index e8fe2e3f9a90329dc105238194ac09c4ee4bc129..2c99e1d5b07b3d9c9d010209c556ebcafd31c537 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebOptInActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebOptInActivity.java
@@ -4,7 +4,6 @@
package org.chromium.chrome.browser.physicalweb;
-import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
@@ -56,19 +55,11 @@ public class PhysicalWebOptInActivity extends AppCompatActivity {
public void onClick(View v) {
PhysicalWebUma.onOptInEnableButtonPressed();
PrivacyPreferencesManager.getInstance().setPhysicalWebEnabled(true);
- startActivity(createListUrlsIntent(PhysicalWebOptInActivity.this));
finish();
}
});
}
- private static Intent createListUrlsIntent(Context context) {
- Intent intent = new Intent(context, ListUrlsActivity.class);
- intent.putExtra(ListUrlsActivity.REFERER_KEY,
- ListUrlsActivity.OPTIN_REFERER);
- return intent;
- }
-
private SpannableString getDescriptionText() {
return SpanApplier.applySpans(
getString(R.string.physical_web_optin_description),

Powered by Google App Engine
This is Rietveld 408576698