Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2591677e authored by Bryce Lee's avatar Bryce Lee Committed by android-build-merger
Browse files

Allow for supported profiles to be reloaded on enable.

am: 4f060060

* commit '4f060060':
  Allow for supported profiles to be reloaded on enable.
parents 70f7af35 4f060060
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -426,6 +426,12 @@ public class AdapterService extends Service {

    void BleOnProcessStart() {
        debugLog("BleOnProcessStart()");

        if (getApplicationContext().getResources().getBoolean(
                R.bool.config_bluetooth_reload_supported_profiles_when_enabled)) {
            Config.init(getApplicationContext());
        }

        Class[] supportedProfileServices = Config.getSupportedProfiles();
        //Initialize data objects
        for (int i=0; i < supportedProfileServices.length;i++) {