1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3          package="com.example.android.system.runtimepermissions">
4
5    <!-- Note that all required permissions are declared here in the Android manifest.
6    On Android M and above, use of these permissions is only requested at run time. -->
7    <uses-permission android:name="android.permission.CAMERA" />
8
9    <!-- The following permissions are only requested if the device is on M or above.
10     On older platforms these permissions are not requested and will not be available. -->
11    <uses-permission-sdk-23 android:name="android.permission.READ_CONTACTS" />
12    <uses-permission-sdk-23 android:name="android.permission.WRITE_CONTACTS" />
13
14    <application
15        android:allowBackup="true"
16        android:icon="@mipmap/ic_launcher"
17        android:label="@string/app_name"
18        android:supportsRtl="true"
19        android:theme="@style/Theme.AppCompat.Light">
20        <activity android:name=".MainActivity">
21            <intent-filter>
22                <action android:name="android.intent.action.MAIN" />
23
24                <category android:name="android.intent.category.LAUNCHER" />
25            </intent-filter>
26        </activity>
27    </application>
28
29</manifest>