]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
Support upgrading major android versions
authorAlessandro Astone <ales.astone@gmail.com>
Mon, 18 Jul 2022 21:46:14 +0000 (23:46 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Sat, 23 Jul 2022 07:53:07 +0000 (09:53 +0200)
commitef1f12c89c77bb27334299b5d7abd25b36614892
tree0c7b819a9261ef3d570045767ca18d459d98644f
parentc96959cbf84e5fd02157617bedf67a4a7b086eb0
Support upgrading major android versions

When restarting the lxc container our binder services will receive a
binder_presence event and will try to re-register on the service manager.
If the service manager was created with aidl2 and the new android version
uses aidl3 this will fail with:
  Failed to add service waydroidusermonitor: -2147483647

When that happens, try to restart the service by getting a new service
manager that can handle the new aidl protocol version.
tools/actions/container_manager.py
tools/actions/upgrader.py
tools/helpers/__init__.py
tools/helpers/protocol.py [new file with mode: 0644]
tools/services/clipboard_manager.py
tools/services/hardware_manager.py
tools/services/user_manager.py