Skip to content

Commit 87af085

Browse files
committed
force-stop the correct package
1 parent c3835cf commit 87af085

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

BetterBluetoothDeviceSort/src/debug/java/RestartSettingsActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class RestartSettingsActivity : Activity() {
1111
override fun onCreate(savedInstanceState: Bundle?) {
1212
super.onCreate(savedInstanceState)
1313
thread {
14-
Runtime.getRuntime().exec("su -c am force-stop com.android.settings").waitFor()
14+
Runtime.getRuntime().exec("su -c am force-stop com.android.bluetooth").waitFor()
1515
runOnUiThread {
1616
try {
1717
startActivity(Intent(Settings.ACTION_BLUETOOTH_SETTINGS).apply {

0 commit comments

Comments
 (0)