OSDN Git Service

Allow ALL_USERS in setUserRestrictionForUser
authorPhilip P. Moltmann <moltmann@google.com>
Fri, 23 Jun 2017 21:05:04 +0000 (14:05 -0700)
committerPhilip P. Moltmann <moltmann@google.com>
Wed, 28 Jun 2017 20:06:45 +0000 (13:06 -0700)
commite683f19c4939ce683c7a7d6fe4286b16e372324f
tree8f32e4647a8da64264d6d7bf8f9a0e7522193c34
parenteabf970559c6dd012fa675fad89963dce8118d16
Allow ALL_USERS in setUserRestrictionForUser

This will be used e.g. by the permission granting UI.

Fixes: 35612487
Test: 1. Installed facebook messanger and enabled chat-heads in private
         profile
      2. Opened work-profile camera which asks for location
         permission
      3. Chat head disappered during permission check
      4. Chat head re-appeared after permission check

Change-Id: Ie9a5e5379c20972f34945c9cb062cd8e3df483d4
services/autofill/java/com/android/server/autofill/ui/OverlayControl.java
services/core/java/com/android/server/AppOpsService.java