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

Commit 2442b5ee authored by Andre Eisenbach's avatar Andre Eisenbach Committed by android-build-merger
Browse files

Merge "Enable the AVRCP Service by default (1/2)" into pi-dev

am: a05dfaf4

Change-Id: I8bed17a6fc25eeef4569df60b753ac5cddab3627
parents 3141414c a05dfaf4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ public class AvrcpTargetService extends ProfileService {
    protected void setUserUnlocked(int userId) {
        Log.i(TAG, "User unlocked, initializing the service");

        if (!SystemProperties.getBoolean(AVRCP_ENABLE_PROPERTY, false)) {
        if (!SystemProperties.getBoolean(AVRCP_ENABLE_PROPERTY, true)) {
            Log.w(TAG, "Skipping initialization of the new AVRCP Target Player List");
            sInstance = null;
            return;
@@ -139,7 +139,7 @@ public class AvrcpTargetService extends ProfileService {
        filter.addAction(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED);
        registerReceiver(mReceiver, filter);

        if (!SystemProperties.getBoolean(AVRCP_ENABLE_PROPERTY, false)) {
        if (!SystemProperties.getBoolean(AVRCP_ENABLE_PROPERTY, true)) {
            Log.w(TAG, "Skipping initialization of the new AVRCP Target Service");
            sInstance = null;
            return true;