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

Commit 441247b8 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...

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

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

Change-Id: Id6cb8c5d2da687dc4a75a1b401880d1ac03b05db
parents 6ee6ba51 664446a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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).