mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-04 15:35:38 +01:00
Utilize InAppPaymentTable as the SSOT for ManageDonationsFragment.
This commit is contained in:
committed by
jeffrey-signal
parent
d06febd5b5
commit
7fb866fcfb
@@ -355,10 +355,8 @@ class InAppPaymentTable(context: Context, databaseHelper: SignalDatabase) : Data
|
||||
return readableDatabase.select()
|
||||
.from(TABLE_NAME)
|
||||
.where(
|
||||
"($STATE = ? OR $STATE = ? OR $STATE = ?) AND $TYPE = ?",
|
||||
State.serialize(State.PENDING),
|
||||
State.serialize(State.WAITING_FOR_AUTHORIZATION),
|
||||
State.serialize(State.END),
|
||||
"$STATE != ? AND $TYPE = ?",
|
||||
State.serialize(State.CREATED),
|
||||
InAppPaymentType.serialize(type)
|
||||
)
|
||||
.orderBy("$INSERTED_AT DESC")
|
||||
|
||||
Reference in New Issue
Block a user