diff options
| author | 2023-02-21 15:51:51 +0100 | |
|---|---|---|
| committer | 2023-02-24 10:45:47 +0100 | |
| commit | fffb49c8f60824ec7e8b5854a6be5b673f0e0ade (patch) | |
| tree | 49ccc8932e5824513d098be99ee4b935666bb8a3 /api/api.go | |
| parent | 0bee0bb81f73321bd69473c4650a3552ed0323ee (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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions