|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
3 | | - xmlns:tools="http://schemas.android.com/tools" |
4 | | - package="com.fake.android.torchlight" |
5 | | - android:installLocation="auto"> |
| 3 | + xmlns:tools="http://schemas.android.com/tools" |
| 4 | + package="com.fake.android.torchlight" |
| 5 | + android:installLocation="auto"> |
6 | 6 |
|
7 | | - <uses-feature |
8 | | - android:name="android.hardware.camera" |
9 | | - android:required="false"/> |
10 | | - <uses-feature |
11 | | - android:name="android.hardware.camera.flash" |
12 | | - android:required="false"/> |
| 7 | + <uses-feature android:name="android.hardware.camera" android:required="false" /> |
| 8 | + <uses-feature android:name="android.hardware.camera.flash" android:required="false" /> |
13 | 9 |
|
14 | | - <uses-permission android:name="android.permission.CAMERA"/> |
15 | | - <uses-permission android:name="android.permission.FLASHLIGHT"/> |
| 10 | + <uses-permission android:name="android.permission.CAMERA" /> |
| 11 | + <uses-permission android:name="android.permission.FLASHLIGHT" /> |
16 | 12 |
|
17 | 13 | <!-- <uses-permission android:name="android.permission.INTERNET" /> --> |
18 | | - <application |
19 | | - android:allowBackup="false" |
20 | | - android:icon="@mipmap/ic_launcher" |
21 | | - android:roundIcon="@mipmap/ic_launcher_round" |
| 14 | + <application android:allowBackup="false" |
| 15 | + android:icon="@mipmap/ic_launcher" |
| 16 | + android:roundIcon="@mipmap/ic_launcher_round" |
| 17 | + android:label="@string/app_name" |
| 18 | + android:supportsRtl="true" |
| 19 | + android:theme="@style/AppTheme" |
| 20 | + tools:ignore="GoogleAppIndexingWarning"> |
| 21 | + <activity android:name=".MainActivity" |
22 | 22 | android:label="@string/app_name" |
23 | | - android:supportsRtl="true" |
24 | | - android:theme="@style/AppTheme" |
25 | | - tools:ignore="GoogleAppIndexingWarning"> |
26 | | - <activity |
27 | | - android:name=".MainActivity" |
28 | | - android:label="@string/app_name" |
29 | | - android:theme="@style/AppTheme.NoActionBar"> |
| 23 | + android:theme="@style/AppTheme.NoActionBar"> |
30 | 24 | <intent-filter> |
31 | | - <action android:name="android.intent.action.MAIN"/> |
| 25 | + <action android:name="android.intent.action.MAIN" /> |
32 | 26 |
|
33 | | - <category android:name="android.intent.category.LAUNCHER"/> |
| 27 | + <category android:name="android.intent.category.LAUNCHER" /> |
34 | 28 | </intent-filter> |
35 | 29 | </activity> |
36 | | - <activity |
37 | | - android:name=".FlashActivity" |
38 | | - android:theme="@style/AppTheme.Torch"/> |
39 | | - <activity |
40 | | - android:name=".AutoFlashActivity" |
41 | | - android:label="@string/auto_flash"> |
| 30 | + <activity android:name=".FlashActivity" android:theme="@style/AppTheme.Torch" /> |
| 31 | + <activity android:name=".AutoFlashActivity" android:label="@string/auto_flash"> |
42 | 32 | <intent-filter> |
43 | | - <action android:name="android.intent.action.MAIN"/> |
| 33 | + <action android:name="android.intent.action.MAIN" /> |
44 | 34 |
|
45 | | - <category android:name="android.intent.category.DEFAULT"/> |
| 35 | + <category android:name="android.intent.category.DEFAULT" /> |
46 | 36 | </intent-filter> |
47 | 37 | </activity> |
48 | 38 |
|
49 | | - <receiver |
50 | | - android:name=".ToggleReceiver" |
51 | | - android:enabled="true"/> |
| 39 | + <receiver android:name=".ToggleReceiver" android:enabled="true" /> |
52 | 40 | <receiver android:name=".TorchlightWidget"> |
53 | 41 | <intent-filter> |
54 | | - <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> |
| 42 | + <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
55 | 43 | </intent-filter> |
56 | 44 |
|
57 | | - <meta-data |
58 | | - android:name="android.appwidget.provider" |
59 | | - android:resource="@xml/torchlight_widget_info"/> |
| 45 | + <meta-data android:name="android.appwidget.provider" android:resource="@xml/torchlight_widget_info" /> |
60 | 46 | </receiver> |
61 | 47 |
|
62 | | - <activity |
63 | | - android:name=".SettingsActivity" |
64 | | - android:label="@string/action_settings" |
65 | | - android:parentActivityName=".MainActivity"> |
66 | | - <meta-data |
67 | | - android:name="android.support.PARENT_ACTIVITY" |
68 | | - android:value="com.fake.android.torchlight.MainActivity"/> |
| 48 | + <activity android:name=".SettingsActivity" |
| 49 | + android:label="@string/action_settings" |
| 50 | + android:parentActivityName=".MainActivity"> |
| 51 | + <meta-data android:name="android.support.PARENT_ACTIVITY" |
| 52 | + android:value="com.fake.android.torchlight.MainActivity" /> |
69 | 53 | </activity> |
70 | 54 | </application> |
71 | 55 |
|
|
0 commit comments