Jared Duke
7d0c90b51f
Add keep rules for @KeepForWeakReference annotation
...
Ensure annotated fields are kept when treeshaking-related optimizations
are enabled. Note that this still allows field removal if tree shaking
reveals no references, but will avoid removal if there are references
that might impact downstream usage, e.g., weak references.
Bug: 227455445
Test: atest InternalAnnotationsTest
Change-Id: I59c6277c43b14c5de8154fa1eefad01f0702e413
2022-05-11 09:47:12 -07:00
..
2021-02-11 22:36:04 -08:00
2022-02-16 18:41:09 +08:00
2022-04-28 08:03:55 +00:00
2019-06-22 13:03:09 -07:00
2018-03-20 15:47:45 -07:00
2018-01-10 00:12:48 +00:00
2020-08-03 15:47:09 +09:00
2022-03-30 18:16:51 +01:00
2020-06-12 21:10:55 -07:00
2021-05-13 16:16:19 -07:00
2022-04-12 13:43:28 -07:00
2021-09-22 04:20:05 +00:00
2022-04-28 16:20:32 -07:00
2022-03-22 09:25:58 -07:00
2022-05-02 14:16:04 -07:00
2022-02-28 22:57:26 +00:00
2020-01-14 17:00:13 -08:00
2022-03-29 16:11:12 +01:00
2020-06-30 12:46:41 -07:00
2018-06-21 10:12:23 -07:00
2020-09-22 18:55:11 +08:00
2017-10-20 12:49:28 -07:00
2017-08-18 02:46:39 +00:00
2022-03-23 11:18:39 -07:00
2022-03-02 01:25:22 +00:00
2022-05-02 14:19:51 +09:00
2018-06-12 13:48:49 -07:00
2019-12-26 16:52:34 -08:00
2021-03-31 15:33:35 -07:00
2022-04-25 11:02:41 +02:00
2020-04-18 21:00:18 -07:00
2021-02-11 17:09:19 +00:00
2022-04-27 13:32:04 +01:00
2022-03-16 14:21:08 -07:00
2022-04-27 13:32:04 +01:00
2021-05-05 15:18:39 +01:00
2022-04-15 17:29:26 +00:00
2022-04-05 16:52:23 -07:00
2022-04-13 14:48:32 -07:00
2022-04-06 01:11:20 +00:00
2017-12-20 15:05:17 -08:00
2022-04-13 14:48:32 -07:00
2021-04-02 21:05:48 -07:00
2020-06-08 16:36:52 -07:00
2020-06-08 16:36:52 -07:00
2022-01-06 18:47:57 +00:00
2021-04-02 10:24:48 -07:00
2021-06-04 00:05:55 +00:00
2020-03-05 20:46:47 +00:00
2018-09-12 23:58:01 +00:00
2019-02-05 00:19:41 -08:00
2021-02-08 10:55:05 -08:00
2019-06-12 21:34:52 +00:00
2019-02-05 00:19:41 -08:00
2018-10-26 23:55:49 -07:00
2021-11-30 13:20:01 -08:00
2018-09-15 10:52:13 -07:00
2020-03-07 11:29:29 -08:00
2020-03-07 11:29:29 -08:00
2020-06-16 16:13:03 +08:00
2019-07-09 08:57:19 +00:00
2020-05-18 09:58:18 +08:00
2022-03-30 20:05:34 -07:00
2021-11-15 21:46:52 +00:00
2019-07-15 17:29:42 +00:00
2021-03-24 20:11:49 +00:00
2019-10-21 09:36:45 +01:00
2021-04-13 12:42:44 +01:00
2021-07-08 17:01:43 -07:00
2019-07-15 17:29:42 +00:00
2022-04-25 11:02:41 +02:00
2018-08-29 17:33:29 +00:00
2020-06-10 17:18:13 -07:00
2020-08-24 23:16:19 +09:00
2020-04-28 10:25:41 +09:00
2021-03-15 18:17:35 +09:00
2022-04-28 13:36:36 -07:00
2022-05-02 09:52:50 +02:00
2019-11-11 15:21:06 -08:00
2019-02-05 00:19:41 -08:00
2018-09-15 10:52:13 -07:00
2021-09-22 04:20:05 +00:00
2019-07-15 17:29:42 +00:00
2020-09-01 10:33:47 +08:00
2022-04-13 15:49:56 -07:00
2021-11-09 02:05:25 +00:00
2022-04-07 22:04:03 -07:00
2022-03-17 13:55:15 -07:00
2022-04-29 13:51:31 +01:00
2019-07-30 22:36:29 -07:00
2022-01-06 18:47:57 +00:00
2020-06-08 16:36:52 -07:00
2020-05-27 19:37:03 -07:00
2019-11-11 09:30:38 -08:00
2019-09-18 16:23:04 +00:00
2022-05-02 14:16:04 -07:00
2022-04-29 18:32:40 +00:00
2022-04-27 11:55:08 -07:00
2022-04-13 15:49:56 -07:00
2022-02-07 10:54:51 -08:00
2022-05-11 09:47:12 -07:00
2018-05-03 16:47:11 -07:00
2018-11-20 15:31:44 +08:00
2022-04-18 12:10:33 -07:00
2022-01-26 14:05:02 +00:00
2017-10-20 12:49:28 -07:00
2021-09-22 04:20:05 +00:00
2021-09-24 18:39:47 +00:00
2021-04-06 12:41:10 +02:00
2019-11-14 09:57:13 -08:00
2020-06-12 21:10:55 -07:00
2020-01-29 18:26:32 +00:00
2021-04-02 21:05:48 -07:00
2020-03-07 11:29:29 -08:00
2020-06-11 22:57:48 +00:00
2021-11-17 19:45:49 -08:00
2022-04-06 01:11:20 +00:00
2022-04-18 15:03:37 -04:00
2022-04-28 22:20:47 +00:00
2022-04-12 18:57:15 -07:00
2022-04-06 01:11:20 +00:00
2022-01-06 18:47:57 +00:00
2020-02-03 19:00:36 +00:00
2020-03-07 11:29:29 -08:00
2019-10-18 18:28:23 +00:00
2018-05-03 16:47:55 -07:00
2022-03-23 23:27:02 +00:00
2021-03-15 10:45:05 -07:00
2019-02-05 00:19:41 -08:00
2022-04-22 09:16:00 -07:00
2022-04-29 09:09:03 +00:00