commit | fc4ec6a9cb5dd6a897aa4f183c487dedb43cdd8d | [log] [tgz] |
---|---|---|
author | Hall Liu <hallliu@google.com> | Tue Oct 20 16:42:40 2020 -0700 |
committer | Hall Liu <hallliu@google.com> | Tue Oct 20 16:44:09 2020 -0700 |
tree | d14db56c0e88585757a92888abb6cfa9bf2fd5e3 | |
parent | c7393c8ed0ac148959b6fbdd4dcee72b4a33ed5e [diff] |
Clone array in getAllNetworkTypes Clone the returned array so as to not let the caller mutate the static array in TelephonyManager. Test: atest TelephonyManagerTest Fixes: 171281911 Change-Id: Iff0ad3b712f4c2e8712be775e2eab805a94bcdf4