Chromium Code Reviews
Descriptionarc: Update device owner check implementation
Update the device owner check to compare the account id of the active
user with the account id of the owner as provided by the user manager
API. The old implementation uses the logged in user state API which for
unbeknownst reasons returns the owner as a regular user. It can also
change asynchronously at boot resulting in racy behavior as its used
right now.
BUG=702311
BUG=b:34661187
BUG=b:33488433
TEST=run cts -c android.net.wifi.cts.WifiEnterpriseConfigTest -m
testAddEapNetwork
TEST=run cts -c android.net.wifi.cts.WifiManagerTest -m
testWifiManagerNetWork
NOTRY=true
NOPRESUBMIT=true
Review-Url: https://codereview.chromium.org/2756443003
Cr-Commit-Position: refs/heads/master@{#457563}
(cherry picked from commit eb260ae77f464ec4b53627278b9e842cafb3490e)
Review-Url: https://codereview.chromium.org/2757783002
Cr-Commit-Position: refs/branch-heads/3029@{#251}
Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471}
Committed: https://chromium.googlesource.com/chromium/src/+/63b114848a8a4b72925cf14bbcd15d9f540271c3
Patch Set 1 #Patch Set 2 : Add CrBug number #
Messages
Total messages: 17 (10 generated)
|
||||||||||||||||||||||||||||