@@ -96,7 +96,10 @@ public class Network {
HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
@Override
public boolean verify(String hostname, SSLSession session) {
- return true;
+ if(hostname.equals("96.75.188.41"))
+ return true;
+ else
+ return false;
}
});
} catch (Exception ignored) {
@@ -1250,7 +1250,7 @@ public class MainActivity extends AppCompatActivity
- Bitmap scaled1 = Bitmap.createScaledBitmap(source, width, height, true);
+// Bitmap scaled1 = Bitmap.createScaledBitmap(source, width, height, true);
Bitmap scaled =RAUtil.scale_bmp(source,width,height);