vw.java
965 Bytes
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
package com.lotus.town.notify;
import android.os.Bundle;
import android.support.annotation.Nullable;
import com.lotus.town.R;
import com.sdk.SharedPref;
import com.umeng.analytics.MobclickAgent;
/**
* 病毒警告
*/
public class vw extends worning{
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
SharedPref.markWorked(this,"v_w_n");
MobclickAgent.onEvent(this, "v_w_s");
}
@Override
protected void initInfo() {
mWorningImage.setImageResource(R.drawable.worning);
mWoringText.setText("发现手机中存在病毒,请立即清理!");
mAutoWork.setText("自动杀毒");
mSelfWork.setText("手动杀毒");
}
@Override
public Class getDestActivity() {
MobclickAgent.onEvent(this, "v_w_g_w");
return VSA.class;
}
@Override
public String deliver() {
return "vw";
}
}