Merge "Fix the IndexOutOfBoundsException in AllAppsGridAdapter." into tm-dev