aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2021-01-15 18:22:00 -0800
committerCole Faust <colefaust@google.com>2021-01-27 10:38:30 -0800
commita268e5e7195cc584c26047ddccf91c9688d9f914 (patch)
treef5d1348b0709a2d77cd6581198903abd40b24173 /Android.bp
parentf69993c0a8853a3cd41ff0ccd547264cb9fa6011 (diff)
downloadCalendar-a268e5e7195cc584c26047ddccf91c9688d9f914.tar.gz
Update toolbar usage
Use car-ui-lib's base layout style of toolbar, the old one is deprecated. Also in this cl: removing an unneccesary <provider> tag from the manifest, and using sdk_version: current instead of system_current to completely unbundle calendar. Fixes: 177703290 Test: atest CarCalendarUiTests CarCalendarUnitTests Change-Id: I5690b23933cb074acde6d4bc08f4d656f5c7db91
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 63f7ceb..8b0f886 100644
--- a/Android.bp
+++ b/Android.bp
@@ -17,15 +17,16 @@ android_app {
name: "CarCalendarApp",
srcs: ["src/**/*.java"],
resource_dirs: ["res"],
- sdk_version: "system_current",
- min_sdk_version: "29",
+ sdk_version: "current",
+ target_sdk_version: "29",
+ min_sdk_version: "28",
optimize: {
enabled: false,
},
dex_preopt: {
enabled: false,
},
- libs: ["android.car-system-stubs"],
+ libs: ["android.car-stubs"],
static_libs: [
"car-ui-lib",
"androidx.lifecycle_lifecycle-extensions",