pr.java
1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.lotus.town.notify;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import com.lotus.town.R;
import com.umeng.analytics.MobclickAgent;
/**
* 卸载清理
*/
public class pr extends Activity implements View.OnClickListener {
private Button mClean;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.package_remove);
setFinishOnTouchOutside(false);
mClean = findViewById(R.id.clean_now);
MobclickAgent.onEvent(this, "p_r_s");
mClean.setOnClickListener(this);
}
@Override
public void onClick(View v) {
gotoWorking();
finish();
}
@Override
public void onBackPressed() {
gotoWorking();
finish();
}
private void gotoWorking(){
MobclickAgent.onEvent(this, "p_r_g_w");
Intent i = new Intent();
i.setClass(this,CSA.class);
startActivity(i);
}
// @Override
// protected void initInfo() {
// mWorningImage.setImageResource(R.drawable.worning);
// mWoringText.setText("检查到应用已卸载!");
// mWoringText.setTextColor(getResources().getColor(R.color.black));
// mAutoWork.setText("自动清理");
// mSelfWork.setText("手动清理");
// }
//
// @Override
// public Class getDestActivity() {
// return CSA.class;
// }
}