commit | 8ad49f771c18893d6d286528c9741289f0d3f728 | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Thu May 29 20:27:52 2014 +0100 |
committer | Robin Lee <rgl@google.com> | Thu May 29 19:35:53 2014 +0000 |
tree | ad45f8d348ac2bd706d6e71ad63dcfc022ad19d0 | |
parent | b4ce0d7e84c783a3134ef207c7327f55af792ce5 [diff] |
Halt managed provisioning if battery level is too low This mirrors the behaviours of the encryption screen in Settings and of the encryption process itself, namely that: - battery level should be at least 80% - the device should be plugged in If any requirement is not satisfied the encrypt activity will stop progress and show a warning until it is fixed. @bug 15156177 Change-Id: Id2594daffed0e0d3d404eabce656c08112f4830f