Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1caf856 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Suppress StopInfo exception based on target API." into nyc-dev

parents f3179cf5 9ad8613b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3690,8 +3690,8 @@ public final class ActivityThread {
                    activity.token, state, persistentState, description);
                    activity.token, state, persistentState, description);
            } catch (RemoteException ex) {
            } catch (RemoteException ex) {
                if (ex instanceof TransactionTooLargeException
                if (ex instanceof TransactionTooLargeException
                        && "com.google.android.gms".equals(activity.packageInfo.getPackageName())) {
                        && activity.packageInfo.getTargetSdkVersion() < Build.VERSION_CODES.N) {
                    Log.d(TAG, "STAHP SENDING SO MUCH DATA KTHX: " + ex);
                    Log.e(TAG, "App tried sending too much data in instance state", ex);
                    return;
                    return;
                }
                }