Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrySJoseph committed Jun 9, 2021
1 parent ba36b18 commit a894dbe
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void handleGoogleSignInResult(@NonNull GoogleSignInAccount account) {
ActivityResultLauncher<Intent> launcher= registerForActivityResult(new ActivityResultContracts.StartActivityForResult(), new ActivityResultCallback<ActivityResult>() {
@Override
public void onActivityResult(ActivityResult result) {
if(result.getResultCode()==Activity.RESULT_OK){

try {
Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(result.getData());
handleGoogleSignInResult(task.getResult(ApiException.class));
Expand All @@ -102,7 +102,7 @@ public void onActivityResult(ActivityResult result) {
Log.w(TAG, "handleSignInResult:error", e);
onSignInFailed(e.getMessage());
}
}

}
});

Expand Down
Binary file added app/debug/app-debug.apk
Binary file not shown.
18 changes: 18 additions & 0 deletions app/debug/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.jstechnologies.internshalanotesapp",
"variantName": "processDebugResources",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-debug.apk"
}
]
}
Binary file modified app/release/app-release.apk
Binary file not shown.

0 comments on commit a894dbe

Please sign in to comment.