[Settings] configuration for hidding SIM notification UI
Hide SIM notification UI based on configuraion. Bug: 240515161 Test: test cases and local testing Change-Id: I07d9ddeb96ca590decf28126ce97fba4c1783304
This commit is contained in:
@@ -77,6 +77,10 @@ public class SimSelectNotification extends BroadcastReceiver {
|
||||
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
if (!SubscriptionUtil.isSimHardwareVisible(context)) {
|
||||
Log.w(TAG, "Received unexpected intent with null action.");
|
||||
return;
|
||||
}
|
||||
String action = intent.getAction();
|
||||
|
||||
if (action == null) {
|
||||
|
Reference in New Issue
Block a user