Jeremy Goldman
660e7164c7
Check if the SubscriptionsChangeListener has been started before stop
...
calling mContext.unregisterReceiver on an unregistered broadcast
receiver will result in an exception. To make the
SubscriptionsChangeListener safe from this kind of error, add a check to
see whether start has been called before implementing stop's
functionality.
Bug: 184662284
Bug: 184521296
Test: atest -c SettingsUnitTests
Change-Id: Ic13911ee7573666f5d42ab4612c025968984ba47
2021-04-20 11:33:17 +08:00
..
2021-03-16 10:24:24 +00:00
2021-03-31 14:30:40 +00:00
2020-08-05 17:55:12 +08:00
2020-08-21 16:44:06 +08:00
2020-08-21 16:44:06 +08:00
2020-08-21 16:44:06 +08:00
2020-08-11 04:24:27 +00:00
2020-06-30 15:11:02 -07:00
2021-03-17 21:20:21 +08:00
2021-03-31 09:37:03 +00:00
2020-08-02 21:36:49 +08:00
2021-03-31 09:37:03 +00:00
2021-02-24 11:45:02 +08:00
2021-03-25 11:13:29 -07:00
2021-03-25 11:13:29 -07:00
2021-03-31 09:37:03 +00:00
2019-12-16 16:26:40 +08:00
2019-12-25 16:30:25 +08:00
2020-01-08 14:30:13 +00:00
2021-03-16 10:24:24 +00:00
2019-09-25 18:24:56 +08:00
2020-03-13 15:58:09 +08:00
2020-01-02 17:45:23 +08:00
2021-03-31 09:37:03 +00:00
2020-05-20 19:14:57 +00:00
2021-03-31 09:37:03 +00:00
2021-03-31 09:37:03 +00:00
2021-03-31 09:37:03 +00:00
2021-03-15 06:39:14 +00:00
2021-03-16 09:36:12 +00:00
2021-03-16 09:36:12 +00:00
2020-08-05 17:55:12 +08:00
2021-04-20 11:33:17 +08:00
2020-12-17 03:04:50 +00:00
2020-08-05 09:16:55 +00:00
2021-02-24 11:45:02 +08:00
2021-03-31 09:37:03 +00:00
2021-03-02 03:57:34 +00:00
2020-06-19 23:21:17 +08:00
2020-02-06 19:07:11 +08:00
2021-02-24 11:45:02 +08:00
2021-03-16 10:24:24 +00:00
2021-02-24 11:45:02 +08:00