FM: Send a foreground intent to start recording service.

Send a foreground intent to start recording service
sooner.

CRs-fixed: 588562
Change-Id: I8491c0c8ea046c3084be79a07efc68bbf0c85133
diff --git a/fmapp2/src/com/caf/fmradio/FMRadioService.java b/fmapp2/src/com/caf/fmradio/FMRadioService.java
index b23aac1..acf506a 100644
--- a/fmapp2/src/com/caf/fmradio/FMRadioService.java
+++ b/fmapp2/src/com/caf/fmradio/FMRadioService.java
@@ -728,6 +728,7 @@
    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);
    }