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

Commit 1b9d7656 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am 2618797c: am 13a6df91: Merge "Only send broadcasts to registered receivers" into jb-mr1-dev

* commit '2618797c':
  Only send broadcasts to registered receivers
parents 614f505c 2618797c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -161,7 +161,8 @@ public class SearchManagerService extends ISearchManager.Stub {
            }
            // Inform all listeners that the list of searchables has been updated.
            Intent intent = new Intent(SearchManager.INTENT_ACTION_SEARCHABLES_CHANGED);
            intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING);
            intent.addFlags(Intent.FLAG_RECEIVER_REPLACE_PENDING
                    | Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
            mContext.sendBroadcastAsUser(intent, new UserHandle(changingUserId));
        }
    }