1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-06 13:31:37 +09:00

アクティビティの挙動を修正

This commit is contained in:
Syuugo 2024-01-22 15:43:15 +09:00
parent 67b2b04bdc
commit 6d171eac5c
2 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@
android:theme="@style/Theme.LIME">
<activity
android:name=".SettingsActivity"
android:clearTaskOnLaunch="true"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

View File

@ -78,10 +78,10 @@ public class SettingsActivity extends AppCompatActivity {
.setPositiveButton(context.getString(R.string.dialog_positive), new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
finish();
finishAndRemoveTask();
}
})
.setCancelable(false)
.show();
}
}
}