[fenix] For https://github.com/mozilla-mobile/fenix/issues/19135 - Expand the tabs...
commit51e2a559c3c017e47e7f2a2e5b86469d40283010
authorMugurell <Mugurell@users.noreply.github.com>
Fri, 11 Jun 2021 11:35:08 +0000 (11 14:35 +0300)
committerMugurell <Mugurell@users.noreply.github.com>
Tue, 15 Jun 2021 07:01:49 +0000 (15 10:01 +0300)
tree6169266f190cf23d0cdfcc7be2cf6b49feb15f21
parent966dec8be683159132f96d3f1160e5e64c40d3dd
[fenix] For https://github.com/mozilla-mobile/fenix/issues/19135 - Expand the tabs tray in landscape

Track the current orientation and collapse / expand it the tabs tray depending
on the orientation and the number of opened tabs.
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabSheetBehaviorManager.kt
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayFragment.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/tabstray/TabSheetBehaviorManagerTest.kt
mobile/android/fenix/app/src/test/java/org/mozilla/fenix/tabstray/TabsTrayFragmentTest.kt