Skip to content

Commit

Permalink
stop gboard when apply flags backup
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTyp7214 committed Aug 19, 2021
1 parent 6329627 commit 1e2e005
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ android {
applicationId "de.dertyp7214.rboardthememanager"
minSdkVersion 31
targetSdkVersion 31
versionCode 326004
versionCode 326005
versionName "3.2.6"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ class AppStartUp(private val activity: AppCompatActivity) {
isReady = true
openDialog(R.string.load_flags_long, R.string.load_flags) {
SuFile(Flags.FILES.FLAGS.filePath).writeFile(flags.trim())
"am force-stop ${Config.GBOARD_PACKAGE_NAME}".runAsCommand()
}
}

Expand Down

0 comments on commit 1e2e005

Please sign in to comment.