forked from upstream-mirrors/OpenTracks
Remove choose activity type dialog beore starting a new one. Remove clear button next to text edit for api level < 11
This commit is contained in:
@@ -359,7 +359,13 @@ public class RecordingSettingsActivity extends AbstractSettingsActivity
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public void showChooseActivityTypeDialog() {
|
||||
try {
|
||||
removeDialog(DIALOG_CHOOSE_ACTIVITY);
|
||||
} catch (Exception e) {
|
||||
// Can safely ignore.
|
||||
}
|
||||
showDialog(DIALOG_CHOOSE_ACTIVITY);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user