Merge "Fix 'cmd notification' crashes when no command is set."
This commit is contained in:
committed by
Android (Google) Code Review
commit
b266d84df0
@@ -5746,6 +5746,9 @@ public class NotificationManagerService extends SystemService {
|
||||
|
||||
@Override
|
||||
public int onCommand(String cmd) {
|
||||
if (cmd == null) {
|
||||
return handleDefaultCommands(cmd);
|
||||
}
|
||||
final PrintWriter pw = getOutPrintWriter();
|
||||
try {
|
||||
switch (cmd) {
|
||||
|
||||
Reference in New Issue
Block a user