Adnan Begovic
1b26bb4a74
launcher3: Improve SimpleBroadcastReceiver.
...
Unless explicitly annotated, parameters in java are by
default nullable. There are a few cases where a null context
may be passed to the unregisterReceiverSafely function
of SimpleBroadcastReceiver.
To mitigate misuses or incorrect contexts being passed for
register vs unregister, keep the context as a strong reference
in the constructor.
Also added NonNull annotations for any public callsites to
enforce behavior.
Bug: 395019017, 395966395
Flag: NONE - bug fixed
Test: manual - presubmit
Change-Id: Ie371fa45cadceaf51cf184b446df9123ef27c337
2025-02-12 13:43:34 -08:00
..
2025-01-08 10:15:49 -08:00
2025-02-10 13:21:59 -08:00
2025-01-15 13:30:53 +00:00
2025-01-06 21:53:22 -08:00
2024-11-27 16:48:28 -08:00
2025-02-03 14:19:12 -08:00
2024-08-15 11:40:31 -07:00
2025-01-16 14:02:55 -05:00
2025-02-12 10:27:18 -08:00
2024-08-28 22:06:36 +00:00
2025-01-29 16:24:38 +00:00
2025-02-05 09:44:22 -08:00
2025-02-12 13:43:34 -08:00
2025-02-11 13:22:06 -08:00
2024-08-15 16:41:18 +01:00
2025-02-03 23:58:42 +00:00
2025-02-11 15:22:18 -08:00
2025-01-23 10:02:18 -08:00
2024-08-27 12:23:21 -07:00
2025-02-12 13:43:34 -08:00
2025-02-03 17:23:10 -08:00
2025-02-11 15:22:18 -08:00
2024-05-29 13:40:41 -07:00
2024-11-14 16:21:07 +08:00
2024-05-08 12:31:24 -07:00
2025-01-27 09:54:02 -08:00
2025-02-11 15:22:18 -08:00
2025-02-12 10:27:18 -08:00
2025-02-07 18:57:31 +00:00
2024-03-26 17:16:52 +00:00
2025-02-04 10:11:34 -08:00
2025-02-12 10:27:18 -08:00
2025-01-16 14:02:55 -05:00
2025-02-03 13:29:58 -08:00
2025-02-12 13:43:34 -08:00
2025-02-04 10:11:34 -08:00
2025-02-10 11:59:47 -08:00
2025-01-17 09:57:38 -08:00
2024-04-09 16:35:55 +01:00
2024-09-24 18:51:46 -04:00
2024-08-30 22:46:45 +00:00
2025-01-17 13:27:00 -08:00
2025-02-12 10:27:18 -08:00
2025-02-10 11:49:32 -08:00
2024-11-21 13:32:43 -08:00
2025-01-28 08:45:28 -08:00
2024-12-06 22:23:51 -08:00
2024-12-13 00:41:06 +00:00
2024-05-08 12:31:24 -07:00
2025-02-11 15:22:18 -08:00
2025-02-03 17:23:10 -08:00
2024-09-18 10:01:22 -07:00
2024-12-06 14:57:31 -08:00
2025-02-12 13:43:34 -08:00
2025-02-11 08:18:42 -08:00
2024-04-11 16:00:34 -07:00
2024-10-24 12:14:40 -07:00
2025-02-12 13:43:34 -08:00
2024-10-23 11:32:53 -07:00
2024-12-06 17:10:03 +00:00
2024-12-03 02:43:13 +00:00
2025-01-03 13:49:53 -08:00
2024-10-09 18:55:51 -04:00
2025-02-12 10:27:18 -08:00
2025-01-09 12:28:42 -08:00
2025-02-04 10:11:34 -08:00
2024-12-26 20:19:02 -08:00
2025-02-04 10:11:34 -08:00
2024-04-25 15:56:30 -07:00
2025-01-30 13:19:32 -08:00
2024-09-12 15:12:08 -07:00
2025-01-08 18:44:40 +00:00
2024-11-12 13:36:13 -08:00
2024-11-15 16:38:27 -05:00
2024-11-15 16:38:27 -05:00
2024-12-06 14:57:31 -08:00
2025-02-10 11:49:32 -08:00
2024-03-19 15:28:38 -07:00
2025-01-30 15:45:47 -08:00
2024-06-05 18:58:23 +00:00