Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6bfc967 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

add debug info for parsing Source to download

parent 54e41448
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -236,6 +236,8 @@ public class ConfigParser {
     * @throws java.text.ParseException
     */
    public static HashMap<String, String> parseSourcesToDownload(HashMap yaml) throws ParseException, ClassCastException{
        logger.info("parseSourcesToDownload(...yaml...)");
        
        HashMap<String, String> result = new HashMap<>();
        
        for(String key : (Set<String>) yaml.keySet() ){
@@ -246,6 +248,7 @@ public class ConfigParser {
            if(key.equals("twrp")){
                AppConstants.setTwrpImgPath((String) source.get("filePath"));
            }
            logger.debug("--> url: {}, filePath: {}", source.get("url"), source.get("filePath"));
            result.put((String) source.get("url"), (String) source.get("filePath"));
        }
        return result;