mirror of
https://github.com/areteruhiro/LIME-beta-hiro.git
synced 2025-02-11 16:01:37 +09:00
アクティビティの挙動を修正
This commit is contained in:
parent
67b2b04bdc
commit
6d171eac5c
@ -9,6 +9,7 @@
|
|||||||
android:theme="@style/Theme.LIME">
|
android:theme="@style/Theme.LIME">
|
||||||
<activity
|
<activity
|
||||||
android:name=".SettingsActivity"
|
android:name=".SettingsActivity"
|
||||||
|
android:clearTaskOnLaunch="true"
|
||||||
android:exported="true" >
|
android:exported="true" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
@ -78,10 +78,10 @@ public class SettingsActivity extends AppCompatActivity {
|
|||||||
.setPositiveButton(context.getString(R.string.dialog_positive), new DialogInterface.OnClickListener() {
|
.setPositiveButton(context.getString(R.string.dialog_positive), new DialogInterface.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(DialogInterface dialog, int which) {
|
public void onClick(DialogInterface dialog, int which) {
|
||||||
finish();
|
finishAndRemoveTask();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.setCancelable(false)
|
.setCancelable(false)
|
||||||
.show();
|
.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user