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

Commit 9ad8613b authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Suppress StopInfo exception based on target API.

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