GeezerVison is showing github.com — 修复7.0以下安卓版本机器无法打包har的bug · ETS-Android1/AndroidHttpCapture@10aa448
File tree
Expand file treeCollapse file tree
Open diff view settings
src/main/java/net/lightbody/bmp/core/har
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: app/build.gradle +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -8,7 +8,7 @@ android { |
8 | 8 | storeFile file('./darkal.jks') |
9 | 9 | storePassword '333333' |
10 | 10 | v1SigningEnabled true |
11 | | - v2SigningEnabled true |
| 11 | + v2SigningEnabled false |
12 | 12 | } |
13 | 13 | } |
14 | 14 | dexOptions { |
@@ -22,7 +22,7 @@ android { |
22 | 22 | defaultConfig { |
23 | 23 | applicationId "cn.darkal.networkdiagnosis" |
24 | 24 | minSdkVersion 14 |
25 | | - targetSdkVersion 23 |
| 25 | + targetSdkVersion 22 |
26 | 26 | versionCode 31 |
27 | 27 | versionName "3.2.31" |
28 | 28 | // Enabling multidex support. |
|
Collapse file
Copy file name to clipboardExpand all lines: app/src/main/java/net/lightbody/bmp/core/har/HarCookie.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -57,7 +57,7 @@ public void setDomain(String domain) { |
57 | 57 | this.domain = domain; |
58 | 58 | } |
59 | 59 |
|
60 | | - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX") |
| 60 | + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.ssZ") |
61 | 61 | public Date getExpires() { |
62 | 62 | return expires; |
63 | 63 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: app/src/main/java/net/lightbody/bmp/core/har/HarEntry.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -35,7 +35,7 @@ public void setPageref(String pageref) { |
35 | 35 | this.pageref = pageref; |
36 | 36 | } |
37 | 37 |
|
38 | | - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX") |
| 38 | + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ssZ") |
39 | 39 | public Date getStartedDateTime() { |
40 | 40 | return startedDateTime; |
41 | 41 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: app/src/main/java/net/lightbody/bmp/core/har/HarPage.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -34,7 +34,7 @@ public void setId(String id) { |
34 | 34 | this.id = id; |
35 | 35 | } |
36 | 36 |
|
37 | | - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX") |
| 37 | + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.ssZ") |
38 | 38 | public Date getStartedDateTime() { |
39 | 39 | return startedDateTime; |
40 | 40 | } |
|