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

Unified Diff: chrome/android/examples/partner_browser_customizations_provider/README

Issue 839663003: Upstream partner customizations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed tests Created 5 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/examples/partner_browser_customizations_provider/README
diff --git a/chrome/android/examples/partner_browser_customizations_provider/README b/chrome/android/examples/partner_browser_customizations_provider/README
new file mode 100644
index 0000000000000000000000000000000000000000..851d3c002a74cfc5043e5a3e77fc9af5f4befc21
--- /dev/null
+++ b/chrome/android/examples/partner_browser_customizations_provider/README
@@ -0,0 +1,20 @@
+# Remount /system/ as read-write.
+adb root && adb wait-for-device
+adb shell mount -o rw,remount /system
+
+# Build an example customizations content provider APK.
+android update project --path . --name PartnerCustomizationProviderExample --target 1
+ant debug
+
+# Install the compiled APK.
+adb shell mkdir -p /system/app
+adb push bin/PartnerCustomizationProviderExample-debug.apk /system/app/ChromeCustomizations.apk
+
+# Restart Java services to ensure dex caching.
+adb shell stop && adb shell start
+
+# Start Chrome.
+adb shell am start -S -n com.android.chrome/.Main
+
+# If it worked correctly, Chrome should enable homepage button, disable incognito mode and partner bookmark editing mode.
+

Powered by Google App Engine
This is Rietveld 408576698