commit | 834fe82d8926a3e1ba1ce2a0811f921f006190da | [log] [tgz] |
---|---|---|
author | Hai Shalom <haishalom@google.com> | Fri Feb 05 16:54:27 2021 -0800 |
committer | Hai Shalom <haishalom@google.com> | Mon Feb 22 17:33:28 2021 -0800 |
tree | 33d2f958c2e5ddba35f5e06c17218b47863f1843 | |
parent | caa7e48911b0e971c40adfb174157f8e79b96ca6 [diff] |
[WifiInstaller] Delete files only if parsed successfully Added input checks and delete the configuration file (passed as a URI) only if it contains a valid Passpoint configuration. Bug: 176756691 Test: Download a real configuration file, verify correct installation and file deleted. Test: Download a garbage file with the correct mime type, verify that installation fails and the file is nore deleted. Change-Id: Ic9106d46abd9bed642465b8d023bac6dfc5a0f3b