diff options
| author | 2023-06-20 07:04:32 +0000 | |
|---|---|---|
| committer | 2023-06-20 07:19:56 +0000 | |
| commit | b7547b46c3184aa83a5c283c624f026201df3c36 (patch) | |
| tree | 64e60269f0dfd61b9f30991b228582294cdaeb77 /libs/androidfw/ConfigDescription.cpp | |
| parent | 00e1235fc8629d5b17a742d1438ecf05b4a2d62e (diff) | |
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
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions