Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be6c4482 authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Add Shortcut API to Settings (1/2)

b/28298258

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

Change-Id: Ib64e3cf1b17979da1548c168cd551ae125289132
parent 31b3676c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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();
    }
+1 −1
Original line number Diff line number Diff line
@@ -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) {