@@ -18,6 +18,7 @@ public class PermissionsRequestExtraParams implements Parcelable {
18
18
private final boolean autoStartRadar ;
19
19
private final boolean invisibleLayoutMode ;
20
20
private boolean noBeacon ;
21
+ private boolean noNotifications ;
21
22
private final boolean nonBlockingBeacon ;
22
23
private int headerResourceId ;
23
24
private int bluetoothResourceId ;
@@ -35,6 +36,7 @@ public class PermissionsRequestExtraParams implements Parcelable {
35
36
boolean autoStartRadar ,
36
37
boolean invisibleLayoutMode ,
37
38
boolean noBeacon ,
39
+ boolean noNotifications ,
38
40
boolean nonBlockingBeacon ,
39
41
int headerResourceId ,
40
42
int bluetoothResourceId ,
@@ -50,6 +52,7 @@ public class PermissionsRequestExtraParams implements Parcelable {
50
52
this .autoStartRadar = autoStartRadar ;
51
53
this .invisibleLayoutMode = invisibleLayoutMode ;
52
54
this .noBeacon = noBeacon ;
55
+ this .noNotifications = noNotifications ;
53
56
this .nonBlockingBeacon = nonBlockingBeacon ;
54
57
this .headerResourceId = headerResourceId ;
55
58
this .bluetoothResourceId = bluetoothResourceId ;
@@ -95,6 +98,7 @@ public void writeToParcel(Parcel dest, int flags) {
95
98
dest .writeInt (autoStartRadar ? 1 : 0 );
96
99
dest .writeInt (invisibleLayoutMode ? 1 : 0 );
97
100
dest .writeInt (noBeacon ? 1 : 0 );
101
+ dest .writeInt (noNotifications ? 1 : 0 );
98
102
dest .writeInt (nonBlockingBeacon ? 1 : 0 );
99
103
dest .writeInt (headerResourceId );
100
104
dest .writeInt (bluetoothResourceId );
@@ -120,6 +124,7 @@ public PermissionsRequestExtraParams createFromParcel(Parcel in) {
120
124
boolean autoStartRadar = in .readInt () != 0 ;
121
125
boolean invisibleLayoutMode = in .readInt () != 0 ;
122
126
boolean noBeacon = in .readInt () != 0 ;
127
+ boolean noNotifications = in .readInt () != 0 ;
123
128
boolean nonBlockingBeacon = in .readInt () != 0 ;
124
129
int headerResourceId = in .readInt ();
125
130
int bluetoothResourceId = in .readInt ();
@@ -137,6 +142,7 @@ public PermissionsRequestExtraParams createFromParcel(Parcel in) {
137
142
autoStartRadar ,
138
143
invisibleLayoutMode ,
139
144
noBeacon ,
145
+ noNotifications ,
140
146
nonBlockingBeacon ,
141
147
headerResourceId ,
142
148
bluetoothResourceId ,
@@ -172,6 +178,10 @@ public boolean isNoBeacon() {
172
178
return noBeacon ;
173
179
}
174
180
181
+ public boolean isNoNotifications () {
182
+ return noNotifications ;
183
+ }
184
+
175
185
public boolean isNonBlockingBeacon () {
176
186
return nonBlockingBeacon ;
177
187
}
@@ -216,6 +226,10 @@ public void setNoBeacon(boolean noBeacon) {
216
226
this .noBeacon = noBeacon ;
217
227
}
218
228
229
+ public void setNoNotifications (boolean noNotifications ) {
230
+ this .noNotifications = noNotifications ;
231
+ }
232
+
219
233
public String getExplanation () {
220
234
return explanation ;
221
235
}
0 commit comments