commit | de53b46b165ca65a464ecc6f062da55e11050389 | [log] [tgz] |
---|---|---|
author | Jake Hamby <jhamby@google.com> | Tue Sep 06 15:38:23 2011 -0700 |
committer | Jake Hamby <jhamby@google.com> | Tue Sep 06 18:35:08 2011 -0700 |
tree | f32bed4a3e4892ca43b823b9d86130429c801b5c | |
parent | 491af0805dcf92185f1ee2767d11a933e8bb9053 [diff] |
BT device picker: don't rescan after rotating the device The Bluetooth device picker was restarting the device scan after the screen is rotated. Fix this by only starting the scan when the savedInstanceState Bundle passed to onCreate() is null. Also removes "No Bluetooth devices were found nearby" from list if the user switches to a different app and then switches back to the device picker. Bug: 5249380 Change-Id: I8959c850649eb713fb930ee0a8a7bcb73ca7c1aa