commit | b9a1ebcb4570a1185acbe1cc1cb2bd717d84270f | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Apr 20 14:34:29 2018 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Apr 20 14:34:31 2018 -0600 |
tree | 2e23dee880e706c750ed27f92df7f0b7cab83d8f | |
parent | 3bdd65e25540907e55134709ce9c52521c939017 [diff] |
Increase volume search timeout, fix dialog flow. Slower devices can take longer to process kernel events, so try up to 25 times (~6 seconds) to find the volume after the partitioning is finished. Fix bug where we'd finish() while trying to show the format confirmation dialog, meaning users couldn't format corrupted non-primary volumes. Bug: 74129968, 77849654, 74132243 Test: atest com.android.settings.ui.StorageWizardTest Change-Id: I91144051cb6de0cd944d93b03dc5127676e24be8