在vendorfreeze_system_t/vendor/google/products/gms_go_2gb.mk下面添加上权限
#Please declare support for android.software.managed_users if the device meets the 2GB threshold as described in the CDD.
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.software.managed_users.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.managed_users.xml
还有另外一个vendorfreeze_system_t/vendor/google/products/gms_go_2gb_eea_v2_type4c.mk
添加上
#Please declare support for android.software.managed_users if the device meets the 2GB threshold as described in the CDD.
PRODUCT_COPY_FILES += frameworks/native/data/etc/android.software.managed_users.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.managed_users.xml