Merge "Removing code duplication for getting swipe-up setting" into ub-launcher3-master