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

Commit 056df251 authored by smain@google.com's avatar smain@google.com
Browse files

Update app context in code snippet

bug: 28842396

Change-Id: I306ba2d3f7ccb1f547caa46e038c1d3faaccab26
parent eea825d6
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).