Merge pull request #10908 from osmandapp/add_restart_required_after_import
Add text if app restart required after settings import
This commit is contained in:
commit
c9fda1bfc1
2 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
|
||||
-->
|
||||
|
||||
<string name="app_restart_required">Application restart required to apply some settings.</string>
|
||||
<string name="on_pause">On pause</string>
|
||||
<string name="track_recording_description">Are you sure you want to stop recording?\nAll unsaved data will be lost.</string>
|
||||
<string name="track_recording_title">Track recording stopped</string>
|
||||
|
|
|
@ -102,6 +102,8 @@ public class ImportCompleteFragment extends BaseOsmAndFragment {
|
|||
}
|
||||
});
|
||||
if (needRestart) {
|
||||
description.append("\n\n");
|
||||
description.append(app.getString(R.string.app_restart_required));
|
||||
setupRestartButton(root);
|
||||
}
|
||||
if (Build.VERSION.SDK_INT >= 21) {
|
||||
|
|
Loading…
Reference in a new issue