public void run() {
                    XLog.i(TAG, "Received response.");
                    // Make sure it hasn't already timed out.
                    if (mChecksInProgress.contains(mValidator)) {
                        clearTimeout();
                        mValidator.verify(mPublicKey, responseCode, signedData, signature);
                        finishCheck(mValidator);
                    }
                    if (DEBUG_LICENSE_ERROR) {
                        boolean XLogResponse;
                        String stringError = null;
                        switch (responseCode) {
                            case ERROR_CONTACTING_SERVER:
                                XLogResponse = true;
                                stringError = "ERROR_CONTACTING_SERVER";
                                break;
                            case ERROR_INVALID_PACKAGE_NAME:
                                XLogResponse = true;
                                stringError = "ERROR_INVALID_PACKAGE_NAME";
                                break;
                            case ERROR_NON_MATCHING_UID:
                                XLogResponse = true;
                                stringError = "ERROR_NON_MATCHING_UID";
                                break;
                            default:
                                XLogResponse = false;
                        }

                        if (XLogResponse) {
                            String android_id = Secure.getString(mContext.getContentResolver(),
                                    Secure.ANDROID_ID);
                            Date date = new Date();
                            XLog.d(TAG, "Server Failure: " + stringError);
                            XLog.d(TAG, "Android ID: " + android_id);
                            XLog.d(TAG, "Time: " + date.toGMTString());
                        }
                    }

                }
Triggers the last deep link licensing URL returned from the server, which redirects users to a
page which enables them to gain access to the app. If no such URL is returned by the server, it
will go to the details page of the app in the Play Store.
android/android_framework/base/src/main/java/com/google/android/vending/licensing/LicenseChecker.java