Skip to content

Commit

Permalink
FIX: Manifest; ADD: screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
frankbouwens committed Aug 17, 2020
1 parent 7c3b1c0 commit 4f6bc4b
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 0 deletions.
Binary file added app/device-2020-08-16-204625.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/device-2020-08-16-204720.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added automotive/automotive_land3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added automotive/automotive_land4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added automotive/automotive_port2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added automotive/automotive_port3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions automotive/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,21 @@
android:name="android.hardware.type.automotive"
android:required="true" />

<uses-feature
android:name="android.hardware.wifi"
android:required="false" />
<uses-feature
android:name="android.hardware.screen.portrait"
android:required="false" />
<uses-feature
android:name="android.hardware.screen.landscape"
android:required="false" />


<uses-sdk tools:overrideLibrary="androidx.car" />

<application
android:appCategory="audio"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
Expand All @@ -41,6 +53,9 @@
android:usesCleartextTraffic="true"
tools:ignore="GoogleAppIndexingWarning">

<meta-data android:name="com.android.automotive"
android:resource="@xml/automotive_app_desc"/>

<!--
Declare the MediaBrowserService which supports Android Automotive specific
extensions.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions automotive/src/main/res/xml/automotive_app_desc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2018 Google Inc. All rights reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<automotiveApp>
<!--
~ This lets Android Auto know that UAMP can act as a media app.
~ See: https://developer.android.com/training/auto/audio/ for more info.
-->
<uses name="media" />
</automotiveApp>
Binary file added automotive_port1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4f6bc4b

Please sign in to comment.