diff options
author | Kevin Jin <kjin@google.com> | 2015-02-19 16:27:53 -0800 |
---|---|---|
committer | Kevin Jin <kjin@google.com> | 2015-02-19 16:41:27 -0800 |
commit | 082c7925e5109092ff31d7021f1f9bb6daabee12 (patch) | |
tree | 113164ffd759f9e6a1f9edf6c533621a45494e4a /build.gradle | |
parent | 226cf886473a53b0f6b11cd97c083471cdbc5307 (diff) | |
download | droiddriver-082c7925e5109092ff31d7021f1f9bb6daabee12.tar.gz |
Change minSdkVersion to 8
Guard access to newer API.
Ideally we should have lint check the usage of our API in user code.
E.g. the users specify minSdkVersion of their app to a value lower
than 11, but use SingleKeyAction.CTRL_MOVE_HOME.
It should be a feature of the Android lint, as described in
http://stackoverflow.com/questions/14066857/sdk-version-required-annotation
We may write our own lint extension, but it's hard to get it into
users' workflow.
Change-Id: I8efe88475646530dd8c90ccf443fb3ee9b62c900
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 0128b26..6b947c8 100644 --- a/build.gradle +++ b/build.gradle @@ -39,7 +39,7 @@ android { buildToolsVersion '21.1.2' defaultConfig { - minSdkVersion 12 // TODO: need to support SDK 9? + minSdkVersion 8 targetSdkVersion 21 versionCode 1 versionName version |