Merge "Add null check before finish SystemUI Tuner's activity"
am: 5bb91bacc3
Change-Id: I0e9d19f297c158ff0c6acd1aa6665e3459fa416b
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