notification trigger

This commit is contained in:
2022-01-09 15:22:03 +01:00
parent 53f46c10da
commit 87edd595ba
7 changed files with 228 additions and 10 deletions

View File

@ -44,6 +44,7 @@ public class Action
setScreenBrightness,
playSound,
vibrate,
createNotification,
sendTextMessage;
public String getFullName(Context context)
@ -108,6 +109,8 @@ public class Action
return context.getResources().getString(R.string.sendTextMessage);
case setScreenBrightness:
return context.getResources().getString(R.string.setScreenBrightness);
case createNotification:
return context.getResources().getString(R.string.createNotification);
default:
return "Unknown";
}