Loading cmds/am/src/com/android/commands/am/Am.java +1 −2 Original line number Diff line number Diff line Loading @@ -704,8 +704,7 @@ public class Am extends BaseCommand { } else if (opt.equals("--receiver-permission")) { mReceiverPermission = nextArgRequired(); } else { System.err.println("Error: Unknown option: " + opt); return null; throw new IllegalArgumentException("Unknown option: " + opt); } } intent.setDataAndType(data, type); Loading Loading
cmds/am/src/com/android/commands/am/Am.java +1 −2 Original line number Diff line number Diff line Loading @@ -704,8 +704,7 @@ public class Am extends BaseCommand { } else if (opt.equals("--receiver-permission")) { mReceiverPermission = nextArgRequired(); } else { System.err.println("Error: Unknown option: " + opt); return null; throw new IllegalArgumentException("Unknown option: " + opt); } } intent.setDataAndType(data, type); Loading