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

Commit a2cf7b53 authored by Jef Oliver's avatar Jef Oliver Committed by Gerrit Code Review
Browse files

Merge "FM Radio: do not try to change thread priority" into jellybean

parents 042f135a 627f240e
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@ import android.content.IntentFilter;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Process;
import android.os.RemoteException;
import android.provider.Settings;
import android.util.Log;
@@ -552,8 +551,6 @@ public class FmReceiverService extends IFmReceiver.Stub {
        filter.addAction(Intent.ACTION_DOCK_EVENT);

        mContext.registerReceiver(mReceiver, filter);

        Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
    }

    public void start(FmBand band) {
+0 −3
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@ import android.content.IntentFilter;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Process;
import android.os.RemoteException;
import android.provider.Settings;
import android.util.Log;
@@ -372,8 +371,6 @@ public class FmTransmitterService extends IFmTransmitter.Stub {
        filter.addAction(Intent.ACTION_DOCK_EVENT);

        mContext.registerReceiver(mReceiver, filter);

        Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
    }

    public void start(FmBand band) {