Protecting TvExtender from being stripped by lightenPayload()
Test: Verified manually that TvExtenders actually arrive in LeanbackLauncher Change-Id: I42bfc340f7e92bc15243f66c6ae24a330d569262
This commit is contained in:
@@ -1895,6 +1895,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