diff options
| author | 2023-02-21 15:51:51 +0100 | |
|---|---|---|
| committer | 2023-02-23 10:10:11 +0000 | |
| commit | 8ce82c261d0d5115cbc01b5d72f3ab1d4d3fa591 (patch) | |
| tree | 91ff8e521b2c54261550150061430a5f62281fb8 /libs/androidfw/StringPool.cpp | |
| parent | e94ac0c51139648437a87d6610e0c6a9daad8282 (diff) | |
Refactor Utilities#isTablet to Utilities#isLargeScreen
The utility checks the dimension of the screen rather than the device
itself. This means that on a foldable it would return true when unfolded
even though it is not a tablet.
Test: Checked code usages to see if expectations were correct.
Fixes: 267285637
Change-Id: I9ab45d65e08a6024729819724e8661e00419ebdd
Merged-In: I9ab45d65e08a6024729819724e8661e00419ebdd
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions