OSDN Git Service

Allow system configs to be read from vendor partition
authorJaekyun Seok <jaekyun@google.com>
Thu, 16 Feb 2017 04:48:30 +0000 (13:48 +0900)
committerJaekyun Seok <jaekyun@google.com>
Thu, 23 Feb 2017 21:02:02 +0000 (06:02 +0900)
commite3b6bf175c86415d682f093489705c011290ade6
tree1c969d5d63c8c86c45e5fa1eb8d8b0494cbd8cf4
parentdf0824ad4cd31a3e96653fe82ce969b08cd00be2
Allow system configs to be read from vendor partition

Soc vendors also want to add their own configs like odms do.
Additionally they should be allowed to add their own app permission
configs because they can install their own apps in /vendor/app.
So Soc vendors should be able to add system configs around libs,
features, permissions and apps.

Additionally this CL modified codes to allow "privapp-permissions"
only on system partition because we won't allow apps on the partner
partitions to count as privileged.

Test: building succeeded and tested on sailfish.
Bug: 35369237
Change-Id: I7d84d6e351d9e7023931757082d9f661c5a9a80a
core/java/com/android/server/SystemConfig.java