Minor changes

This commit is contained in:
2025-12-31 15:54:25 +01:00
parent 4a90b36f6a
commit b83b6568ca
10 changed files with 24 additions and 57 deletions

View File

@@ -493,7 +493,7 @@ public class Action
&&
!action.toString().equals("turnUsbTetheringOff")
) // exclusion for deprecated types
actionTypesList.add(action.getFullName(context));
actionTypesList.add(action.getFullName(context));
}
return (String[])actionTypesList.toArray(new String[actionTypesList.size()]);

View File

@@ -12,6 +12,7 @@ import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothProfile;
import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.media.AudioManager;

View File

@@ -628,7 +628,7 @@ public class Profile implements Comparable<Profile>
{
Miscellaneous.logEvent("i", "Profile", "Setting audible selection to " + String.valueOf(audibleSelection ? 1 : 0), 4);
if(audibleSelection)
if(audibleSelection)
android.provider.Settings.System.putInt(context.getContentResolver(), android.provider.Settings.System.SOUND_EFFECTS_ENABLED, 1); // enable
else
android.provider.Settings.System.putInt(context.getContentResolver(), android.provider.Settings.System.SOUND_EFFECTS_ENABLED, 0); // dissable