|
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.dp.logcatapp"> |
| 3 | + xmlns:tools="http://schemas.android.com/tools" |
| 4 | + package="com.dp.logcatapp"> |
5 | 5 |
|
6 | 6 | <!-- adb shell pm grant com.dp.logcatapp android.permission.READ_LOGS -->
|
7 |
| - <uses-permission android:name="android.permission.READ_LOGS" /> |
| 7 | + <uses-permission android:name="android.permission.READ_LOGS"/> |
8 | 8 |
|
9 |
| - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
10 |
| - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
11 |
| - <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 9 | + <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 10 | + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
| 11 | + <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
12 | 12 |
|
13 | 13 | <application
|
14 |
| - android:name=".LogcatApp" |
15 |
| - android:allowBackup="true" |
16 |
| - android:fullBackupContent="true" |
17 |
| - android:icon="@mipmap/ic_launcher" |
18 |
| - android:label="@string/app_name" |
19 |
| - android:largeHeap="true" |
20 |
| - android:supportsRtl="true" |
21 |
| - android:theme="@style/LightTheme" |
22 |
| - tools:ignore="GoogleAppIndexingWarning"> |
| 14 | + android:name=".LogcatApp" |
| 15 | + android:allowBackup="true" |
| 16 | + android:fullBackupContent="true" |
| 17 | + android:icon="@mipmap/ic_launcher" |
| 18 | + android:label="@string/app_name" |
| 19 | + android:largeHeap="true" |
| 20 | + android:supportsRtl="true" |
| 21 | + android:theme="@style/LightTheme" |
| 22 | + tools:ignore="GoogleAppIndexingWarning"> |
23 | 23 | <activity
|
24 |
| - android:name=".activities.SplashActivity" |
25 |
| - android:theme="@style/SplashScreenTheme"> |
| 24 | + android:exported="true" |
| 25 | + android:name=".activities.SplashActivity" |
| 26 | + android:theme="@style/SplashScreenTheme"> |
26 | 27 | <intent-filter>
|
27 |
| - <action android:name="android.intent.action.MAIN" /> |
| 28 | + <action android:name="android.intent.action.MAIN"/> |
28 | 29 |
|
29 |
| - <category android:name="android.intent.category.LAUNCHER" /> |
| 30 | + <category android:name="android.intent.category.LAUNCHER"/> |
30 | 31 | </intent-filter>
|
31 | 32 | </activity>
|
32 | 33 | <activity
|
33 |
| - android:name=".activities.MainActivity" |
34 |
| - android:launchMode="singleTask" /> |
| 34 | + android:name=".activities.MainActivity" |
| 35 | + android:launchMode="singleTask"/> |
35 | 36 | <activity
|
36 |
| - android:name=".activities.SettingsActivity" |
37 |
| - android:launchMode="singleTask" |
38 |
| - android:parentActivityName=".activities.MainActivity" |
39 |
| - android:windowSoftInputMode="adjustResize"> |
| 37 | + android:name=".activities.SettingsActivity" |
| 38 | + android:launchMode="singleTask" |
| 39 | + android:parentActivityName=".activities.MainActivity" |
| 40 | + android:windowSoftInputMode="adjustResize"> |
40 | 41 | <meta-data
|
41 |
| - android:name="android.support.PARENT_ACTIVITY" |
42 |
| - android:value=".activities.MainActivity" /> |
| 42 | + android:name="android.support.PARENT_ACTIVITY" |
| 43 | + android:value=".activities.MainActivity"/> |
43 | 44 | </activity>
|
44 | 45 |
|
45 | 46 | <activity
|
46 |
| - android:name=".activities.FiltersActivity" |
47 |
| - android:launchMode="singleTask" |
48 |
| - android:parentActivityName=".activities.MainActivity" |
49 |
| - android:windowSoftInputMode="adjustResize"> |
| 47 | + android:name=".activities.FiltersActivity" |
| 48 | + android:launchMode="singleTask" |
| 49 | + android:parentActivityName=".activities.MainActivity" |
| 50 | + android:windowSoftInputMode="adjustResize"> |
50 | 51 | <meta-data
|
51 |
| - android:name="android.support.PARENT_ACTIVITY" |
52 |
| - android:value=".activities.MainActivity" /> |
| 52 | + android:name="android.support.PARENT_ACTIVITY" |
| 53 | + android:value=".activities.MainActivity"/> |
53 | 54 | </activity>
|
54 | 55 |
|
55 | 56 | <activity
|
56 |
| - android:name=".activities.SavedLogsActivity" |
57 |
| - android:launchMode="singleTask" |
58 |
| - android:parentActivityName=".activities.MainActivity" |
59 |
| - android:windowSoftInputMode="adjustResize"> |
| 57 | + android:name=".activities.SavedLogsActivity" |
| 58 | + android:launchMode="singleTask" |
| 59 | + android:parentActivityName=".activities.MainActivity" |
| 60 | + android:windowSoftInputMode="adjustResize"> |
60 | 61 | <meta-data
|
61 |
| - android:name="android.support.PARENT_ACTIVITY" |
62 |
| - android:value=".activities.MainActivity" /> |
| 62 | + android:name="android.support.PARENT_ACTIVITY" |
| 63 | + android:value=".activities.MainActivity"/> |
63 | 64 | </activity>
|
64 | 65 |
|
65 | 66 | <activity
|
66 |
| - android:name=".activities.SavedLogsViewerActivity" |
67 |
| - android:launchMode="singleTask" |
68 |
| - android:parentActivityName=".activities.SavedLogsActivity" |
69 |
| - android:windowSoftInputMode="adjustResize"> |
| 67 | + android:name=".activities.SavedLogsViewerActivity" |
| 68 | + android:launchMode="singleTask" |
| 69 | + android:parentActivityName=".activities.SavedLogsActivity" |
| 70 | + android:windowSoftInputMode="adjustResize" |
| 71 | + android:exported="true"> |
70 | 72 | <meta-data
|
71 |
| - android:name="android.support.PARENT_ACTIVITY" |
72 |
| - android:value=".activities.SavedLogsActivity" /> |
| 73 | + android:name="android.support.PARENT_ACTIVITY" |
| 74 | + android:value=".activities.SavedLogsActivity"/> |
73 | 75 | <intent-filter>
|
74 |
| - <action android:name="android.intent.action.VIEW" /> |
75 |
| - <category android:name="android.intent.category.DEFAULT" /> |
| 76 | + <action android:name="android.intent.action.VIEW"/> |
| 77 | + <category android:name="android.intent.category.DEFAULT"/> |
76 | 78 |
|
77 | 79 | <data
|
78 |
| - android:mimeType="text/plain" |
79 |
| - android:scheme="file" /> |
| 80 | + android:mimeType="text/plain" |
| 81 | + android:scheme="file"/> |
80 | 82 | <data
|
81 |
| - android:mimeType="text/plain" |
82 |
| - android:scheme="content" /> |
| 83 | + android:mimeType="text/plain" |
| 84 | + android:scheme="content"/> |
83 | 85 | </intent-filter>
|
84 | 86 | </activity>
|
85 | 87 |
|
86 | 88 | <service
|
87 |
| - android:name=".services.LogcatService" |
88 |
| - android:exported="false" |
89 |
| - android:stopWithTask="false" /> |
| 89 | + android:name=".services.LogcatService" |
| 90 | + android:exported="false" |
| 91 | + android:stopWithTask="false"/> |
90 | 92 |
|
91 | 93 | <provider
|
92 |
| - android:name="androidx.core.content.FileProvider" |
93 |
| - android:authorities="${applicationId}.${fileProvider}" |
94 |
| - android:exported="false" |
95 |
| - android:grantUriPermissions="true"> |
| 94 | + android:name="androidx.core.content.FileProvider" |
| 95 | + android:authorities="${applicationId}.${fileProvider}" |
| 96 | + android:exported="false" |
| 97 | + android:grantUriPermissions="true"> |
96 | 98 | <meta-data
|
97 |
| - android:name="android.support.FILE_PROVIDER_PATHS" |
98 |
| - android:resource="@xml/file_provider_paths" /> |
| 99 | + android:name="android.support.FILE_PROVIDER_PATHS" |
| 100 | + android:resource="@xml/file_provider_paths"/> |
99 | 101 | </provider>
|
100 | 102 | </application>
|
101 | 103 |
|
|
0 commit comments