Michael Wright
b112f26cce
Use TCM context if application context is unavailble.
...
In TextClassificationManager, we use the application context to reduce
the likelihood of leaking the underlying Activity. Unfortunately, some
places (e.g. auto, system_server) don't actually provide us an
application context, so we need to fall back to whatever context was
passed in to TCM in the first place.
Bug: 80188317
Test: none
Change-Id: Ib4b2e6ed543d3ed56cefd8f56717855158cdc0fe
2018-05-24 14:15:04 +01:00
..
2018-05-01 09:26:01 -07:00
2018-02-22 14:57:55 +01:00
2018-05-07 12:14:00 -07:00
2018-05-10 17:11:47 -07:00
2018-05-24 14:15:04 +01:00
2018-03-21 01:15:02 +00:00
2017-03-24 10:15:50 -07:00
2017-03-16 19:13:02 -07:00
2017-07-01 02:10:04 +01:00
2017-05-31 09:44:15 -07:00
2018-05-18 18:26:30 +02:00
2017-03-30 18:31:24 +00:00
2018-01-25 15:47:57 -08:00
2017-12-07 19:43:33 +01:00
2018-04-16 16:21:52 +02:00
2017-06-19 13:53:32 -07:00
2018-02-19 14:12:01 +00:00
2018-02-21 15:55:58 -08:00
2017-09-05 10:08:37 -07:00
2017-11-15 18:59:35 +00:00
2017-12-08 20:54:50 -08:00
2017-02-22 09:49:32 -08:00
2017-12-12 18:17:00 -08:00
2017-11-16 18:26:55 +00:00
2018-04-06 14:55:52 +00:00
2017-08-14 17:06:17 -07:00
2017-01-26 10:31:50 -08:00
2017-02-21 09:49:10 -08:00
2017-02-21 09:49:10 -08:00
2017-06-12 16:26:53 -06:00
2017-06-27 11:11:06 -06:00
2017-08-02 10:46:22 -07:00
2017-11-23 17:23:26 +01:00
2017-05-30 16:36:48 +00:00
2018-03-19 17:41:08 +00:00
2018-04-23 16:20:27 -07:00
2018-05-08 17:56:05 -07:00
2018-01-17 15:12:19 +01:00
2018-01-17 15:12:19 +01:00
2017-06-14 10:00:16 -07:00
2017-12-07 19:43:33 +01:00
2018-04-23 12:17:37 +00:00
2018-04-10 18:11:19 -07:00
2017-05-26 13:09:56 +01:00
2017-01-26 04:49:33 +00:00
2018-01-24 09:11:49 +09:00
2017-06-05 13:27:11 -06:00
2017-08-25 20:18:11 +00:00
2017-03-22 11:05:49 -04:00
2017-10-16 21:27:54 +01:00
2018-01-23 12:16:45 -08:00
2018-05-17 06:03:58 +00:00
2018-02-15 14:14:25 -05:00
2018-03-15 04:09:19 +00:00
2018-01-17 15:12:19 +01:00
2018-03-08 18:04:21 +01:00
2018-01-17 22:00:37 +01:00
2018-03-14 17:12:45 +01:00
2018-01-17 15:12:19 +01:00
2018-03-13 14:06:08 +01:00
2018-03-21 16:42:59 -07:00
2018-02-14 16:36:16 -08:00
2018-03-27 16:30:07 -07:00
2018-01-18 10:14:14 +09:00
2018-04-30 18:25:55 -07:00
2017-01-09 10:44:58 -08:00
2017-03-08 17:36:10 -08:00
2018-04-27 12:05:00 -07:00
2018-02-21 15:55:58 -08:00
2018-02-21 15:55:58 -08:00
2018-05-17 01:57:31 +00:00
2018-02-16 17:43:20 -06:00
2018-05-18 22:12:30 +00:00
2018-02-26 16:22:34 -08:00
2018-02-12 17:30:02 -08:00
2018-05-14 20:01:37 +00:00
2017-04-25 13:32:19 -07:00
2017-05-12 10:40:53 -07:00
2018-05-17 01:57:31 +00:00
2018-02-08 10:50:15 +01:00
2017-04-14 11:15:50 -04:00
2017-05-17 17:53:38 -06:00
2018-01-25 08:12:48 -08:00
2017-05-08 14:02:58 -07:00
2018-02-20 15:11:58 -05:00
2018-02-13 11:01:24 -08:00
2018-05-18 20:58:38 +00:00
2017-01-12 16:28:19 +01:00
2018-04-17 15:59:50 +02:00
2018-04-03 15:53:01 -07:00
2017-06-29 13:44:19 -04:00
2018-03-07 15:15:36 -08:00