summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2024-07-09 07:31:26 +0000
committer Yohei Yukawa <yukawa@google.com> 2024-07-09 07:31:26 +0000
commitde19f0da1b55e94592d8df1081fa9cbd08b4f25d (patch)
treed37350549abef9fe81120b56540a4b0af750cc92 /api/api.go
parentc7aa0be40fba631117882fa7cc380ea9394f372f (diff)
Mock out one more overload of Context#registerReceiver()
This is a preparation before making InputMethodManagerService#mImeDrawsImeNavBarRes multi-user ready. Instantiating InputMethodManagerService results in invoking SystemLocaleWrapper#onStart(), which internally registers a BroadcastReceiver. All the tests based on InputMethodManagerServiceTestBase are now failing to unregister such receivers. Let's make it no-op by mocking Context#registerReceiver( BroadcastReceiver, IntentFilter, String, Handler) for now. Bug: 345519864 Test: atest FrameworksInputMethodSystemServerTests Flag: TEST_ONLY Change-Id: Ia457d631eda0f04a7acdd92315b896a97aa4fcb1
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions