Messaging: Remove cell broadcasts
* Packagemanager doesn't tell us about its' availability anymore * It's accessible from notification settings, no need for the app to be able to launch them Change-Id: I10b7742917f8639c94b0187f158cc30156f90e92
This commit is contained in:
@@ -75,8 +75,6 @@ import com.android.messaging.util.UriUtil;
|
||||
* A central repository of Intents used to start activities.
|
||||
*/
|
||||
public class UIIntentsImpl extends UIIntents {
|
||||
private static final String CELL_BROADCAST_LIST_ACTIVITY =
|
||||
"com.android.cellbroadcastreceiver.CellBroadcastListActivity";
|
||||
private static final String CALL_TARGET_CLICK_KEY = "touchPoint";
|
||||
private static final String CALL_TARGET_CLICK_EXTRA_KEY =
|
||||
"android.telecom.extra.OUTGOING_CALL_EXTRAS";
|
||||
@@ -470,14 +468,6 @@ public class UIIntentsImpl extends UIIntents {
|
||||
return getPendingIntentForConversationListActivity(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Intent getWirelessAlertsIntent() {
|
||||
final Intent intent = new Intent(Intent.ACTION_MAIN);
|
||||
intent.setComponent(new ComponentName(CMAS_COMPONENT, CELL_BROADCAST_LIST_ACTIVITY));
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
return intent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Intent getApnEditorIntent(final Context context, final String rowId, final int subId) {
|
||||
final Intent intent = new Intent(context, ApnEditorActivity.class);
|
||||
|
||||
Reference in New Issue
Block a user