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

Commit 09c5d877 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5130385 from f9b54878 to pi-qpr2-release

Change-Id: Icc70951e6b32808570791433839f7d7893f65fcc
parents 15615672 f9b54878
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -393,8 +393,7 @@
        </service>
        <service
            android:process="@string/process"
            android:name = ".hearingaid.HearingAidService"
            android:enabled="@bool/profile_supported_hearing_aid">
            android:name = ".hearingaid.HearingAidService">
            <intent-filter>
                <action android:name="android.bluetooth.IBluetoothHearingAid" />
            </intent-filter>
+3 −3
Original line number Diff line number Diff line
@@ -119,10 +119,10 @@ public class Config {
        for (ProfileConfig config : PROFILE_SERVICES_AND_FLAGS) {
            boolean supported = resources.getBoolean(config.mSupported);

            if (supported && (config.mClass == HearingAidService.class) && !FeatureFlagUtils
            if (!supported && (config.mClass == HearingAidService.class) && FeatureFlagUtils
                                .isEnabled(ctx, FeatureFlagUtils.HEARING_AID_SETTINGS)) {
                Log.v(TAG, "Feature Flag disables support for HearingAidService");
                supported = false;
                Log.v(TAG, "Feature Flag enables support for HearingAidService");
                supported = true;
            }

            if (supported && !isProfileDisabled(ctx, config.mMask)) {