Revert "android: avoid expensive load of un-used sidebar icons on mobile."
commit5c7c2a3ff333e79d8010a3fa1218274e6de5ef0b
authorJan Holesovsky <kendy@collabora.com>
Thu, 23 Jul 2020 12:06:57 +0000 (23 14:06 +0200)
committerAndras Timar <andras.timar@collabora.com>
Mon, 3 Aug 2020 05:32:09 +0000 (3 07:32 +0200)
treeb0f75d1281932f8353421d9ddd1837058a91162f
parent441b0848c0ef54bd2fb6bab0822890f11a884fe5
Revert "android: avoid expensive load of un-used sidebar icons on mobile."

Unfortunately we need this on Android for the tablets, otherwise the
sidebar lacks the icons.

Also it is not easily possible to use the isLOKMobilePhone() check here,
because that is per-view in general, and handled in sfx in particular,
making it hard to use here in vcl.

This reverts commit 9a38b194eec5bcf6cb8d073e5d35173c5856f28f.

Change-Id: I2b599e884ad4d00b7c246743c180a5324c9a143d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99329
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
vcl/source/window/toolbox2.cxx