stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

Make `ResolvableString` parcelable.

Open samer-stripe opened this issue 1 year ago • 1 comments

Summary

Motivation

Testing

  • [ ] Added tests
  • [ ] Modified tests
  • [ ] Manually verified

Screenshots

Before After
before screenshot after screenshot

Changelog

samer-stripe avatar Jun 28 '24 20:06 samer-stripe

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 │ +427 B │   8.7 MiB │   8.7 MiB │ +488 B 
     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 │  -10 B │   2.9 MiB │   2.9 MiB │  -10 B 
    other │   195 KiB │   195 KiB │   +1 B │ 428.4 KiB │ 428.4 KiB │    0 B 
──────────┼───────────┼───────────┼────────┼───────────┼───────────┼────────
    total │  12.8 MiB │  12.8 MiB │ +418 B │  21.8 MiB │  21.8 MiB │ +478 B 

 DEX     │ old   │ new   │ diff           
─────────┼───────┼───────┼────────────────
   files │     1 │     1 │  0             
 strings │ 43595 │ 43596 │ +1 (+34 -33)   
   types │ 14991 │ 14993 │ +2 (+33 -31)   
 classes │ 12672 │ 12672 │  0 (+4 -4)     
 methods │ 62043 │ 62049 │ +6 (+744 -738) 
  fields │ 40971 │ 40972 │ +1 (+546 -545) 

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  242 │  242 │  0   
 entries │ 6043 │ 6043 │  0
APK
    compressed     │    uncompressed    │                                
──────────┬────────┼───────────┬────────┤                                
 size     │ diff   │ size      │ diff   │ path                           
──────────┼────────┼───────────┼────────┼────────────────────────────────
    4 MiB │ +427 B │   8.7 MiB │ +488 B │ ∆ classes.dex                  
  7.3 KiB │  -15 B │   7.2 KiB │  -15 B │ ∆ assets/dexopt/baseline.prof  
    889 B │   +5 B │     757 B │   +5 B │ ∆ assets/dexopt/baseline.profm 
 49.6 KiB │   +3 B │ 117.1 KiB │    0 B │ ∆ META-INF/MANIFEST.MF         
 52.9 KiB │   -2 B │ 117.2 KiB │    0 B │ ∆ META-INF/CERT.SF             
──────────┼────────┼───────────┼────────┼────────────────────────────────
  4.1 MiB │ +418 B │     9 MiB │ +478 B │ (total)
DEX
STRINGS:

   old   │ new   │ diff         
  ───────┼───────┼──────────────
   43595 │ 43596 │ +1 (+34 -33) 
  
  + LY5/u;
  + Lf7/L;
  + Lm5/t;
  + Lx7/m;
  + [LC7/f;
  + [LF6/B;
  + [LG6/e1;
  + [LI5/X;
  + [LI5/a0;
  + [LO5/I;
  + [LV4/a;
  + [LV4/c;
  + [LY5/m;
  + [La8/N;
  + [La8/S;
  + [La8/k0;
  + [Lf7/L;
  + [Lg6/c;
  + [Li7/u;
  + [Li7/y;
  + [Lm5/f;
  + [Lo5/c;
  + [Lp8/E;
  + [Lp8/L;
  + [Lp8/i;
  + [Lq6/Q0;
  + [Lq6/V;
  + [Lq6/m2;
  + [Lq6/y1;
  + [Ls6/e;
  + [Lx7/i;
  + [Lx7/l;
  + [Ly7/h;
  + ~~R8{backend:dex,compilation-mode:release,has-checksums:false,min-api:21,pg-map-id:19af301,r8-mode:full,version:8.3.37}
  
  - , transformations=
  - Lg6/j;
  - Li7/F;
  - Lo5/g;
  - Ly7/i;
  - [LC7/d;
  - [LF6/z;
  - [LG6/c1;
  - [LI5/W;
  - [LI5/Z;
  - [LO5/G;
  - [LY5/k;
  - [La8/M;
  - [La8/Q;
  - [La8/j0;
  - [Lf7/K;
  - [Lg6/e;
  - [Li7/A;
  - [Li7/x;
  - [Lm5/d;
  - [Lo5/d;
  - [Lp8/D;
  - [Lp8/K;
  - [Lp8/h;
  - [Lq6/P0;
  - [Lq6/U;
  - [Lq6/j2;
  - [Lq6/v1;
  - [Ls6/c;
  - [Lx7/g;
  - [Lx7/k;
  - [Ly7/i;
  - ~~R8{backend:dex,compilation-mode:release,has-checksums:false,min-api:21,pg-map-id:4cd518c,r8-mode:full,version:8.3.37}
  

TYPES:

   old   │ new   │ diff         
  ───────┼───────┼──────────────
   14991 │ 14993 │ +2 (+33 -31) 
  
  + LY5/u;
  + Lf7/L;
  + Lm5/t;
  + Lx7/m;
  + [LC7/f;
  + [LF6/B;
  + [LG6/e1;
  + [LI5/X;
  + [LI5/a0;
  + [LO5/I;
  + [LV4/a;
  + [LV4/c;
  + [LY5/m;
  + [La8/N;
  + [La8/S;
  + [La8/k0;
  + [Lf7/L;
  + [Lg6/c;
  + [Li7/u;
  + [Li7/y;
  + [Lm5/f;
  + [Lo5/c;
  + [Lp8/E;
  + [Lp8/L;
  + [Lp8/i;
  + [Lq6/Q0;
  + [Lq6/V;
  + [Lq6/m2;
  + [Lq6/y1;
  + [Ls6/e;
  + [Lx7/i;
  + [Lx7/l;
  + [Ly7/h;
  
  - Lg6/j;
  - Li7/F;
  - Lo5/g;
  - Ly7/i;
  - [LC7/d;
  - [LF6/z;
  - [LG6/c1;
  - [LI5/W;
  - [LI5/Z;
  - [LO5/G;
  - [LY5/k;
  - [La8/M;
  - [La8/Q;
  - [La8/j0;
  - [Lf7/K;
  - [Lg6/e;
  - [Li7/A;
  - [Li7/x;
  - [Lm5/d;
  - [Lo5/d;
  - [Lp8/D;
  - [Lp8/K;
  - [Lp8/h;
  - [Lq6/P0;
  - [Lq6/U;
  - [Lq6/j2;
  - [Lq6/v1;
  - [Ls6/c;
  - [Lx7/g;
  - [Lx7/k;
  - [Ly7/i;
  

METHODS:

   old   │ new   │ diff           
  ───────┼───────┼────────────────
   62043 │ 62049 │ +6 (+744 -738) 
  
  + B4.b <init>(String, int, String, String, String, boolean, h, String, boolean, boolean, Integer, String, boolean, String, boolean)
  + B6.b d(B, Object, m, c) → Object
  + B6.d a(B, Object, m, e) → Object
  + B6.d d(B, Object, m, c) → Object
  + B6.j <init>(l, B, Y1, String, e)
  + B6.k <init>(l, B, Y1, m, e)
  + B6.l d(B, Object, m, c) → Object
  + B6.n d(B, Object, m, c) → Object
  + B6.o d(B, Object, m, c) → Object
  + B6.p <init>(r, B, P2, int, String, String, String, String, boolean, boolean, String, boolean, e)
  + B6.r d(B, Object, m, c) → Object
  + B6.r e(B, P2, m, e) → Object
  + B7.L <init>(c0, b0, M, c, G, J, h0, i, e, d)
  + B7.k0 A(y1, String) → String
  + B7.k0 l(y1, String) → o
  + B7.k0 m(k0, m1, O0) → y1
  + B7.k0 o(JSONObject) → y1
  + B7.k0 q(y1, String, m, H1, int) → n
  + B7.q0 a(String) → g
  + B7.q0 b(String) → g
  + B7.v <init>(b, f, q)
  + C.i K(Context, String, k) → SpannableString
  + C.i M0(int, Object[]) → a
  + C.i N0(String, Object[]) → c
  + C1.e h(s, int)
  + C6.i d(B, Object, m, c) → Object
  + C6.p <init>(B)
  + C7.d <init>(int)
  + C7.d createFromParcel(Parcel) → Object
  + C7.d newArray(int) → Object[]
  + C7.e <init>(String, String, String)
  + C7.f <clinit>()
  + C7.f <init>(String, String, String, String, l, boolean, String, String, String, String, boolean, List, String, String, e, List, String, String, String, String, e, String, c0, String, String, String, String, String)
  + C7.f describeContents() → int
  + C7.f equals(Object) → boolean
  + C7.f hashCode() → int
  + C7.f toString() → String
  + C7.f writeToParcel(Parcel, int)
  + C7.g <init>(k, String)
  + C7.g <init>(String, int, String)
  + D.f B0(E, n, k, int)
  + D.f N(boolean, c0, Set, P, k, int)
  + E7.B setTextBoxCustomization(j)
  + E7.j <init>(n, e, int, e)
  + E7.t <init>(i, P, Q, f, n, l, X, j)
  + E7.u <init>(i, P, Q, f, n, l, X, c)
  + E7.w <init>(Context, m)
  + E7.x <init>(ChallengeActivity, i)
  + E7.y <init>(f, b, i, q, d0, int, X)
  + F6.B <clinit>()
  + F6.B describeContents() → int
  + F6.B equals(Object) → boolean
  + F6.B hashCode() → int
  + F6.B toString() → String
  + F6.B writeToParcel(Parcel, int)
  + F6.i B() → Integer
  + F6.i G() → String
  + F6.i y() → String
  + F6.j B() → Integer
  + F6.j G() → String
  + F6.j y() → 
...✂

github-actions[bot] avatar Jun 28 '24 20:06 github-actions[bot]