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

Commit 51c261d7 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: 371e2047

am: ec7a8e91

* commit 'ec7a8e91':
  Allow for supported profiles to be reloaded on enable.
parents 9873a44c ec7a8e91
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++) {