/**
* A helper method to flip the mResolveOnFail flag and start the resolution
* of the ConnenctionResult from the failed connect() call.
*/
private void startResolution() {
try {
// Don't start another resolution now until we have a
// result from the activity we're about to start.
mResolveOnFail = false;
// If we can resolve the error, then call start resolution
// and pass it an integer tag we can use to track. This means
// that when we get the onActivityResult callback we'll know
// its from being started here.
mConnectionResult
.startResolutionForResult(mActivity, CONNECTION_UPDATE_ERROR);
} catch (final SendIntentException e) {
// Any problems, just try to connect() again so we get a new
// ConnectionResult.
mPlusClient.connect();
}
}
GooglePlusManager.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:yelo-android
作者:
评论列表
文章目录