Chromium Code Reviews
DescriptionKeep state even if AndroidManagement check returns MANAGED or ERROR.
This is the first CL to fix the state machine in ArcSessionManager.
With this CL, even if AndroidManagement check returns MANAGED or ERROR,
the state will be left as is (= CHECKING_ANDROID_MANAGEMENT),
expecting more action is done later.
On clicking RETRY button, the management check should re-run.
On giving up the check, Google Play Store enabled preference
should be set to false, which should trigger RequestDisable().
Along with the change, several refactoring is done.
- Renamed the function. (Removed "Arc" prefix, because it is
ArcSessionManager's private method so redundant.)
- Extract StartBackgroundAndroidManagementCheck() method, to be
consistent non-background method.
BUG=657687
BUG=b/31079732
TEST=Ran trybots.
Review-Url: https://codereview.chromium.org/2732983002
Cr-Commit-Position: refs/heads/master@{#455047}
Committed: https://chromium.googlesource.com/chromium/src/+/20e3c142aad1cc086b840a647f0fce829299290e
Patch Set 1 #
Total comments: 3
Patch Set 2 : Address comments. #Patch Set 3 : rebase #
Messages
Total messages: 19 (12 generated)
|
||||||||||||||||||||||||||||