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

Skip to content
Commit b7547b46 authored by Roy Chou's avatar Roy Chou
Browse files

fix(#Magnification): mis-use non resoure id in resource getter when magnification capability setup

In SettingsProvider, when setup magnification capability, we might mis-use the use ACCESSIBILITY_MAGNIFICATION_MODE_FULLSCREEN as the resource id then get unpredicted fail in getContext().getResources().getInteger(). Therefore, we adjust the capability variable declaration and assigning with the correct logic.

Bug: 288038773
Test: build pass
      manually
Change-Id: I189222c2971bb7b72c629780651c10b438271cdd
parent 00e1235f
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