Skip to content

Commit

Permalink
Fixed the problem of crashing when sharing photos through links in [p…
Browse files Browse the repository at this point in the history
…hotos album]
  • Loading branch information
DaVinci9196 authored and ale5000-git committed Feb 20, 2024
1 parent a3b96a9 commit 72f2395
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ class PhenotypeServiceImpl : IPhenotypeService.Stub() {

override fun commitToConfiguration(callbacks: IPhenotypeCallbacks, p1: String?) {
Log.d(TAG, "commitToConfiguration($p1)")
callbacks.onCommitedToConfiguration(Status.SUCCESS)
if (p1.equals("CURRENT:null:com.google.android.libraries.social.peoplekit#com.google.android.apps.photos.client_id:43")) {
callbacks.onCommitedToConfiguration(Status.INTERNAL_ERROR);
} else {
callbacks.onCommitedToConfiguration(Status.SUCCESS);
}
}

override fun getExperimentTokens(callbacks: IPhenotypeCallbacks, p1: String?, logSourceName: String?) {
Expand Down

0 comments on commit 72f2395

Please sign in to comment.