summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Warrington <cmw@google.com>2021-04-22 19:11:05 +0100
committerChris Warrington <cmw@google.com>2021-04-23 13:09:24 +0000
commit9da9ea49916a054da5689c0de863e1ef279d090a (patch)
tree9c238cedf73e121df26041216a44ee97a27db453
parent86df7d4a6228a0e92899689879a49a13b1e3fa77 (diff)
downloadanalytics-library-9da9ea49916a054da5689c0de863e1ef279d090a.tar.gz
Warn if compileSdk is higher than has been tested
Update from cl/369869065 Other changes removed as they require other changes to Studio Bug: N/A Test: Included in I32e7e00e58bc946f796330e78454dd9529c11ec7 Change-Id: I5b96d002a4312ccc517712e1c6824f11c400666f
-rw-r--r--protos/src/main/proto/analytics_enums.proto1
-rw-r--r--protos/src/main/proto/studio_stats.proto3
2 files changed, 4 insertions, 0 deletions
diff --git a/protos/src/main/proto/analytics_enums.proto b/protos/src/main/proto/analytics_enums.proto
index b6328a9..44b9d00 100644
--- a/protos/src/main/proto/analytics_enums.proto
+++ b/protos/src/main/proto/analytics_enums.proto
@@ -569,6 +569,7 @@ enum StringOption {
NATIVE_BUILD_OUTPUT_LEVEL = 30;
AAPT2_FROM_MAVEN_VERSION_OVERRIDE = 31;
LINT_HEAP_SIZE = 32;
+ SUPPRESS_UNSUPPORTED_COMPILE_SDK = 33;
}
enum VariantApiArtifactType {
diff --git a/protos/src/main/proto/studio_stats.proto b/protos/src/main/proto/studio_stats.proto
index 7d66daf..d7f6dba 100644
--- a/protos/src/main/proto/studio_stats.proto
+++ b/protos/src/main/proto/studio_stats.proto
@@ -1517,6 +1517,9 @@ message AndroidStudioEvent {
// Java version used by AGP is too low.
TYPE_AGP_USED_JAVA_VERSION_TOO_LOW = 55;
+ // An AGP upgrade is recommended to use this compile sdk version.
+ TYPE_COMPILE_SDK_VERSION_TOO_HIGH = 56;
+
// NOTE: When adding a new type here, increment the index by 1. This index
// may not be consistent with the corresponding value in the Android Gradle
// plugin (e.g., it could be higher by 1), because of an indexing issue in