File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
OneSignalSDK/onesignal/src/main/java/com/onesignal Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -433,14 +433,6 @@ static OSInAppMessageController getInAppMessageController() {
433
433
@ Nullable private static OSNotificationDataController notificationDataController ;
434
434
435
435
@ Nullable private static AdvertisingIdentifierProvider adIdProvider ;
436
- private static synchronized @ Nullable AdvertisingIdentifierProvider getAdIdProvider () {
437
- if (adIdProvider == null ) {
438
- if (OSUtils .isAndroidDeviceType ())
439
- adIdProvider = new AdvertisingIdProviderGPS ();
440
- }
441
-
442
- return adIdProvider ;
443
- }
444
436
445
437
@ SuppressWarnings ("WeakerAccess" )
446
438
public static String sdkType = "native" ;
@@ -1422,11 +1414,6 @@ private static void registerUserTask() throws JSONException {
1422
1414
1423
1415
deviceInfo .put ("app_id" , getSavedAppId ());
1424
1416
1425
- if (getAdIdProvider () != null ) {
1426
- String adId = getAdIdProvider ().getIdentifier (appContext );
1427
- if (adId != null )
1428
- deviceInfo .put ("ad_id" , adId );
1429
- }
1430
1417
deviceInfo .put ("device_os" , Build .VERSION .RELEASE );
1431
1418
deviceInfo .put ("timezone" , getTimeZoneOffset ());
1432
1419
deviceInfo .put ("timezone_id" , getTimeZoneId ());
You can’t perform that action at this time.
0 commit comments