Files
android/libwvdrmengine/apex/com.google.android.widevine.rc
Jooyung Han b278b4170e Configure WV HAL APEX to be updatable
- add "supportRebootless" to apex_manifest.json
- add <allowed-vendor-apex> sysconfig
- add "on property:apex.com.google.android.widevine.ready=true" to .rc

Now, we can test `adb install` new version of the APEX and see the
service is restarted from the new version.

Note that this doesn't mean that DRM Framework works fine with the
update.

Bug: 248192031
Test: adb install --force-non-staged \
   -i com.android.vending \
   $OUT/vendor/com.google.android.widevine.apex
Change-Id: I7c41b224f0bb55742c0023c23196bba4a09e555f
2022-09-22 19:22:57 +09:00

14 lines
498 B
Plaintext

on property:apex.all.ready=true
mkdir /data/vendor/mediadrm 0770 media mediadrm
# Start service after update
on property:apex.com.google.android.widevine.ready=true
start vendor.drm-widevine-hal
service vendor.drm-widevine-hal /apex/com.google.android.widevine/bin/hw/android.hardware.drm-service.widevine
interface aidl android.hardware.drm.IDrmFactory/widevine
class hal
user media
group media mediadrm drmrpc system
ioprio rt 4
task_profiles ProcessCapacityHigh