Update Volley.java

User agent is only used in else statment.