From feefaacb31561c0272b038905fd4d030bdd695c2 Mon Sep 17 00:00:00 2001 From: tonihei Date: Tue, 18 Jun 2019 11:31:54 +0100 Subject: [PATCH] Gracefully handle revoked ACCESS_NETWORK_STATE permission. This permission has normal access right and can't be revoked by the user. However, an app can choose to revoke it when using ExoPlayer, e.g. if no network is required and the app doesn't want to list this permission. Support this use case by gracefully catching the exception in the relevant places. Issue:#6019 PiperOrigin-RevId: 253759332 --- RELEASENOTES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index b441e6e995..5dde993ae0 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -5,6 +5,8 @@ * Display last frame when seeking to end of stream ([#2568](https://github.com/google/ExoPlayer/issues/2568)). * SmoothStreaming: Parse text stream `Subtype` into `Format.roleFlags`. +* Gracefully handle revoked `ACCESS_NETWORK_STATE` permission + ([#6019](https://github.com/google/ExoPlayer/issues/6019)). ### 2.10.2 ###