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) {
557557 private long firstCurTime = 0 ;
558558 private long lastCurTime = 0 ;
559559 public void recover (JSONArray touchList ) {
560- touchList = new JSONArray ();
561560 isRecovering = true ;
562561
563562// List<InputEvent> list = new LinkedList<>();
Original file line number Diff line number Diff line change 3232import apijson .demo .R ;
3333import apijson .demo .RequestUtil ;
3434import apijson .demo .StringUtil ;
35+ import apijson .demo .application .DemoApplication ;
3536import unitauto .apk .UnitAutoActivity ;
3637import zuo .biao .apijson .JSON ;
3738
@@ -116,8 +117,8 @@ public boolean onLongClick(View v) {
116117 });
117118 }
118119
119- // DemoApplication.getInstance().onUIAutoActivityCreate(this);
120- // DemoApplication.getInstance().record();
120+ DemoApplication .getInstance ().onUIAutoActivityCreate (this );
121+ DemoApplication .getInstance ().record ();
121122
122123 }
123124
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ protected void onCreate(Bundle savedInstanceState) {
129129 //反而让 cover 与底部差一个导航栏高度 window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
130130
131131 context = this ;
132- DemoApplication .getInstance ().setCurrentActivity (this );
133132
134133
135134 flowId = getIntent ().getLongExtra (INTENT_FLOW_ID , flowId );
@@ -379,6 +378,7 @@ public void record(View v) {
379378// showCover(true, context);
380379// finish();
381380
381+ DemoApplication .getInstance ().onUIAutoActivityCreate (this );
382382 DemoApplication .getInstance ().record ();
383383 finish ();
384384 }
You can’t perform that action at this time.
0 commit comments