mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-13 17:23:56 +01:00
Update onError signature in donations sample app.
This commit is contained in:
@@ -79,15 +79,15 @@ public class MainActivity extends AppCompatActivity implements GooglePayApi.Paym
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError() {
|
||||
Toast.makeText(this, "ERROR", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCancelled() {
|
||||
Toast.makeText(this, "CANCELLED", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(@NonNull GooglePayApi.GooglePayException googlePayException) {
|
||||
Toast.makeText(this, "ERROR", Toast.LENGTH_SHORT).show();
|
||||
donateButton.setClickable(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user