diff options
Diffstat (limited to 'tests/robotests/src/com/android/tv/MediaSessionWrapperTest.java')
-rw-r--r-- | tests/robotests/src/com/android/tv/MediaSessionWrapperTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/robotests/src/com/android/tv/MediaSessionWrapperTest.java b/tests/robotests/src/com/android/tv/MediaSessionWrapperTest.java index 5be62acb..c0263fa7 100644 --- a/tests/robotests/src/com/android/tv/MediaSessionWrapperTest.java +++ b/tests/robotests/src/com/android/tv/MediaSessionWrapperTest.java @@ -56,9 +56,8 @@ public class MediaSessionWrapperTest { @Before public void setUp() { - pendingIntent = - PendingIntent.getActivity( - RuntimeEnvironment.application, TEST_REQUEST_CODE, new Intent(), 0); + pendingIntent = PendingIntent.getActivity(RuntimeEnvironment.application, TEST_REQUEST_CODE, + new Intent(), PendingIntent.FLAG_IMMUTABLE); mediaSessionWrapper = new MediaSessionWrapper(RuntimeEnvironment.application, pendingIntent) { @Override |