Merge to M65: Android Accessibility: Avoiding crash on unregistering broadcast receiver.

There might be cases where unregistering broadcast receiver can throw
IllegalArgumentException if the context is not handled in an appropriate
manner. This CL avoids the crash.

(cherry picked from commit 8839385d34f511f6498bc20edba638944b67d0cd)

Bug: 780261
Change-Id: Ibd244879237aea099787c37ebc2141366840e7a0
Reviewed-by: Bo <>
Reviewed-by: Dominic Mazzoni <>
Commit-Queue: Isha Bobra <>
Cr-Original-Commit-Position: refs/heads/master@{#532578}
Cr-Commit-Position: refs/branch-heads/3325@{#536}
Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
1 file changed