Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_master_6767682.html
Change-Id: I5e9c73a7ac3033fe82006c4bd72824f56b8988f8
We need dbFile set when MULTI_DB_GRID_MIRATION_ALGO is in
use. This was set for other launchers, but not the Go launcher.
Bug: 157557047
Test: Built, flashed, moved icons on home screen, rebooted, and confirmed icons retained their position.
Change-Id: Icfcb56e00a8ac2f74e5f7a1957fd46cee5cb8b5b
(cherry picked from commit 8f490e21c9)
We need dbFile set when MULTI_DB_GRID_MIRATION_ALGO is in
use. This was set for other launchers, but not the Go launcher.
Bug: 157557047
Test: Built, flashed, moved icons on home screen, rebooted, and confirmed icons retained their position.
Change-Id: Icfcb56e00a8ac2f74e5f7a1957fd46cee5cb8b5b
Bug: 158805631
Test: Manual test by opening Launcher settings and verifying
notification dots is not shown anymore.
Change-Id: I7c31e5d85d8b9c0859d789de76d149a4013f7104
A previous change [1] introduced the material library as a static library
for the SecondaryDisplayLauncher. The material library defines a
resource "attr/iconSize" with format="dimension" while Launcher3 defines
a resource of the same name with format="float". The material resource
is being overriden by the Launcher3 resource and is preventing aapt2
from disallowing multiple definitions of the same attribute with
different formats.
This change renames the Launcher3 iconSize so it will not collide with
the material resource.
[1] If183dd35a1d197c4a9a8225a021e36c4f1662587
Bug: 129146717
Test: build success and inspection of generated apk
Change-Id: I5eb54ea606ddcfb47d5150b44906a8707203e905
A previous change [1] introduced the material library as a static library
for the SecondaryDisplayLauncher. The material library defines a
resource "attr/iconSize" with format="dimension" while Launcher3 defines
a resource of the same name with format="float". The material resource
is being overriden by the Launcher3 resource and is preventing aapt2
from disallowing multiple definitions of the same attribute with
different formats.
This change renames the Launcher3 iconSize so it will not collide with
the material resource.
[1] If183dd35a1d197c4a9a8225a021e36c4f1662587
Bug: 129146717
Test: build success and inspection of generated apk
Change-Id: I5eb54ea606ddcfb47d5150b44906a8707203e905
There are cases (ie. smaller devices) where the icon label is closer
to the icon below it (rather than its corresponding icon).
To fix this, we ensure that the drawable padding (space between the
icon and its label) is no larger than the vertical padding of the cell.
Bug: 67317867
Change-Id: Ic3729726eebb60b67d658361c4335e724b7d68d7
This ensures that the uninstall activity will finish only after
the task is completed.
We initially assumed that this was always the case, but in Android
Go the uninstall activity finishes before the uninstall is completed.
Bug: 64033585
Change-Id: Ic5d8dd99e2fecd0c9cb24093ee66668b4b38cb1a