OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26ddba
)
Suppress StopInfo exception based on target API.
author
Jeff Sharkey
<jsharkey@android.com>
Tue, 1 Mar 2016 18:22:59 +0000
(11:22 -0700)
committer
Jeff Sharkey
<jsharkey@android.com>
Tue, 1 Mar 2016 19:18:40 +0000
(12:18 -0700)
Bug:
27429026
Change-Id: Ibf0b058b1f921c20fbc3c72045467883a8934f67
core/java/android/app/ActivityThread.java
patch
|
blob
|
history
diff --git
a/core/java/android/app/ActivityThread.java
b/core/java/android/app/ActivityThread.java
index
0d8069e
..
744fff8
100644
(file)
--- a/
core/java/android/app/ActivityThread.java
+++ b/
core/java/android/app/ActivityThread.java
@@
-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;
}