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. |
+ |