Add Shortcut API to Settings (1/2)

b/28298258

Initial CL to simply add first time shortcuts in the beginning.

Change-Id: Ib64e3cf1b17979da1548c168cd551ae125289132
This commit is contained in:
Hyunyoung Song
2016-05-04 10:23:06 -07:00
parent 31b3676cce
commit be6c44823b
2 changed files with 8 additions and 1 deletions

View File

@@ -277,6 +277,13 @@ public class SettingsDrawerActivity extends Activity {
}
}
public HashMap<Pair<String, String>, Tile> getTileCache() {
if (sTileCache == null) {
getDashboardCategories();
}
return sTileCache;
}
public void onProfileTileOpen() {
finish();
}

View File

@@ -302,7 +302,7 @@ public class TileUtils {
return false;
}
private static final Comparator<Tile> TILE_COMPARATOR =
public static final Comparator<Tile> TILE_COMPARATOR =
new Comparator<Tile>() {
@Override
public int compare(Tile lhs, Tile rhs) {