Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45b03edd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Prevent null point exception"

parents 9d665719 0e8a45a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ public class VideoPreferenceController extends BasePreferenceController implemen

    @Override
    public int getAvailabilityStatus() {
        return mVideoPreference.isAnimationAvailable() ?
        return mVideoPreference != null && mVideoPreference.isAnimationAvailable() ?
                AVAILABLE_UNSEARCHABLE : UNSUPPORTED_ON_DEVICE;
    }