OLD | NEW |
(Empty) | |
| 1 # Remount /system/ as read-write. |
| 2 adb root && adb wait-for-device |
| 3 adb shell mount -o rw,remount /system |
| 4 |
| 5 # Build an example customizations content provider APK. |
| 6 android update project --path . --name PartnerCustomizationProviderExample --tar
get 1 |
| 7 ant debug |
| 8 |
| 9 # Install the compiled APK. |
| 10 adb shell mkdir -p /system/app |
| 11 adb push bin/PartnerCustomizationProviderExample-debug.apk /system/app/ChromeCus
tomizations.apk |
| 12 |
| 13 # Restart Java services to ensure dex caching. |
| 14 adb shell stop && adb shell start |
| 15 |
| 16 # Start Chrome. |
| 17 adb shell am start -S -n com.android.chrome/.Main |
| 18 |
| 19 # If it worked correctly, Chrome should enable homepage button, disable incognit
o mode and partner bookmark editing mode. |
| 20 |
OLD | NEW |