bw.java
891 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
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 bw extends worning{
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
SharedPref.markWorked(this,"b_w_n");
MobclickAgent.onEvent(this, "b_w_s");
}
@Override
protected void initInfo() {
mWorningImage.setImageResource(R.drawable.worning);
mWoringText.setText("发现手机内存不足,请清理内存!");
mAutoWork.setText("自动清理");
mSelfWork.setText("手动清理");
}
@Override
public Class getDestActivity() {
MobclickAgent.onEvent(this, "b_w_g_w");
return BSA.class;
}
}