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

Skip to content
Commit 45591145 authored by Chirayu Desai's avatar Chirayu Desai Committed by Steve Kondik
Browse files

camera: VideoModule: fix NPE while trying to set HFR video parameter

* getSupportedVideoHighFrameRateModes can return null on a device
  which doesn't support it, so check if it's not null rather than
  checking if it's size is > 0.

Change-Id: Ie5be1f8a0f885ea913be5fb1eb44a97e648756d6
parent 505a85fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment