Skip to content

Commit

Permalink
Changed Android permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsa committed Aug 13, 2015
1 parent d9d1a3a commit 43a132d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 80 deletions.
7 changes: 0 additions & 7 deletions Android/Debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@

<!-- This is the platform API where NativeActivity was introduced. -->
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="11" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<uses-feature android:glEsVersion="0x00020000" android:required="True"/>
<application android:persistent="False"
Expand Down
7 changes: 0 additions & 7 deletions Android/Debug/ShadowEngineDemo/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@

<!-- This is the platform API where NativeActivity was introduced. -->
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="11" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<uses-feature android:glEsVersion="0x00020000" android:required="True"/>
<application android:persistent="False"
Expand Down
72 changes: 8 additions & 64 deletions ShadowEngineDemo.deployproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
<RemoteDir>ShadowEngineDemo.app\</RemoteDir>
<RemoteName>back.png</RemoteName>
<Operation>0</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='Android'">
<DeployFile Include="Android\Release\AndroidManifest.xml" Condition="'$(Config)'=='Release'">
Expand Down Expand Up @@ -280,14 +272,6 @@
<Overwrite>True</Overwrite>
<Required>True</Required>
</DeployFile>
<DeployFile Include="$(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png" Condition="'$(Config)'=='Release'">
<RemoteDir>ShadowEngineDemo\res\drawable-xlarge\</RemoteDir>
<RemoteName>splash_image.png</RemoteName>
<Operation>1</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
<RemoteDir>ShadowEngineDemo\assets\internal\</RemoteDir>
<RemoteName>back.png</RemoteName>
Expand All @@ -296,6 +280,14 @@
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="$(BDS)\bin\Artwork\Android\FM_SplashImage_960x720.png" Condition="'$(Config)'=='Release'">
<RemoteDir>ShadowEngineDemo\res\drawable-xlarge\</RemoteDir>
<RemoteName>splash_image.png</RemoteName>
<Operation>1</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\images.load" Condition="'$(Config)'=='Debug'">
<RemoteDir>ShadowEngineDemo\assets\internal\</RemoteDir>
<RemoteName>images.load</RemoteName>
Expand Down Expand Up @@ -336,14 +328,6 @@
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
<RemoteDir>ShadowEngineDemo\assets\internal\</RemoteDir>
<RemoteName>back.png</RemoteName>
<Operation>0</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Android\Debug\styles.xml" Condition="'$(Config)'=='Debug'">
<RemoteDir>ShadowEngineDemo\res\values\</RemoteDir>
<RemoteName>styles.xml</RemoteName>
Expand Down Expand Up @@ -436,14 +420,6 @@
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
<RemoteDir>ShadowEngineDemo\</RemoteDir>
<RemoteName>back.png</RemoteName>
<Operation>0</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='iOSDevice64'">
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
Expand All @@ -462,14 +438,6 @@
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
<RemoteDir>ShadowEngineDemo.app\</RemoteDir>
<RemoteName>back.png</RemoteName>
<Operation>0</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='Win64'">
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
Expand Down Expand Up @@ -512,14 +480,6 @@
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
<RemoteDir>ShadowEngineDemo\</RemoteDir>
<RemoteName>back.png</RemoteName>
<Operation>0</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='OSX32'">
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
Expand Down Expand Up @@ -570,14 +530,6 @@
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
<RemoteDir>ShadowEngineDemo.app\Contents\MacOS\</RemoteDir>
<RemoteName>back.png</RemoteName>
<Operation>0</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
</ItemGroup>
<ItemGroup Condition="'$(Platform)'=='iOSSimulator'">
<DeployFile Include="$(BDS)\Redist\iossim32\libcgunwind.1.0.dylib">
Expand Down Expand Up @@ -628,13 +580,5 @@
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
<DeployFile Include="Art\back.png" Condition="'$(Config)'=='Base'">
<RemoteDir>ShadowEngineDemo.app\</RemoteDir>
<RemoteName>back.png</RemoteName>
<Operation>0</Operation>
<LocalCommand/>
<RemoteCommand/>
<Overwrite>True</Overwrite>
</DeployFile>
</ItemGroup>
</Project>
11 changes: 9 additions & 2 deletions ShadowEngineDemo.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<MainSource>ShadowEngineDemo.dpr</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<Platform Condition="'$(Platform)'==''">Win32</Platform>
<Platform Condition="'$(Platform)'==''">Android</Platform>
<TargetedPlatforms>31</TargetedPlatforms>
<AppType>Application</AppType>
</PropertyGroup>
Expand Down Expand Up @@ -169,6 +169,13 @@
<DCC_RemoteDebug>true</DCC_RemoteDebug>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1_Android)'!=''">
<AUP_WRITE_EXTERNAL_STORAGE>false</AUP_WRITE_EXTERNAL_STORAGE>
<AUP_ACCESS_FINE_LOCATION>false</AUP_ACCESS_FINE_LOCATION>
<AUP_READ_CALENDAR>false</AUP_READ_CALENDAR>
<AUP_WRITE_CALENDAR>false</AUP_WRITE_CALENDAR>
<AUP_CALL_PHONE>false</AUP_CALL_PHONE>
<AUP_CAMERA>false</AUP_CAMERA>
<AUP_ACCESS_COARSE_LOCATION>false</AUP_ACCESS_COARSE_LOCATION>
<VerInfo_Build>1</VerInfo_Build>
<Android_SplashTileMode>disabled</Android_SplashTileMode>
<Android_SplashGravity>center</Android_SplashGravity>
Expand Down Expand Up @@ -1068,7 +1075,7 @@
<ProjectRoot Platform="Win64" Name="$(PROJECTNAME)"/>
</Deployment>
<Platforms>
<Platform value="Android">True</Platform>
<Platform value="Android" ActiveMobileDevice="0123456789ABCDEF">True</Platform>
<Platform value="iOSSimulator" ActiveMobileDevice="iPad">True</Platform>
<Platform value="OSX32">True</Platform>
<Platform value="Win32">True</Platform>
Expand Down
Binary file modified ShadowEngineDemo.res
Binary file not shown.

0 comments on commit 43a132d

Please sign in to comment.