@ -21,7 +21,10 @@
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    android:versionCode="1"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    android:versionName="0.1" >
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    <uses-sdk  android:minSdkVersion= "14"  /> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--     添加 tools:ignore="GradleOverrides" 忽略 Gradle 对 minSdkVersion 的重写 --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    <uses-sdk  android:minSdkVersion= "14" 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        tools:ignore="GradleOverrides" />
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    <uses-permission  android:name= "android.permission.WRITE_EXTERNAL_STORAGE"  /> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    <uses-permission  android:name= "com.android.launcher.permission.INSTALL_SHORTCUT"  /> 
 
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -36,14 +39,20 @@
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    <application 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        android:icon="@drawable/icon_app"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        android:label="@string/app_name" >
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--         添加:  android:exported="true"  --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--         原因:  As of Android 12, android:exported must be set; use true to make the activity available to other apps, and false otherwise. For launcher activities, this should be set to true. --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--         移除:  android:label="@string/app_name" --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--         原因:  Redundant label can be removed.(  冗余标签可以移除,  第41行已经给出)  --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <activity 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:name=".ui.NotesListActivity"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:configChanges="keyboardHidden|orientation|screenSize"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:label="@string/app_name"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:launchMode="singleTop"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:theme="@style/NoteTheme"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:uiOptions="splitActionBarWhenNarrow"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:windowSoftInputMode="adjustPan" >
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:windowSoftInputMode="adjustPan"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:exported="true">
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            <intent-filter > 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                <action  android:name= "android.intent.action.MAIN"  /> 
 
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -51,11 +60,15 @@
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            </intent-filter> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        </activity> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <!--         添加:  android:exported="true"  --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <!--         原因: As of Android 12, android:exported must be set; use true to make the activity available to other apps, and false otherwise. For launcher activities, this should be set to true. --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <activity 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:name=".ui.NoteEditActivity"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:configChanges="keyboardHidden|orientation|screenSize"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:launchMode="singleTop"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:theme="@style/NoteTheme" >
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:theme="@style/NoteTheme"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:exported="true">
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            <intent-filter  android:scheme= "http" 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                tools:ignore="AppLinkUrlError">
 
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -82,14 +95,22 @@
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                android:resource="@xml/searchable" />
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        </activity> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--         添加:  android:exported="false" --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--         原因:  Exported content providers can provide access to potentially sensitive data --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <provider 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:name="net.micode.notes.data.NotesProvider"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:authorities="micode_notes"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:multiprocess="true" />
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:multiprocess="true"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:exported="false" />
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--         添加:  android:exported="true"  --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					<!--         原因: As of Android 12, android:exported must be set; use true to make the activity available to other apps, and false otherwise. For launcher activities, this should be set to true. --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <receiver 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:name=".widget.NoteWidgetProvider_2x"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:label="@string/app_widget2x2" >
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:label="@string/app_widget2x2"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:exported="true">
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            <intent-filter > 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                <action  android:name= "android.appwidget.action.APPWIDGET_UPDATE"  /> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                <action  android:name= "android.appwidget.action.APPWIDGET_DELETED"  /> 
 
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -100,9 +121,15 @@
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                android:name="android.appwidget.provider"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                android:resource="@xml/widget_2x_info" />
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        </receiver> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <!--         添加:  android:exported="true"  --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <!--         原因: As of Android 12, android:exported must be set; use true to make the activity available to other apps, and false otherwise. For launcher activities, this should be set to true. --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <receiver 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:name=".widget.NoteWidgetProvider_4x"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:label="@string/app_widget4x4" >
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:label="@string/app_widget4x4"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:exported="true">
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            <intent-filter > 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                <action  android:name= "android.appwidget.action.APPWIDGET_UPDATE"  /> 
 
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -115,7 +142,12 @@
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                android:resource="@xml/widget_4x_info" />
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        </receiver> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <receiver  android:name= ".ui.AlarmInitReceiver"  > 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <!--         添加:  android:exported="true"  --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <!--         原因: As of Android 12, android:exported must be set; use true to make the activity available to other apps, and false otherwise. For launcher activities, this should be set to true. --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <receiver  android:name= ".ui.AlarmInitReceiver" 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:exported="true">
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            <intent-filter > 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                <action  android:name= "android.intent.action.BOOT_COMPLETED"  /> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            </intent-filter> 
 
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -126,9 +158,11 @@
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:process=":remote" >
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        </receiver> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <!--         移除:  android:label="@string/app_name" --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <!--         原因:  Redundant label can be removed.(  冗余标签可以移除,  第41行已经给出)  --> 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        <activity 
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:name=".ui.AlarmAlertActivity"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:label="@string/app_name"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:launchMode="singleInstance"
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" >
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        </activity>