Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 94717c62 authored by Christian Göllner's avatar Christian Göllner Committed by Cherrypicker Worker
Browse files

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
parent 9080ceaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment