Closed amk-stripe closed 4 days ago
Diffuse output:
OLD: paymentsheet-example-release-master.apk (signature: V1, V2)
NEW: paymentsheet-example-release-pr.apk (signature: V1, V2)
│ compressed │ uncompressed
├───────────┬───────────┬────────┼───────────┬───────────┬──────────
APK │ old │ new │ diff │ old │ new │ diff
──────────┼───────────┼───────────┼────────┼───────────┼───────────┼──────────
dex │ 4 MiB │ 4 MiB │ +393 B │ 8.7 MiB │ 8.7 MiB │ +1.5 KiB
arsc │ 2.3 MiB │ 2.3 MiB │ 0 B │ 2.3 MiB │ 2.3 MiB │ 0 B
manifest │ 5.1 KiB │ 5.1 KiB │ 0 B │ 25.6 KiB │ 25.6 KiB │ 0 B
res │ 918.5 KiB │ 918.5 KiB │ 0 B │ 1.5 MiB │ 1.5 MiB │ 0 B
native │ 2.6 MiB │ 2.6 MiB │ 0 B │ 6 MiB │ 6 MiB │ 0 B
asset │ 2.9 MiB │ 2.9 MiB │ -27 B │ 2.9 MiB │ 2.9 MiB │ -27 B
other │ 195 KiB │ 195 KiB │ -17 B │ 428.4 KiB │ 428.4 KiB │ 0 B
──────────┼───────────┼───────────┼────────┼───────────┼───────────┼──────────
total │ 12.8 MiB │ 12.8 MiB │ +349 B │ 21.8 MiB │ 21.8 MiB │ +1.5 KiB
DEX │ old │ new │ diff
─────────┼───────┼───────┼───────────────────
files │ 1 │ 1 │ 0
strings │ 43552 │ 43558 │ +6 (+14 -8)
types │ 14972 │ 14975 │ +3 (+3 -0)
classes │ 12656 │ 12658 │ +2 (+2 -0)
methods │ 61964 │ 61969 │ +5 (+2091 -2086)
fields │ 40889 │ 40914 │ +25 (+79 -54)
ARSC │ old │ new │ diff
─────────┼──────┼──────┼──────
configs │ 242 │ 242 │ 0
entries │ 6043 │ 6043 │ 0
Summary
Refactor PaymentSheetTopBarState to not require a PaymentSheetScreen object
Motivation
Makes it so that
CustomerSheetViewState
doesn't need to create instances ofPaymentSheetScreen
s which are not actually used as screens.Testing
There are existing unit tests for PaymentSheetTopBarState. No behavior changes in this PR.