OSDN Git Service

Reset SYSTEM_FIXED flags for hard restricted perms
authorPhilip P. Moltmann <moltmann@google.com>
Fri, 31 May 2019 15:48:14 +0000 (08:48 -0700)
committerPhilip P. Moltmann <moltmann@google.com>
Fri, 31 May 2019 18:40:23 +0000 (18:40 +0000)
commit3c2731fdce14bf99a043e8c4bd214fd6fb11160f
treee90786c98690befa8134d9b3f09373fca6828740
parent6a59bbe2be05c374df96765600f616df8b4c564c
Reset SYSTEM_FIXED flags for hard restricted perms

So that incorrectly SYSTEM_FIXED / denied permissions will be able to
get regrated via the default permission grant policy

This can be removed after all devices have been fixed

Test: Got system into the state with SYSTEM_FIXED / denied permission
      and then silulated an OTA with this change
Bug: 134069814
Bug: 134161027

Change-Id: I7bc986f0d3e69dd60a017f16867182163fd6eecb
services/core/java/com/android/server/pm/permission/PermissionManagerService.java