Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1a486a4 authored by smain@google.com's avatar smain@google.com Committed by android-build-merger
Browse files

Update app context in code snippet bug: 28842396 am: 056df251 am: 0fc19538 am: cca8eba8

am: d24ad869

* commit 'd24ad869':
  Update app context in code snippet bug: 28842396

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