diff options
| author | 2023-02-21 15:51:51 +0100 | |
|---|---|---|
| committer | 2023-03-11 12:29:24 +0000 | |
| commit | 94717c62272907cb30d44abcc1244a77a9bb8666 (patch) | |
| tree | d7954fa3dfccb67a5ac5659dbe8c114914cd2a1a /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 9080ceaaf9a96c2aff9d5a248f2481a9188b0691 (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
Merged-In: I9ab45d65e08a6024729819724e8661e00419ebdd
Change-Id: I2f2754e1753daf0941e327cf8bf866946cd36f78
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fffb49c8f60824ec7e8b5854a6be5b673f0e0ade)
Merged-In: I2f2754e1753daf0941e327cf8bf866946cd36f78
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions