Files
frameworks_base/packages/SystemUI/docs
Fabian Kozynski bcb81913fa Use null as default argument
This improves mocking it, as the Java code that results in creating the
overloads doesn't need to call context.getMainExecutor or
context.getUser.

As an example, with a mock mDispatcher, calls to
`mDispatcher(receiver, filter)` with some configurations of Mockito
would fail, as the actual Java method would create the default parameters
calling `context.getMainExecutor()` and `context.getUser()`, but `context`
is null in the mock.

Test: atest SystemUITests
Change-Id: Ia97b62134532c60525d1df33023cc2dd99c1f6a8
2020-10-19 17:34:48 +00:00
..
2020-10-19 17:34:48 +00:00
2020-07-24 16:17:08 -04:00
2020-10-08 08:45:31 -04:00
2018-10-04 14:27:11 -04:00
2020-02-08 21:06:46 +00:00
2020-02-08 21:06:46 +00:00