summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-11-04 16:27:20 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-11-04 16:27:20 +0000
commit0d2989e34923f140184a92a2da7e99ea7cf595df (patch)
tree319fcf468267d993215db43db24d0ff79e89804d
parent238801c3ab0ec5896bf8d7e2f2fc3cf03880c32b (diff)
parent879cd9981a9bb9b48be5843f8f5026c13f14486c (diff)
Merge "Ignore null action in AppBindingService." into main
-rw-r--r--services/core/java/com/android/server/appbinding/AppBindingService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/appbinding/AppBindingService.java b/services/core/java/com/android/server/appbinding/AppBindingService.java
index 5db6dc7ccc15..6ccb3ee8bcc9 100644
--- a/services/core/java/com/android/server/appbinding/AppBindingService.java
+++ b/services/core/java/com/android/server/appbinding/AppBindingService.java
@@ -235,6 +235,9 @@ public class AppBindingService extends Binder {
}
final String action = intent.getAction();
+ if (action == null) {
+ return;
+ }
if (Intent.ACTION_USER_REMOVED.equals(action)) {
onUserRemoved(userId);