Add RLZ support to Browser.
RLZ assigns non-unique, non-personally identifiable tracking
labels to client products; these labels sometimes appear in
Google search queries. See http://code.google.com/p/rlz for
more info.
Bug: 2927060
Change-Id: I992cd2859d590616df57293adb7ac22038088d49
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java
index 94bed2d..2f739fa 100644
--- a/src/com/android/browser/BrowserSettings.java
+++ b/src/com/android/browser/BrowserSettings.java
@@ -23,6 +23,7 @@
import android.content.pm.ActivityInfo;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
+import android.net.Uri;
import android.preference.PreferenceActivity;
import android.preference.PreferenceScreen;
import android.webkit.CookieManager;
@@ -156,6 +157,10 @@
// a ListView
public final static int MAX_TEXTVIEW_LEN = 80;
+ public static final String RLZ_PROVIDER = "com.google.android.partnersetup.rlzappprovider";
+
+ public static final Uri RLZ_PROVIDER_URI = Uri.parse("content://" + RLZ_PROVIDER + "/");
+
private TabControl mTabControl;
// Single instance of the BrowserSettings for use in the Browser app.