summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Christian Göllner <chrisgollner@google.com> 2023-02-21 15:51:51 +0100
committer Christian Göllner <chrisgollner@google.com> 2023-02-24 10:45:47 +0100
commitfffb49c8f60824ec7e8b5854a6be5b673f0e0ade (patch)
tree49ccc8932e5824513d098be99ee4b935666bb8a3 /api/api.go
parent0bee0bb81f73321bd69473c4650a3552ed0323ee (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