version:m40se 3.0.2
fix: update:优化耗电和管控逻辑
This commit is contained in:
@@ -238,6 +238,7 @@ public class MainActivity extends BaseActivity implements MainAContact.MainView,
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
Log.e(TAG, "onNewIntent: " );
|
||||
if (REFRESHACTION.equals(intent.getAction())) {
|
||||
mPresenter.getSnInfo();
|
||||
}
|
||||
@@ -374,6 +375,7 @@ public class MainActivity extends BaseActivity implements MainAContact.MainView,
|
||||
class RefreshReceiver extends BroadcastReceiver {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
Log.e("RefreshReceiver", "onReceive: " );
|
||||
if (REFRESHACTION.equals(intent.getAction())) {
|
||||
mPresenter.getSnInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user