OSDN Git Service

setAffiliationIds and getAffiliationIds uses set instead of list
authorTony Mak <tonymak@google.com>
Tue, 25 Apr 2017 08:29:55 +0000 (09:29 +0100)
committerTony Mak <tonymak@google.com>
Wed, 26 Apr 2017 22:42:19 +0000 (22:42 +0000)
commit3165743c5040fb47a32ef30ccb7ffe11275a547e
tree9bf1073b404bad242dc0e2eeb70d34e32da8bc32
parent9226516cef7e4999dd339678ce32dea8a000046d
setAffiliationIds and getAffiliationIds uses set instead of list

Didn't use @remove because java doesn't support two methods differs from
the return type only.

Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_unaffiliatedUser
Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: cts-tradefed run cts-dev --module DevicePolicyManager  --test com.android.cts.devicepolicy.DeviceOwnerPlusProfileOwnerTest

Change-Id: Ic7c7221ef5e680a6765f028c2ab73d4c2f908c58
Fix: 37622682
api/current.txt
api/removed.txt
api/system-current.txt
api/system-removed.txt
api/test-current.txt
api/test-removed.txt
core/java/android/app/admin/DevicePolicyManager.java
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java