commit | d5234bc50c834573bb79f03be7571886afe37571 | [log] [tgz] |
---|---|---|
author | Tony Mantler <nicoya@google.com> | Mon Apr 28 14:30:05 2014 -0700 |
committer | Tony Mantler <nicoya@google.com> | Mon Apr 28 14:30:05 2014 -0700 |
tree | 7848c4db2e877e655a5d2fb03598dd5ddd88674d | |
parent | 3d353bcc0858208e7320cd3ef6ab930a0fe6d60f [diff] |
Switch to default inbox if no folder is selected Upon new account creation, we might enter the main activity after the inbox has been synced into place, but we won't have navigated to it yet. As a result, the selection was falling back to the first folder in the cursor, which was the starred folder. We can detect this case by observing that mSelectedFolderUri is empty. b/14319452 Change-Id: I4402f42acd7c845ee33db91d3a0037a068391b85