Potential fix for Bug: 10241642
Check if the fragment is running before handling click. Change-Id: I78ab3db5c5d0b3e041cff7525239698c361fd5fb
This commit is contained in:
@@ -288,6 +288,8 @@ public class ZonePicker extends ListFragment {
|
||||
|
||||
@Override
|
||||
public void onListItemClick(ListView listView, View v, int position, long id) {
|
||||
// Ignore extra clicks
|
||||
if (!isResumed()) return;
|
||||
final Map<?, ?> map = (Map<?, ?>)listView.getItemAtPosition(position);
|
||||
final String tzId = (String) map.get(KEY_ID);
|
||||
|
||||
|
Reference in New Issue
Block a user