mirror of
				https://github.com/liberatedsystems/Sideband_CE.git
				synced 2024-09-03 04:13:27 +02:00 
			
		
		
		
	Added file provider configuration
This commit is contained in:
		
							parent
							
								
									22b54b3853
								
							
						
					
					
						commit
						db2ad8a7a7
					
				| @ -34,6 +34,7 @@ injectxml: | ||||
| 	mkdir -p .buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/sideband/src/main/res/xml | ||||
| 	mkdir -p .buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/sideband/templates | ||||
| 	cp patches/device_filter.xml .buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/sideband/src/main/res/xml/ | ||||
| 	cp patches/file_paths.xml .buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/sideband/src/main/res/xml/ | ||||
| 	cp patches/AndroidManifest.tmpl.xml .buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/sideband/templates/ | ||||
| 	 | ||||
| debug: | ||||
|  | ||||
| @ -142,6 +142,18 @@ | ||||
|     {% for a in args.add_activity  %} | ||||
|     <activity android:name="{{ a }}"></activity> | ||||
|     {% endfor %} | ||||
| 
 | ||||
|     <provider | ||||
|         android:name="android.support.v4.content.FileProvider" | ||||
|         android:authorities="io.unsigned.sideband.provider" | ||||
|         android:exported="false" | ||||
|         android:grantUriPermissions="true"> | ||||
|         <!-- ressource file to create --> | ||||
|         <meta-data | ||||
|             android:name="android.support.FILE_PROVIDER_PATHS" | ||||
|             android:resource="@xml/file_paths">   | ||||
|         </meta-data> | ||||
|     </provider> | ||||
|     </application> | ||||
| 
 | ||||
| </manifest> | ||||
|  | ||||
							
								
								
									
										4
									
								
								sbapp/patches/file_paths.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								sbapp/patches/file_paths.xml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <paths xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <files-path name="exports" path="exports/"/> | ||||
| </paths> | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user