Skip to content
Snippets Groups Projects
Commit cabfc592 authored by Venkateshwarlu Domakonda's avatar Venkateshwarlu Domakonda
Browse files

FM: Disable search by PTY

Disable PTY search on Silabs based targets.

Change-Id: Ib7537df27fa4eb9988e156fece668102d0807e13
CRs-Fixed: 693912
parent be156648
Branches
No related tags found
No related merge requests found
......@@ -269,6 +269,7 @@ public class FMRadio extends Activity
public static boolean mUpdatePickerValue = false;
private LoadedDataAndState SavedDataAndState = null;
private static String mBTsoc = "invalid";
/** fm stats property string */
public static final String FM_STATS_PROP = "persist.fm.stats";
......@@ -387,6 +388,7 @@ public class FMRadio extends Activity
if ((mERadioTextScroller == null) && (mERadioTextTV != null)) {
mERadioTextScroller = new ScrollerText(mERadioTextTV);
}
mBTsoc = SystemProperties.get("qcom.bluetooth.soc");
}
protected void setDisplayvalue(){
......@@ -697,7 +699,12 @@ public class FMRadio extends Activity
startActivity(launchFMStatIntent);
return true;
case MENU_SCAN_START:
if (mBTsoc.equals("rome")) {
clearStationList();
initiateSearch(0); // 0 - All stations
} else {
showDialog(DIALOG_SEARCH);
}
return true;
case MENU_SCAN_STOP:
cancelSearch();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment