commit | c78dd4fc5bb3c078569370a5612c9aa7576aa3f1 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Thu Oct 31 01:39:14 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Oct 31 01:39:14 2024 +0000 |
tree | 1a6fdefd98655f319192c97f206c7d4b92764fc9 | |
parent | b54cc2d5d37d057e57aacc1facc26d1948040012 [diff] | |
parent | d4d51d7679b1775e1a048c574423abc3c7516b87 [diff] |
Merge "Ignore null action in VcnManagementService$VcnBroadcastReceiver" into main
diff --git a/services/core/java/com/android/server/VcnManagementService.java b/services/core/java/com/android/server/VcnManagementService.java index dc7749c..06e6c8b 100644 --- a/services/core/java/com/android/server/VcnManagementService.java +++ b/services/core/java/com/android/server/VcnManagementService.java
@@ -525,6 +525,9 @@ @Override public void onReceive(Context context, Intent intent) { final String action = intent.getAction(); + if (action == null) { + return; + } switch (action) { case Intent.ACTION_PACKAGE_ADDED: // Fallthrough