Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da321ee3 authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Ignore null actions in BlobStoreManagerService receivers.

Bug: 369064801
Test: manual
Flag: EXEMPT bugfix
Change-Id: Id07a3cea3ed9463f75dc98a86a98baaac4fb240a
parent 5315c21b
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -1404,7 +1404,11 @@ public class BlobStoreManagerService extends SystemService {
            if (LOGV) {
                Slog.v(TAG, "Received " + intent);
            }
            switch (intent.getAction()) {
            final String action = intent.getAction();
            if (action == null) {
                return;
            }
            switch (action) {
                case Intent.ACTION_PACKAGE_FULLY_REMOVED:
                case Intent.ACTION_PACKAGE_DATA_CLEARED:
                    final String packageName = intent.getData().getSchemeSpecificPart();
@@ -1431,7 +1435,11 @@ public class BlobStoreManagerService extends SystemService {
            if (LOGV) {
                Slog.v(TAG, "Received: " + intent);
            }
            switch (intent.getAction()) {
            final String action = intent.getAction();
            if (action == null) {
                return;
            }
            switch (action) {
                case Intent.ACTION_USER_REMOVED:
                    final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE,
                            USER_NULL);