|
@@ -113,7 +113,7 @@ class ManageApplication : MultiDexApplication() {
|
113
|
113
|
*/
|
114
|
114
|
fun setDisplayBlacklist(pkgList: ArrayList<String>) {
|
115
|
115
|
if (ModelNameUtils.IS_LianxX505f()) {
|
116
|
|
- csdkManager?.displayBlacklistV3 = pkgList
|
|
116
|
+ csdkManager?.displayBlacklist_v3 = pkgList
|
117
|
117
|
}
|
118
|
118
|
}
|
119
|
119
|
|
|
@@ -142,7 +142,7 @@ class ManageApplication : MultiDexApplication() {
|
142
|
142
|
*/
|
143
|
143
|
fun enableBluetooth(enableFlag: Boolean) {
|
144
|
144
|
if (ModelNameUtils.IS_LianxX505f()) {
|
145
|
|
- csdkManager?.enableBluetoothV3(enableFlag)
|
|
145
|
+ csdkManager?.enableBluetooth_v3(enableFlag)
|
146
|
146
|
}
|
147
|
147
|
}
|
148
|
148
|
|
|
@@ -151,7 +151,7 @@ class ManageApplication : MultiDexApplication() {
|
151
|
151
|
*/
|
152
|
152
|
fun disallowUsbDebugging(enableFlag: Boolean) {
|
153
|
153
|
if (ModelNameUtils.IS_LianxX505f()) {
|
154
|
|
- csdkManager?.disallowUsbDebuggingV3(enableFlag)
|
|
154
|
+ csdkManager?.disallowUsbDebugging_v3(enableFlag)
|
155
|
155
|
}
|
156
|
156
|
}
|
157
|
157
|
|
|
@@ -160,7 +160,7 @@ class ManageApplication : MultiDexApplication() {
|
160
|
160
|
*/
|
161
|
161
|
fun disallowWifi(enableFlag: Boolean) {
|
162
|
162
|
if (ModelNameUtils.IS_LianxX505f()) {
|
163
|
|
- csdkManager?.disallowWifiV3(enableFlag)
|
|
163
|
+ csdkManager?.disallowWifi_v3(enableFlag)
|
164
|
164
|
}
|
165
|
165
|
}
|
166
|
166
|
|
|
@@ -169,7 +169,7 @@ class ManageApplication : MultiDexApplication() {
|
169
|
169
|
*/
|
170
|
170
|
fun enableWifi(enableFlag: Boolean) {
|
171
|
171
|
if (ModelNameUtils.IS_LianxX505f()) {
|
172
|
|
- csdkManager?.enableWifiV3(enableFlag)
|
|
172
|
+ csdkManager?.enableWifi_v3(enableFlag)
|
173
|
173
|
}
|
174
|
174
|
}
|
175
|
175
|
|
|
@@ -178,7 +178,7 @@ class ManageApplication : MultiDexApplication() {
|
178
|
178
|
*/
|
179
|
179
|
fun disallowData(enableFlag: Boolean) {
|
180
|
180
|
if (ModelNameUtils.IS_LianxX505f()) {
|
181
|
|
- csdkManager?.disallowDataV3(enableFlag)
|
|
181
|
+ csdkManager?.disallowData_v3(enableFlag)
|
182
|
182
|
}
|
183
|
183
|
}
|
184
|
184
|
|
|
@@ -187,7 +187,7 @@ class ManageApplication : MultiDexApplication() {
|
187
|
187
|
*/
|
188
|
188
|
fun enableData(enableFlag: Boolean) {
|
189
|
189
|
if (ModelNameUtils.IS_LianxX505f()) {
|
190
|
|
- csdkManager?.enableDataV3(enableFlag)
|
|
190
|
+ csdkManager?.enableData_v3(enableFlag)
|
191
|
191
|
}
|
192
|
192
|
}
|
193
|
193
|
|
|
@@ -196,7 +196,7 @@ class ManageApplication : MultiDexApplication() {
|
196
|
196
|
*/
|
197
|
197
|
fun disallowLocation(enableFlag: Boolean) {
|
198
|
198
|
if (ModelNameUtils.IS_LianxX505f()) {
|
199
|
|
- csdkManager?.disallowLocationV3(enableFlag)
|
|
199
|
+ csdkManager?.disallowLocation_v3(enableFlag)
|
200
|
200
|
}
|
201
|
201
|
}
|
202
|
202
|
|
|
@@ -205,7 +205,7 @@ class ManageApplication : MultiDexApplication() {
|
205
|
205
|
*/
|
206
|
206
|
fun enableLocation(enableFlag: Boolean) {
|
207
|
207
|
if (ModelNameUtils.IS_LianxX505f()) {
|
208
|
|
- csdkManager?.enableLocationV3(enableFlag)
|
|
208
|
+ csdkManager?.enableLocation_v3(enableFlag)
|
209
|
209
|
}
|
210
|
210
|
}
|
211
|
211
|
|
|
@@ -214,7 +214,7 @@ class ManageApplication : MultiDexApplication() {
|
214
|
214
|
*/
|
215
|
215
|
fun disallowWifiAdvanceSettings(enableFlag: Boolean) {
|
216
|
216
|
if (ModelNameUtils.IS_LianxX505f()) {
|
217
|
|
- csdkManager?.disallowWifiAdvanceSettingsV3(enableFlag)
|
|
217
|
+ csdkManager?.disallowWifiadvancesettings_v3(enableFlag)
|
218
|
218
|
}
|
219
|
219
|
}
|
220
|
220
|
|
|
@@ -232,7 +232,7 @@ class ManageApplication : MultiDexApplication() {
|
232
|
232
|
*/
|
233
|
233
|
fun setCustomOTG(enableFlag: Boolean) {
|
234
|
234
|
if (ModelNameUtils.IS_LianxX505f()) {
|
235
|
|
- csdkManager?.isCustomOtg = enableFlag
|
|
235
|
+ csdkManager?.customOTG= enableFlag
|
236
|
236
|
}
|
237
|
237
|
}
|
238
|
238
|
|
|
@@ -296,7 +296,7 @@ class ManageApplication : MultiDexApplication() {
|
296
|
296
|
*/
|
297
|
297
|
fun addWifiWhiteList(list: List<String>) {
|
298
|
298
|
if (ModelNameUtils.IS_LianxX505f()) {
|
299
|
|
- //csdkManager?.addWifiWhiteList(list)
|
|
299
|
+ csdkManager?.addWifiWhiteList(list)
|
300
|
300
|
}
|
301
|
301
|
}
|
302
|
302
|
|
|
@@ -305,7 +305,7 @@ class ManageApplication : MultiDexApplication() {
|
305
|
305
|
*/
|
306
|
306
|
fun enableWifiWhiteList(enable: Boolean) {
|
307
|
307
|
if (ModelNameUtils.IS_LianxX505f()) {
|
308
|
|
- // csdkManager?.enableWifiWhiteList(enable)
|
|
308
|
+ //csdkManager?.whitelist
|
309
|
309
|
}
|
310
|
310
|
}
|
311
|
311
|
|
|
@@ -323,7 +323,7 @@ class ManageApplication : MultiDexApplication() {
|
323
|
323
|
*/
|
324
|
324
|
fun enableCaptureScreen(enable: Boolean) {
|
325
|
325
|
if (ModelNameUtils.IS_LianxX505f()) {
|
326
|
|
- csdkManager?.enableCaptureScreenV3(enable)
|
|
326
|
+ //csdkManager?.enableCaptureScreen_v3(enable)
|
327
|
327
|
}
|
328
|
328
|
}
|
329
|
329
|
|
|
@@ -332,7 +332,7 @@ class ManageApplication : MultiDexApplication() {
|
332
|
332
|
*/
|
333
|
333
|
fun disallowSetAutoRotation(enable: Boolean) {
|
334
|
334
|
if (ModelNameUtils.IS_LianxX505f()) {
|
335
|
|
- csdkManager?.disallowSetAutoRotation(enable)
|
|
335
|
+ //csdkManager?.disallowSetAutoRotation(enable)
|
336
|
336
|
}
|
337
|
337
|
}
|
338
|
338
|
}
|