Marie Janssen
d06f49189c
Bluetooth: stop pairing service correctly
...
If BluetoothPairingService was stopped and restarted, it would receive
a null intent, and it also would not signal correctly when it needed to
be stopped.
Since restarts can happen, check that we are still bonding when starting.
Also prevent crashes when we might be called with a null intent.
Test: initiate pairing remotely, adb am kill service, notice no crash
Bug: 36130262
Change-Id: I408811935fdb36591826f4481d103cf4799db27e
2017-03-20 12:23:26 -07:00
..
2016-09-12 16:17:09 -07:00
2016-08-26 16:35:06 +01:00
2016-10-06 22:46:32 +00:00
2016-01-27 10:58:58 -05:00
2017-03-20 12:23:26 -07:00
2016-11-02 16:42:03 +00:00
2017-03-12 23:03:20 +00:00
2016-09-27 17:46:52 -07:00
2016-11-17 00:09:38 +00:00
2016-07-27 12:10:51 -07:00
2016-09-28 15:24:14 +00:00
2016-12-12 20:55:40 +09:00
2016-10-11 14:23:59 -07:00
2016-08-30 18:34:15 +00:00
2016-05-17 16:25:39 -07:00
2016-03-23 16:07:28 +00:00
2016-05-09 17:56:06 +00:00
2016-10-05 14:18:40 +00:00
2016-10-07 19:30:01 +00:00
2016-09-28 15:24:14 +00:00
2016-08-29 18:03:26 +00:00
2016-04-24 10:55:41 -04:00
2017-03-01 21:00:57 +09:00
2017-03-16 22:02:32 +08:00
2016-10-07 19:30:01 +00:00
2016-05-17 13:56:57 +01:00
2016-09-09 23:46:49 +00:00
2016-05-13 13:35:37 -07:00
2017-01-18 10:44:57 +09:00
2016-01-27 10:58:58 -05:00
2016-09-28 15:40:55 -07:00
2017-03-15 11:11:15 -07:00
2016-01-27 10:58:58 -05:00
2015-12-11 11:56:50 -08:00
2016-12-09 20:50:39 +00:00
2017-03-03 05:15:02 +00:00
2016-01-29 10:15:31 -05:00
2016-01-27 10:58:58 -05:00
2016-07-12 12:51:31 -07:00
2015-11-12 10:09:10 -05:00
2016-09-21 17:16:17 -07:00
2016-12-19 18:04:52 -08:00
2016-04-25 09:27:40 -07:00
2016-10-04 20:33:39 +00:00
2016-08-24 17:17:52 -07:00
2016-06-16 12:13:11 -07:00
2016-05-20 19:10:33 +01:00
2016-07-13 22:12:33 -07:00
2016-05-20 19:10:33 +01:00
2016-05-24 15:57:23 +01:00
2016-08-10 10:59:57 +01:00
2016-10-05 16:51:23 +00:00
2016-07-20 09:55:25 +01:00
2016-02-22 12:52:38 -05:00
2016-05-10 17:16:33 +00:00
2016-03-18 18:44:57 +00:00
2017-01-18 10:44:57 +09:00
2016-05-03 16:39:11 -07:00
2016-01-27 10:58:58 -05:00
2016-01-27 10:58:58 -05:00
2016-01-28 13:10:24 -05:00
2016-04-05 16:47:44 -04:00
2016-07-27 14:49:34 -06:00
2016-06-24 13:17:47 -07:00
2017-03-03 18:56:23 +09:00
2016-04-15 01:14:55 +00:00
2016-03-29 10:29:14 -07:00
2016-07-25 14:22:00 -07:00
2016-01-25 22:39:34 +00:00
2016-02-01 18:42:56 -08:00
2016-09-23 15:33:37 -07:00
2016-04-04 13:20:59 -04:00
2016-04-08 13:02:48 -04:00
2016-01-30 12:15:11 -05:00
2016-03-30 11:41:45 -04:00
2016-06-16 12:13:11 -07:00
2016-01-25 14:09:24 -08:00
2016-08-02 20:02:42 +02:00
2016-03-02 18:08:42 +01:00
2016-07-25 16:45:15 -06:00
2016-01-27 10:58:58 -05:00
2016-01-25 15:09:48 -08:00
2016-06-08 09:48:58 -04:00
2016-01-27 10:58:58 -05:00
2016-06-16 16:24:20 -07:00
2016-01-27 10:58:58 -05:00
2016-01-27 10:58:58 -05:00
2016-04-07 10:44:35 -07:00
2016-05-06 14:28:09 -04:00
2016-03-31 20:13:40 +00:00
2016-05-31 22:43:09 +01:00
2016-03-30 14:39:42 -07:00
2016-03-29 10:29:14 -07:00
2016-01-28 15:40:50 -08:00
2016-05-10 15:41:30 -04:00
2016-08-25 07:39:08 +00:00
2016-07-21 13:30:54 -07:00
2016-06-21 13:29:07 -07:00
2016-01-27 10:58:58 -05:00
2017-02-09 22:01:56 +00:00
2016-06-02 14:12:19 -07:00
2016-03-03 17:06:05 +00:00
2016-08-01 10:19:15 -07:00
2016-03-29 10:29:14 -07:00
2016-05-12 19:12:17 +00:00
2016-07-04 04:01:49 +00:00
2016-01-20 16:26:56 +00:00
2016-06-02 12:40:22 -07:00
2016-04-04 15:20:11 -04:00
2016-04-07 14:23:55 +00:00
2016-06-17 10:05:06 -04:00
2016-05-12 13:48:34 -04:00
2016-01-20 17:48:27 +00:00
2016-02-24 08:55:01 -05:00
2016-09-22 17:43:42 -07:00
2016-10-06 21:51:47 +00:00
2016-02-03 13:13:15 -05:00
2016-05-12 11:13:26 +01:00
2016-02-01 10:40:05 -07:00
2016-10-13 01:34:08 +00:00
2016-06-16 14:42:22 -07:00
2016-06-16 12:13:11 -07:00
2016-06-16 12:13:11 -07:00
2016-06-16 12:13:11 -07:00
2016-06-16 12:13:11 -07:00
2016-04-26 17:20:31 -07:00
2016-06-15 12:36:38 -04:00
2016-08-02 16:34:00 +01:00
2016-02-03 00:24:52 +00:00
2016-07-15 17:32:02 +00:00
2016-09-14 09:22:43 -07:00
2016-06-08 09:48:58 -04:00
2016-06-08 09:48:58 -04:00
2016-02-04 18:58:14 -08:00
2016-08-26 13:26:45 -07:00
2016-08-31 20:51:31 +00:00
2016-03-09 16:19:37 +00:00
2016-02-18 14:12:32 -05:00
2016-02-05 16:13:27 -05:00
2016-02-03 00:24:52 +00:00
2016-02-03 00:24:52 +00:00
2016-05-31 22:43:09 +01:00
2016-05-23 20:11:18 +01:00
2016-05-25 13:11:24 +00:00
2016-05-25 10:55:11 -07:00
2016-08-26 16:35:06 +01:00
2016-06-14 09:44:10 -07:00
2016-01-27 10:58:58 -05:00
2016-05-11 11:20:55 -04:00
2017-02-25 10:23:23 -08:00
2017-02-24 10:45:12 -08:00
2016-02-24 08:55:01 -05:00