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

Commit 749f1645 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Ignore null action in WebViewUpdateService." into main

parents f1ea6483 fc3a1ac9
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -84,8 +84,13 @@ public class WebViewUpdateService extends SystemService {
        mWebViewUpdatedReceiver = new BroadcastReceiver() {
                @Override
                public void onReceive(Context context, Intent intent) {
                    final String action = intent.getAction();
                    if (action == null) {
                        return;
                    }

                    int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
                    switch (intent.getAction()) {
                    switch (action) {
                        case Intent.ACTION_PACKAGE_REMOVED:
                            // When a package is replaced we will receive two intents, one
                            // representing the removal of the old package and one representing the