aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/AndroidManifest.xml
blob: fd4695f7115a1accd768af614ed19aaa456b5575 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                    
                                                  

                                                   
                                                                  

                                                                             
                                                                 






                                                                                       

                                                                   
                
                                
                                  
                                          
                                                

                                                     
                                       

                                           





                                                                   
                
                                                        
                                  
                                       


                                                              




                                                                          



                                                                       
 
                
                                                              
                                  
                                       
 

                                                                
                                                               
                                                       
                                                         
                 


                                                                          
                                                        
                 
                                                   

                                                               
                                                       

                                                               

                                                                     
                                                       

                                                            

                                                                    
                                                       

                                                         

                                                                
                                                                            

                                                               


                                                                       

                                                           
                                                                  

                                                               



                                                                           
                                                       

                                                              

                                                                      
                                                    

                                                         
                                                                  
                                                               
                                                       
                 
                                                              
                                                                      
                                                               
                                                       
                                                                     

                                                                    
 
                                                                           
 



                                                                    
 
                                                                           
 



                                                                    
 
                                                                           
 


                                                      
                 
                                                     
                                                           
                                                               

                                                             
                                                  
                                                               
                                                               
                                                       
                 

                                                               
                                                       
                 
                                                        
                                                               
                                                               
                                                       

                                                         
                                                     
                                                            
                                                               
                                                    
                                                         
                 

                                                               
                                                       
                 
                                                                   
                                                                    
                                                               
                                                       
                                                                








                                                                             








                                                 

















                                                  





























                                                  

                            
                 
                                                   
                                                         
                                                               
                                                       
                 
                                                  
                                                        
                                                               
                                                       
                 
                                                      
                                                             
                                                               
                                                       
                                                         
                 
                                                      
                                                             
                                                               
                                                       
                                                         
                 
                                                     
                                                            
                                                               
                                                       
                                                         
                 
                                                                   
                                                 
                                                               
                                                       
                 
                                                               
                                                                      
                                                               
                                                       
                 
                                                     
                                                            
                                                               
                                                       
                                                         
                 
                                                    
                                                          
                                                               
                                                       
                                                         
                 
                                                         
                                                         
                                                               
                                                       
                 
                                                 
                                                    
                                                     

                                                                    
 



                                                                            
                                                  
                                                        
                                                               
                                                       
                 
                                                           
                                                               
                                                                    
                 
                                                      
                                                                          
                                                               
                                                        
                 

                                                               
                                                       
                 

                                                                
                                                                            
                 

                                                               
                                                                            
 






                                                                  
                                                     
                   
 
                
                                                     

                                       

                                                                                            
                  
 
          
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="ml.docilealligator.infinityforreddit">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.SET_WALLPAPER" />
    <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission
        android:name="android.permission.WRITE_EXTERNAL_STORAGE"
        android:maxSdkVersion="22" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

    <uses-permission-sdk-23 android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <uses-permission android:name="android.permission.WAKE_LOCK" />

    <application
        android:name=".Infinity"
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/application_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        android:usesCleartextTraffic="true"
        tools:replace="android:label">
        <activity android:name=".Activity.SubmitCrosspostActivity"
            android:label="@string/submit_crosspost_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize"/>

        <service
            android:name=".Service.DownloadMediaService"
            android:enabled="true"
            android:exported="false" />

        <activity
            android:name=".Activity.ViewRedditGalleryActivity"
            android:configChanges="orientation|screenSize|layoutDirection"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Draggable" />
        <activity
            android:name=".Activity.SendPrivateMessageActivity"
            android:label="@string/send_private_message_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize" />

        <service
            android:name=".Service.DownloadRedditVideoService"
            android:enabled="true"
            android:exported="false" />

        <activity
            android:name=".Activity.ViewPrivateMessagesActivity"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.ViewImgurMediaActivity"
            android:configChanges="orientation|screenSize|layoutDirection"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Draggable" />
        <activity
            android:name=".Activity.ReportActivity"
            android:label="@string/report_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.SelectedSubredditsActivity"
            android:label="@string/selected_subeddits_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.EditMultiRedditActivity"
            android:label="@string/edit_multi_reddit_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.ThemePreviewActivity"
            android:label="@string/theme_preview_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.SlidableWithTranslucentWindow" />
        <activity
            android:name=".Activity.CustomThemeListingActivity"
            android:label="@string/custom_theme_listing_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar" />
        <activity
            android:name=".Activity.CustomizeThemeActivity"
            android:label="@string/customize_theme_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar" />
        <activity
            android:name=".Activity.SubredditMultiselectionActivity"
            android:label="@string/subreddit_multiselection_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.CreateMultiRedditActivity"
            android:label="@string/create_multi_reddit_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.ViewMultiRedditDetailActivity"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.AccountSavedThingActivity"
            android:label="@string/account_saved_thing_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity android:name=".Activity.ShareDataResolverActivity">
            <intent-filter>
                <action android:name="android.intent.action.SEND" />

                <category android:name="android.intent.category.DEFAULT" />

                <data android:mimeType="image/*" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SEND" />

                <category android:name="android.intent.category.DEFAULT" />

                <data android:mimeType="video/*" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.SEND" />

                <category android:name="android.intent.category.DEFAULT" />

                <data android:mimeType="text/plain" />
            </intent-filter>
        </activity>
        <activity
            android:name=".Activity.SettingsActivity"
            android:label="@string/settings_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/PreferenceActivityTheme" />
        <activity
            android:name=".Activity.InboxActivity"
            android:label="@string/view_message_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.AccountPostsActivity"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.EditCommentActivity"
            android:label="@string/edit_comment_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.EditPostActivity"
            android:label="@string/edit_post_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.FilteredThingActivity"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.SearchSubredditsResultActivity"
            android:label="@string/search_subreddits_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity android:name=".Activity.LinkResolverActivity">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data
                    android:host="www.reddit.com"
                    android:scheme="https" />
                <data
                    android:host="reddit.com"
                    android:scheme="https" />
                <data
                    android:host="amp.reddit.com"
                    android:scheme="https" />
                <data
                    android:host="m.reddit.com"
                    android:scheme="https" />
                <data
                    android:host="old.reddit.com"
                    android:scheme="https" />
                <data
                    android:host="new.reddit.com"
                    android:scheme="https" />
                <data
                    android:host="np.reddit.com"
                    android:scheme="https" />
                <data
                    android:host="reddit.app.link"
                    android:scheme="https" />
                <data
                    android:host="redd.it"
                    android:scheme="https" />
                <data
                    android:host="s.reddit.com"
                    android:scheme="https" />
                <data
                    android:host="www.reddit.com"
                    android:scheme="http" />
                <data
                    android:host="reddit.com"
                    android:scheme="http" />
                <data
                    android:host="amp.reddit.com"
                    android:scheme="http" />
                <data
                    android:host="m.reddit.com"
                    android:scheme="http" />
                <data
                    android:host="old.reddit.com"
                    android:scheme="http" />
                <data
                    android:host="new.reddit.com"
                    android:scheme="http" />
                <data
                    android:host="np.reddit.com"
                    android:scheme="http" />
                <data
                    android:host="reddit.app.link"
                    android:scheme="http" />
                <data
                    android:host="redd.it"
                    android:scheme="http" />
                <data
                    android:host="s.reddit.com"
                    android:scheme="http" />
            </intent-filter>
        </activity>
        <activity
            android:name=".Activity.SearchActivity"
            android:label="@string/search_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.RulesActivity"
            android:label="@string/rules_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.PostVideoActivity"
            android:label="@string/post_video_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.PostImageActivity"
            android:label="@string/post_image_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.PostLinkActivity"
            android:label="@string/post_link_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.SubscribedThingListingActivity"
            android:label="@string/subscriptions"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.SubredditSelectionActivity"
            android:label="@string/subreddit_selection_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.PostTextActivity"
            android:label="@string/post_text_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.CommentActivity"
            android:label="@string/comment_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.NoActionBar"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".Activity.SearchResultActivity"
            android:label="@string/search_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.MainActivity"
            android:label="@string/application_name"
            android:theme="@style/AppTheme.Launcher">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".Activity.LoginActivity"
            android:label="@string/login_activity_label"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.ViewImageOrGifActivity"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.SlidableWithActionBar" />
        <activity
            android:name=".Activity.ViewVideoActivity"
            android:configChanges="orientation|screenSize|layoutDirection"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Draggable" />
        <activity
            android:name=".Activity.ViewPostDetailActivity"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.Slidable" />
        <activity
            android:name=".Activity.ViewSubredditDetailActivity"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.SlidableWithTranslucentWindow" />
        <activity
            android:name=".Activity.ViewUserDetailActivity"
            android:parentActivityName=".Activity.MainActivity"
            android:theme="@style/AppTheme.SlidableWithTranslucentWindow" />

        <provider
            android:name="androidx.core.content.FileProvider"
            android:authorities="${applicationId}.provider"
            android:exported="false"
            android:grantUriPermissions="true">
            <meta-data
                android:name="android.support.FILE_PROVIDER_PATHS"
                android:resource="@xml/file_paths" />
        </provider>

        <service
            android:name=".Service.SubmitPostService"
            android:enabled="true"
            android:exported="false" />

        <receiver android:process=":remote" android:name=".PullNotificationAlarmReceiver" />
    </application>

</manifest>