From 9a82bbf368e4b2f1fbab8b028e292ab62de60519 Mon Sep 17 00:00:00 2001 From: Remi NGUYEN VAN Date: Wed, 14 Apr 2021 01:30:55 +0000 Subject: [PATCH] Fix proguard rules for Struct in NetworkStack All members of the Struct class need to be kept, not just the constructor. Change-Id: I8705234eb2608c0dfe324c517b8885a93271b6c2 Test: m --- Tethering/proguard.flags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tethering/proguard.flags b/Tethering/proguard.flags index 9ab56c2b61..75ecdce8d2 100644 --- a/Tethering/proguard.flags +++ b/Tethering/proguard.flags @@ -9,7 +9,7 @@ } -keepclassmembers public class * extends com.android.networkstack.tethering.util.Struct { - public (...); + *; } -keepclassmembers class android.net.ip.IpServer {