Changes event handling phases for DeviceListPreferenceFragment.
Bug: 31273140
Test: Manual inspection.
Change-Id: If4622b8d367813eb86a54a45f2e8fa4a55ca38b1
(cherry picked from commit e8d5c8fda1
)
This commit is contained in:
committed by
Marie Janssen
parent
737d42a0db
commit
7ca9a39960
@@ -98,8 +98,8 @@ public abstract class DeviceListPreferenceFragment extends
|
||||
abstract void addPreferencesForActivity();
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
if (mLocalManager == null || isUiRestricted()) return;
|
||||
|
||||
mLocalManager.setForegroundActivity(getActivity());
|
||||
@@ -109,8 +109,8 @@ public abstract class DeviceListPreferenceFragment extends
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
public void onStop() {
|
||||
super.onStop();
|
||||
if (mLocalManager == null || isUiRestricted()) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user