Home | History | Annotate | Download | only in RetailDemo
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2016 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     18         package="com.android.retaildemo">
     19 
     20     <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
     21     <uses-permission android:name="android.permission.WAKE_LOCK" />
     22     <uses-permission android:name="android.permission.INTERNET" />
     23     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     24 
     25     <application
     26             android:enabled="false"
     27             android:allowBackup="false"
     28             android:label="@string/retail_demo_title"
     29             android:supportsRtl="true">
     30 
     31         <activity android:name=".DemoPlayer"
     32                 android:exported="true"
     33                 android:immersive="true"
     34                 android:screenOrientation="nosensor"
     35                 android:theme="@android:style/Theme.Wallpaper.NoTitleBar.Fullscreen">
     36             <!-- Higher priority than setup wizard -->
     37             <intent-filter android:priority="6">
     38                 <action android:name="android.intent.action.MAIN" />
     39                 <category android:name="android.intent.category.HOME" />
     40                 <category android:name="android.intent.category.DEFAULT" />
     41             </intent-filter>
     42         </activity>
     43 
     44         <!-- This isn't a real receiver, it's only used as a marker interface. -->
     45         <receiver android:name=".DemoModeCustomizationReceiver">
     46             <intent-filter>
     47                 <action android:name="com.android.launcher3.action.PARTNER_CUSTOMIZATION" />
     48             </intent-filter>
     49         </receiver>
     50 
     51     </application>
     52 
     53 </manifest>