File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
app/src/main/java/com/raincat/dolby_beta Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ public static SSLSocketFactory getSSLSocketFactory(Context context) {
136
136
SSLContext sslContext = null ;
137
137
try {
138
138
File ca = new File (getScriptPath (context ) + File .separator + "ca.crt" );
139
- if (ca .exists ()) {
139
+ if (! SettingHelper . getInstance (). getSetting ( SettingHelper . proxy_server_key ) && ca .exists ()) {
140
140
InputStream certificate = new FileInputStream (ca );
141
141
Certificate certificate1 = CertificateFactory .getInstance ("X.509" ).generateCertificate (certificate );
142
142
KeyStore keyStore = KeyStore .getInstance (KeyStore .getDefaultType ());
@@ -164,4 +164,4 @@ public static SSLSocketFactory getSSLSocketFactory(Context context) {
164
164
else
165
165
return null ;
166
166
}
167
- }
167
+ }
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ public static class DataBean {
53
53
private FreeTrialInfoBean freeTrialInfo ;
54
54
private String level ;
55
55
private String encodeType ;
56
+ private int peak ;
57
+ private int time ;
56
58
57
59
public long getId () {
58
60
return id ;
@@ -190,6 +192,22 @@ public void setEncodeType(String encodeType) {
190
192
this .encodeType = encodeType ;
191
193
}
192
194
195
+ public int getPeak () {
196
+ return peak ;
197
+ }
198
+
199
+ public void setPeak (int peak ) {
200
+ this .peak = peak ;
201
+ }
202
+
203
+ public int getTime () {
204
+ return time ;
205
+ }
206
+
207
+ public void setTime (int time ) {
208
+ this .time = time ;
209
+ }
210
+
193
211
public static class FreeTrialInfoBean {
194
212
private int start ;
195
213
private int end ;
You can’t perform that action at this time.
0 commit comments