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

Commit 61f8d76a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Ignore null action in WebViewUpdateService." into main am: 749f1645 am: ddd10215

parents 0b497fae ddd10215
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -78,8 +78,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