Merge lp://staging/~karni/ubuntuone-android-files/fix-au-when-plugged into lp://staging/ubuntuone-android-files

Proposed by Michał Karnicki
Status: Merged
Approved by: Chad Miller
Approved revision: 340
Merged at revision: 340
Proposed branch: lp://staging/~karni/ubuntuone-android-files/fix-au-when-plugged
Merge into: lp://staging/ubuntuone-android-files
Diff against target: 45 lines (+18/-10)
1 file modified
src/com/ubuntuone/android/files/receiver/EventsReceiver.java (+18/-10)
To merge this branch: bzr merge lp://staging/~karni/ubuntuone-android-files/fix-au-when-plugged
Reviewer Review Type Date Requested Status
Chad Miller (community) Approve
Review via email: mp+106060@code.staging.launchpad.net

Description of the change

Checking "plugged" status is not sufficient. Apparently, when battery is fully charged, plugged flag is not reported in the broadcast receiver, but the battery status. Meaning, both should be checked to ensure check of union of charging and charged status.

To post a comment you must log in.
Revision history for this message
Chad Miller (cmiller) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: