Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
installer/addon: Check A/B partitioning with ro.build.ab_update instead
* As osm0sis suggested (#879 (comment)) some weird A only devices, seem to report slot as _a. * So check with ro.build.ab_update instead (as its defined for every A/B device) * $system_as_root in the installer.sh is unused elsewhere, so drop that too. Reference: - https://source.android.com/devices/tech/ota/ab/ab_implement#build-variables - https://android.googlesource.com/platform/build/+/532fdf4479acb50cdb480e6fdfe24f0698fcd67b%5E%21/ - https://android.googlesource.com/platform/build/+/refs/tags/android-7.1.0_r1/tools/buildinfo.sh#26 - https://android.googlesource.com/platform/build/+/refs/tags/android-10.0.0_r41/tools/buildinfo.sh#28
- Loading branch information