Skip to content
Snippets Groups Projects
Commit 47a9890f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "FM: Send a foreground intent to start recording service."

parents eca05087 f2c0663b
No related branches found
No related tags found
No related merge requests found
......@@ -728,6 +728,7 @@ public class FMRadioService extends Service
private void sendRecordServiceIntent(int action) {
Intent intent = new Intent(ACTION_FM);
intent.putExtra("state", action);
intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
Log.d(LOGTAG, "Sending Recording intent for = " +action);
getApplicationContext().sendBroadcast(intent);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment