bugfix - Two AIDL items in the drawer #6466 - need testing
This commit is contained in:
parent
db5164163c
commit
f33f4eed5f
1 changed files with 1 additions and 1 deletions
|
@ -1676,8 +1676,8 @@ public class OsmandAidlApi {
|
|||
|
||||
boolean setNavDrawerItems(String appPackage, List<net.osmand.aidl.navdrawer.NavDrawerItem> items) {
|
||||
if (!TextUtils.isEmpty(appPackage) && items != null) {
|
||||
clearNavDrawerItems(appPackage);
|
||||
if (items.isEmpty()) {
|
||||
clearNavDrawerItems(appPackage);
|
||||
return true;
|
||||
}
|
||||
List<NavDrawerItem> newItems = new ArrayList<>(MAX_NAV_DRAWER_ITEMS_PER_APP);
|
||||
|
|
Loading…
Reference in a new issue