File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
APIJSON-Android/APIJSONTest/app/src/main/java/apijson/demo Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -557,7 +557,6 @@ public int px2dip(float pxValue) {
557
557
private long firstCurTime = 0 ;
558
558
private long lastCurTime = 0 ;
559
559
public void recover (JSONArray touchList ) {
560
- touchList = new JSONArray ();
561
560
isRecovering = true ;
562
561
563
562
// List<InputEvent> list = new LinkedList<>();
Original file line number Diff line number Diff line change 32
32
import apijson .demo .R ;
33
33
import apijson .demo .RequestUtil ;
34
34
import apijson .demo .StringUtil ;
35
+ import apijson .demo .application .DemoApplication ;
35
36
import unitauto .apk .UnitAutoActivity ;
36
37
import zuo .biao .apijson .JSON ;
37
38
@@ -116,8 +117,8 @@ public boolean onLongClick(View v) {
116
117
});
117
118
}
118
119
119
- // DemoApplication.getInstance().onUIAutoActivityCreate(this);
120
- // DemoApplication.getInstance().record();
120
+ DemoApplication .getInstance ().onUIAutoActivityCreate (this );
121
+ DemoApplication .getInstance ().record ();
121
122
122
123
}
123
124
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ protected void onCreate(Bundle savedInstanceState) {
129
129
//反而让 cover 与底部差一个导航栏高度 window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
130
130
131
131
context = this ;
132
- DemoApplication .getInstance ().setCurrentActivity (this );
133
132
134
133
135
134
flowId = getIntent ().getLongExtra (INTENT_FLOW_ID , flowId );
@@ -379,6 +378,7 @@ public void record(View v) {
379
378
// showCover(true, context);
380
379
// finish();
381
380
381
+ DemoApplication .getInstance ().onUIAutoActivityCreate (this );
382
382
DemoApplication .getInstance ().record ();
383
383
finish ();
384
384
}
You can’t perform that action at this time.
0 commit comments