From 18a50244ff6feb69493646ef64bd268587eebaa5 Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Fri, 14 Dec 2018 05:14:54 +0300 Subject: [PATCH] Add SERVICE_MISSING_PERMISSION to ConnectionResult --- .../java/com/google/android/gms/common/ConnectionResult.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/play-services-basement/src/main/java/com/google/android/gms/common/ConnectionResult.java b/play-services-basement/src/main/java/com/google/android/gms/common/ConnectionResult.java index e7ba5d72..f3272de8 100644 --- a/play-services-basement/src/main/java/com/google/android/gms/common/ConnectionResult.java +++ b/play-services-basement/src/main/java/com/google/android/gms/common/ConnectionResult.java @@ -115,6 +115,11 @@ public class ConnectionResult { * Using the API on the device should be avoided. */ public static final int API_UNAVAILABLE = 16; + + /** + * Service doesn't have one or more required permissions. + */ + public static final int SERVICE_MISSING_PERMISSION = 19; /** * The Drive API requires external storage (such as an SD card), but no external storage is