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:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user