Add qhelp

This commit is contained in:
Joe Farebrother
2024-01-15 13:54:32 +00:00
parent d806fcae3d
commit 1190352b67
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
// BAD: `password` is exposed in a notification.
void confirmPassword(String password) {
NotificationManager manager = NotificationManager.from(this);
manager.send(
new Notification.Builder(this, CHANNEL_ID)
.setContentText("Your password is: " + password)
.build());
}