Sync state machine between Service and Activity
Bug #1262034 reported by
Yuan-Chen Cheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Humpolec project |
Fix Released
|
High
|
Yuan-Chen Cheng |
Bug Description
Currently state machine flag is not sync between Service and Activity.
For Service:
public enum ServiceState {
READY, FETCHING_CHANNELS, DOWNLOADING, INSTALLING, UNINSTALLING_
}
For Activity:
private enum ActivityStatus {
NORMAL, FETCHING_CHANNELS, NO_CHANNELS, READY_TO_DOWNLOAD, DOWNLOADING, READY_TO_INSTALL, INSTALLING
};
A Unified design should be done !
Related branches
lp:~humpolec-team/humpolec/UbuntuInstaller_lp1262034
- Rex Tsai: Approve
-
Diff: 577 lines (+158/-131)4 files modifiedsrc/com/canonical/ubuntu/installer/InstallActivity.java (+83/-74)
src/com/canonical/ubuntu/installer/LaunchActivity.java (+4/-6)
src/com/canonical/ubuntu/installer/UbuntuInstallService.java (+69/-28)
src/com/canonical/ubuntu/installer/Utils.java (+2/-23)
Changed in humpolec: | |
status: | New → Fix Committed |
Changed in humpolec: | |
milestone: | none → m4-beta2 |
information type: | Embargoed → Public |
Changed in humpolec: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Verified in build M4-beta2