protected boolean isHarmony(Context context) {
try {
int id = Resources.getSystem().getIdentifier("config_os_brand", "string", "android");
return context.getString(id).equals("harmony");
} catch (Exception e) {
return false;
}
}