Lorenzo Colitti
0ad9ab07fa
Avoid null app context in StaticApplicationContextServiceFetcher.
...
StaticApplicationContextServiceFetcher passes the application
context to the services it creates, but sometimes the application
context can be null. Cases we've seen so far are:
- Apps that (incorrectly) call getSystemService in
attachBaseContext. In this case the passed-in context is what
will become the application context soon afterwards.
- ActivityThread$ApplicationThread.setHttpProxy. In this case the
passed-in context is the system context.
In both of these cases the passed-in context is never freed, so
passing it in to the service will not result in a leak.
Bug: 27532714
Bug: 27502146
Bug: 27337770
Change-Id: I5971c67b0e699d1a77850be8a338a448a96ec7d7
2016-03-28 17:33:30 +09:00
..
2016-03-23 13:14:33 +00:00
2015-12-02 17:43:19 -07:00
2016-03-17 14:49:08 -06:00
2016-03-15 17:52:29 -07:00
2016-02-27 17:17:01 -07:00
2016-03-14 11:24:12 -07:00
2016-01-04 20:52:23 +00:00
2016-03-24 11:47:32 +00:00
2016-03-24 20:03:02 -07:00
2016-03-25 14:27:58 -07:00
2016-03-27 10:56:48 -06:00
2016-03-25 14:23:41 -07:00
2016-03-17 22:00:26 +00:00
2016-02-10 22:12:14 +00:00
2016-01-08 08:29:25 -08:00
2015-11-11 18:21:57 -05:00
2016-03-18 16:52:30 -07:00
2015-08-11 15:02:42 -04:00
2016-03-02 07:57:01 -08:00
2016-03-24 18:01:22 -07:00
2016-02-18 22:30:49 -08:00
2016-03-11 14:05:44 -08:00
2015-09-30 13:39:12 -04:00
2016-03-08 10:41:31 -05:00
2016-03-01 21:40:54 +00:00
2015-12-10 12:12:00 -08:00
2016-03-25 14:23:41 -07:00
2016-03-08 18:48:47 -05:00
2016-03-24 11:47:32 +00:00
2015-08-13 16:57:29 -07:00
2016-03-25 22:01:07 +00:00
2016-03-23 14:01:35 -07:00
2016-03-23 14:01:35 -07:00
2016-03-23 13:07:27 -07:00
2016-02-08 19:10:44 +00:00
2015-10-19 16:40:03 -07:00
2016-03-23 13:07:27 -07:00
2016-02-08 19:10:44 +00:00
2016-02-08 19:00:52 +00:00
2016-03-27 10:56:48 -06:00
2015-12-10 16:06:50 -08:00
2015-12-10 16:06:50 -08:00
2015-12-10 16:06:50 -08:00
2016-03-02 07:57:01 -08:00
2016-01-22 14:38:52 +01:00
2016-03-08 17:23:33 -05:00
2016-03-09 09:52:51 -08:00
2016-01-21 15:07:01 +00:00
2016-03-25 14:23:41 -07:00
2016-01-28 10:09:05 -08:00
2015-11-16 17:58:32 -08:00
2015-12-03 13:05:35 -08:00
2016-03-21 15:32:57 -07:00
2016-02-23 17:04:58 -08:00
2015-12-15 10:45:13 +00:00
2016-03-17 14:49:08 -06:00
2016-03-01 07:29:17 -08:00
2016-03-11 10:09:14 -05:00
2016-02-25 14:57:55 -08:00
2015-11-20 14:25:07 -05:00
2016-03-23 10:49:40 -07:00
2016-03-16 09:33:02 -04:00
2016-01-28 19:20:12 -07:00
2016-03-10 11:30:18 -08:00
2016-02-09 15:56:13 -07:00
2015-11-26 00:02:05 -08:00
2016-03-01 19:29:16 -07:00
2016-02-19 09:11:39 -08:00
2016-03-01 19:29:16 -07:00
2015-12-02 16:40:11 -08:00
2016-03-28 17:33:30 +09:00
2015-11-16 16:10:56 -05:00
2016-01-29 16:58:07 +00:00
2016-01-28 10:09:05 -08:00
2016-03-02 17:12:42 +00:00
2015-07-28 12:52:11 -07:00
2016-03-21 15:32:57 -07:00