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

am: d1caf8560d

* commit 'd1caf8560df4860fa7fcbd63afe359990f72d9f4':
  Suppress StopInfo exception based on target API.
This commit is contained in:
Jeff Sharkey
2016-03-01 22:20:58 +00:00
committed by android-build-merger

View File

@@ -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;
}