Merge "Add null check before finish SystemUI Tuner's activity" am: 5bb91bacc3
am: 08978cd0fd
Change-Id: Ibd1b9ff4be577bf5ea5596342316ea2303d93b75
This commit is contained in:
@@ -104,7 +104,9 @@ public class TunerFragment extends PreferenceFragment {
|
||||
TunerService.showResetRequest(getContext(), new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
getActivity().finish();
|
||||
if (getActivity() != null) {
|
||||
getActivity().finish();
|
||||
}
|
||||
}
|
||||
});
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user