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
This commit is contained in:
Jooyung Han
2022-09-22 19:13:25 +09:00
parent 84badb3109
commit b278b4170e
4 changed files with 29 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
{
"name": "com.google.android.widevine",
"version": 1
"version": 1,
"supportsRebootlessUpdate": true
}