blob: 723e22e3e78f7193c7d7f24668890897da1e4f48 [file] [log] [blame]
# Build both our APK and APEX combined together
./build/soong/soong_ui.bash --make-mode -j64 MediaProviderLegacy com.google.android.mediaprovider
# Push our updated APEX to device, then force apexd to remount it
adb shell stop
adb remount
adb sync
adb shell umount /apex/com.android.mediaprovider*
adb shell setprop ctl.restart apexd
adb shell rm -rf /system/priv-app/MediaProvider
adb shell rm -rf /system/priv-app/MediaProviderGoogle
adb shell start