summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2016-08-09 17:20:57 -0700
committerSuprabh Shukla <suprabh@google.com>2016-08-09 17:52:54 -0700
commit3cb2b49f443a31b1bb043d0450e350b95acecc8b (patch)
treecd29c97dbdac2de536b318aa1ab74048408c2f3b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent67abc837af97e887477a60fff58821df99f84c72 (diff)
Fixing admins not being removed from DpmMockContext
We were not calling setActiveAdmin before calling setDeviceOwner or setProfileOwner in these tests. They were passing because the admins were not being properly removed in the first place. The admin is actually removed from the admin list inside onReceive of the receiver passed in sendOrderedBroadcastForUser, which was not overridden to call onReceive in DpmMockContext. Bug: 30726135 Change-Id: I08cab5821228738196b229a8f885f7488aaafa34
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions