Loading docs/html/google/play-services/id.jd +1 −1 Original line number Original line Diff line number Diff line Loading @@ -178,7 +178,7 @@ import java.io.IOException; public void getIdThread() { public void getIdThread() { Info adInfo = null; Info adInfo = null; try { try { adInfo = AdvertisingIdClient.getAdvertisingIdInfo(mContext); adInfo = AdvertisingIdClient.getAdvertisingIdInfo(mContext.getApplicationContext()); } catch (IOException e) { } catch (IOException e) { // Unrecoverable error connecting to Google Play services (e.g., // Unrecoverable error connecting to Google Play services (e.g., // the old version of the service doesn't support getting AdvertisingId). // the old version of the service doesn't support getting AdvertisingId). Loading Loading
docs/html/google/play-services/id.jd +1 −1 Original line number Original line Diff line number Diff line Loading @@ -178,7 +178,7 @@ import java.io.IOException; public void getIdThread() { public void getIdThread() { Info adInfo = null; Info adInfo = null; try { try { adInfo = AdvertisingIdClient.getAdvertisingIdInfo(mContext); adInfo = AdvertisingIdClient.getAdvertisingIdInfo(mContext.getApplicationContext()); } catch (IOException e) { } catch (IOException e) { // Unrecoverable error connecting to Google Play services (e.g., // Unrecoverable error connecting to Google Play services (e.g., // the old version of the service doesn't support getting AdvertisingId). // the old version of the service doesn't support getting AdvertisingId). Loading