Merge "Protecting TvExtender from being stripped by lightenPayload()"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e122c245a9
@@ -1913,6 +1913,9 @@ public class Notification implements Parcelable
|
||||
final String[] keys = keyset.toArray(new String[N]);
|
||||
for (int i=0; i<N; i++) {
|
||||
final String key = keys[i];
|
||||
if (TvExtender.EXTRA_TV_EXTENDER.equals(key)) {
|
||||
continue;
|
||||
}
|
||||
final Object obj = extras.get(key);
|
||||
if (obj != null &&
|
||||
( obj instanceof Parcelable
|
||||
|
||||
Reference in New Issue
Block a user