Merge pull request #1358 from quizzmaster/fix1318
Notifications about tbr suggestions. Fixes #1318
This commit is contained in:
commit
bc41814946
|
@ -409,8 +409,10 @@ public class LoopPlugin extends PluginBase {
|
||||||
.setAutoCancel(true)
|
.setAutoCancel(true)
|
||||||
.setPriority(Notification.PRIORITY_HIGH)
|
.setPriority(Notification.PRIORITY_HIGH)
|
||||||
.setCategory(Notification.CATEGORY_ALARM)
|
.setCategory(Notification.CATEGORY_ALARM)
|
||||||
.setVisibility(Notification.VISIBILITY_PUBLIC)
|
.setVisibility(Notification.VISIBILITY_PUBLIC);
|
||||||
.setLocalOnly(true);
|
if (SP.getBoolean("wearcontrol", false)) {
|
||||||
|
builder.setLocalOnly(true);
|
||||||
|
}
|
||||||
|
|
||||||
// Creates an explicit intent for an Activity in your app
|
// Creates an explicit intent for an Activity in your app
|
||||||
Intent resultIntent = new Intent(MainApp.instance().getApplicationContext(), MainActivity.class);
|
Intent resultIntent = new Intent(MainApp.instance().getApplicationContext(), MainActivity.class);
|
||||||
|
|
Loading…
Reference in a new issue