E
E
Elio Don2017-05-11 02:18:13
Android
Elio Don, 2017-05-11 02:18:13

How to remove permissions?

Removed many permissions as they are not required.
But when installing the application, permissions are required:
Privacy:
Get phone status data.
Access to the device:
About access to the Internet, everything is fine here.
Start when you turn on the device
Turn off sleep mode
Control the vibrate function
Read settings and home screen shortcuts

How do I remove what is in bold.

Manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package=""
    android:versionCode="9"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="14"
        android:targetSdkVersion="25" />

    <!-- Always Required to get content and check if internet is available -->
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <!-- Always Required for image coaching & maps -->
    <!--    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
       <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> -->

       <!-- Required for maps -->
    <!--    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> -->
        <!-- Required for visualizer & radio -->
    <!--   <uses-permission android:name="android.permission.RECORD_AUDIO"/>
       <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
       <uses-permission android:name="android.permission.WAKE_LOCK"/>
       <uses-permission android:name="android.permission.READ_PHONE_STATE"/> -->
       <!-- Required for tumblr -->
 <!--   <uses-permission android:name="android.permission.SET_WALLPAPER"/>  -->
    <!-- Required for in-app purchases -->
 <!--   <uses-permission android:name="com.android.vending.BILLING" /> -->

  <!--  <uses-feature
        android:glEsVersion="0x00020000"
        android:required="true"/> -->

    <application
        android:icon="@drawable/ic_launcher"
        android:theme="@style/AppTheme"
        android:label="@string/app_name"
        android:name=""
        android:allowBackup="true" >

        <!-- Activities -->
        <activity
            android:name="MainActivity"
            android:theme="@style/AppThemeBar"
            android:configChanges="orientation|screenSize"
            android:label="@string/app_name">
         <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    <!--    <activity android:name="providers.yt.player.YouTubePlayerActivity"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:screenOrientation="sensor"
            android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"/>
        <activity android:name="providers.rss.ui.RssDetailActivity"
            android:configChanges="orientation|screenSize"/>
        <activity android:name="providers.yt.ui.YoutubeDetailActivity"
            android:configChanges="orientation|screenSize"/> -->
        <activity android:name="providers.wordpress.ui.WordpressDetailActivity"
            android:configChanges="orientation|screenSize"/>
        <activity android:name="providers.web.WebviewActivity"
            android:configChanges="orientation|screenSize"/>
     <!--   <activity android:name="omments.CommentsActivity"
            android:configChanges="orientation|screenSize"/>
        <activity android:name="util.MediaActivity"
            android:configChanges="orientation|screenSize"/>
        <activity android:name="HolderActivity"
            android:configChanges="orientation|screenSize"/>
        <activity android:name="providers.tumblr.ui.TumblrPagerActivity"
            android:theme="@android:style/Theme.Holo.NoActionBar"  />
        <activity android:name="providers.fav.FavRed"
            android:noHistory="true"
            android:screenOrientation="portrait"/>
        <activity android:name="com.google.android.gms.ads.AdActivity"
            android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
            android:theme="@android:style/Theme.Translucent" /> -->
        <!-- Services -->
 <!--       <service
            android:name="providers.soundcloud.player.player.PlaybackService"
            android:exported="false" /> -->

        <!-- Receivers -->
  <!--      <receiver android:name="providers.soundcloud.player.player.PlayerReceiver">
            <intent-filter>
                <action android:name="android.media.AUDIO_BECOMING_NOISY" />
            </intent-filter>
        </receiver>

        <receiver android:name="providers.soundcloud.player.media.MediaSessionReceiver">
            <intent-filter>
                <action android:name="android.intent.action.MEDIA_BUTTON" />
            </intent-filter>
        </receiver>
-->
        <!-- Meta Data -->
  <!--      <meta-data
            android:name="com.onesignal.NotificationOpened.DEFAULT"
            android:value="DISABLE" />
        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />
        <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="@string/google_android_key"/> -->

    </application>

</manifest>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2017-05-11
@iLLuzor

Do not remove at all. The manifests of the linked libraries and your manifest are merged into one during assembly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question