if(U.isBlissOs(context)) {
drawable = ContextCompat.getDrawable(context, R.drawable.tb_bliss);
- } else if(U.isProjectSakura(context)) {
+ } else if(U.isProjectSakura(context)) {
drawable = ContextCompat.getDrawable(context, R.drawable.tb_sakura);
} else {
LauncherApps launcherApps = (LauncherApps) context.getSystemService(Context.LAUNCHER_APPS_SERVICE);
public static boolean isProjectSakura(Context context) {
boolean validSakuraBuildProp = false;
+ // TODO replace with more specific logic for Project Sakura
String sakuraVersion = getSystemProperty("ro.lineage.build.version");
if(sakuraVersion != null && !sakuraVersion.isEmpty())
validSakuraBuildProp = true;