Chiachang Wang
e05d9d88bd
Enforce NETWORK_STACK permission for calling NSS#forceUpdateIfaces
...
ConnectivityManager and its usages are removed from
NetworkStatsService. After that, forceUpdateIfaces requires
information that only ConnectivityService has, hence
restricting the calling permission to NETWORK_STACK or
MAINLINE_NETWORK_STACK permission. The required permission
will be changed from READ_NETWORK_USAGE_HISTORY to
NETWORK_STACK or MAINLINE_NETWORK_STACK. This change would make
it impossible to call outside the system.
Bug: 126830974
Test: atest FrameworksNetTests
Change-Id: I776484921b2dbb6735d7940c558fb5e4baed6d1e
2019-04-09 19:42:52 +08:00
..
2019-04-01 07:20:53 +00:00
2019-03-01 15:07:06 +00:00
2019-03-25 13:19:19 +00:00
2019-03-22 11:43:11 +00:00
2019-02-15 17:30:07 +09:00
2019-04-05 07:13:54 +00:00
2019-04-02 10:43:04 +09:00
2018-09-21 06:16:09 +00:00
2018-09-21 06:16:09 +00:00
2019-04-03 10:16:25 +00:00
2017-11-08 09:47:58 +09:00
2019-04-02 10:43:04 +09:00
2019-03-16 18:53:05 +08:00
2019-03-29 18:12:26 +08:00
2018-08-14 14:44:29 +01:00
2019-01-30 22:54:27 +09:00
2019-03-25 01:43:48 +00:00
2018-01-29 10:11:05 -08:00
2018-01-29 10:11:05 -08:00
2017-11-12 22:27:35 +09:00
2018-06-07 18:42:52 -07:00
2019-03-01 14:06:18 +00:00
2018-12-04 15:25:57 +08:00
2019-01-23 16:44:21 +09:00
2018-01-18 14:46:13 -07:00
2019-02-28 14:39:20 +00:00
2017-04-20 09:26:18 -07:00
2017-05-02 12:23:05 -07:00
2019-03-06 17:18:05 +00:00
2019-02-28 14:39:20 +00:00
2019-03-20 08:56:24 +09:00
2018-08-23 08:43:07 -07:00
2019-03-16 03:50:58 +09:00
2019-04-01 10:23:51 +08:00
2018-03-29 23:07:42 -07:00
2018-11-21 08:34:54 -08:00
2018-06-07 18:42:52 -07:00
2017-06-02 03:18:56 +00:00
2017-06-02 03:18:56 +00:00
2018-06-07 18:42:52 -07:00
2017-06-02 03:18:56 +00:00
2017-06-02 03:18:56 +00:00
2018-01-24 07:24:27 +00:00
2018-01-24 07:24:27 +00:00
2017-06-02 03:18:56 +00:00
2017-06-02 03:18:56 +00:00
2019-03-14 19:24:12 +08:00
2019-02-28 21:46:58 -08:00
2019-03-09 00:35:55 +08:00
2017-08-19 10:12:05 +09:00
2018-01-29 11:20:20 -08:00
2019-02-06 12:22:22 +09:00
2019-03-16 03:50:58 +09:00
2019-04-01 10:23:51 +08:00
2019-03-16 03:50:58 +09:00
2019-04-01 16:24:10 +08:00
2018-08-14 14:44:29 +01:00
2017-09-20 12:23:52 -04:00
2018-08-14 14:44:29 +01:00
2018-08-14 14:44:29 +01:00
2019-01-21 23:03:25 +09:00
2017-04-14 18:22:10 +09:00
2018-08-14 14:44:29 +01:00
2019-02-06 12:22:22 +09:00
2019-03-25 15:56:35 +08:00
2019-03-16 03:51:09 +09:00
2019-03-21 13:55:37 +08:00
2019-03-25 15:56:35 +08:00
2017-06-06 17:40:01 -07:00
2019-04-01 11:33:10 +09:00
2019-03-21 13:55:37 +08:00
2019-03-12 21:47:21 +09:00
2018-01-23 18:38:48 +09:00
2019-03-21 13:55:37 +08:00
2019-03-12 07:37:33 +00:00
2018-08-14 14:44:29 +01:00
2019-02-14 17:26:59 +09:00
2018-08-14 14:44:29 +01:00
2017-08-02 21:34:26 +00:00
2019-04-01 16:24:10 +08:00
2017-08-17 15:19:15 -07:00
2019-02-14 09:48:06 -08:00
2019-04-09 19:42:52 +08:00
2018-10-22 17:28:24 -07:00
2019-03-28 10:31:51 -07:00
2018-08-14 14:44:29 +01:00
2019-03-15 17:23:28 -07:00
2019-04-03 17:49:36 +08:00
2018-01-23 06:32:36 +00:00
2019-03-08 13:04:05 +00:00
2019-03-16 18:53:05 +08:00
2018-08-14 14:44:29 +01:00
2019-03-16 03:50:58 +09:00
2019-01-24 16:07:20 +00:00
2019-03-16 03:50:58 +09:00
2019-04-01 10:23:51 +08:00
2017-08-22 11:09:02 -07:00
2018-08-28 12:59:21 +09:00
2019-03-25 15:56:35 +08:00
2019-03-12 15:10:12 +00:00
2018-08-14 14:44:29 +01:00
2019-03-26 12:05:27 +09:00
2019-04-02 10:43:04 +09:00
2018-08-14 14:44:29 +01:00
2019-02-06 12:22:22 +09:00
2019-03-25 15:56:35 +08:00
2019-02-28 21:46:58 -08:00
2019-02-28 21:46:58 -08:00
2019-02-28 21:46:58 -08:00
2019-01-28 20:11:27 +09:00
2018-12-07 17:37:48 +00:00
2018-10-24 19:45:09 +09:00
2019-03-20 08:56:24 +09:00
2019-03-06 15:06:21 +08:00
2018-07-23 19:53:11 +01:00
2018-10-03 13:29:15 -07:00
2019-04-02 15:14:28 +00:00
2018-12-28 14:26:35 +00:00