Restarting the settings screen on resume too.

This commit is contained in:
Amine 2018-07-09 19:13:55 +02:00
parent 4b2fae3613
commit b22d393b94
5 changed files with 68 additions and 3 deletions

View File

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="WizardSettings">
<option name="children">
<map>
<entry key="imageWizard">
<value>
<PersistentState>
<option name="children">
<map>
<entry key="imageAssetPanel">
<value>
<PersistentState>
<option name="children">
<map>
<entry key="launcher">
<value>
<PersistentState>
<option name="children">
<map>
<entry key="foregroundImage">
<value>
<PersistentState>
<option name="values">
<map>
<entry key="scalingPercent" value="97" />
<entry key="trimmed" value="true" />
</map>
</option>
</PersistentState>
</value>
</entry>
</map>
</option>
<option name="values">
<map>
<entry key="backgroundAssetType" value="COLOR" />
<entry key="backgroundColor" value="fffcff" />
<entry key="foregroundImage" value="$USER_HOME$/Downloads/High res icon (3).png" />
<entry key="generateLegacyIcon" value="false" />
<entry key="generateRoundIcon" value="false" />
<entry key="generateWebIcon" value="false" />
<entry key="showGrid" value="true" />
</map>
</option>
</PersistentState>
</value>
</entry>
</map>
</option>
</PersistentState>
</value>
</entry>
</map>
</option>
</PersistentState>
</value>
</entry>
</map>
</option>
</component>
</project>

View File

@ -10,8 +10,8 @@ android {
applicationId "bou.amine.apps.mediafingerprint" applicationId "bou.amine.apps.mediafingerprint"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 28 targetSdkVersion 28
versionCode 1 versionCode 2
versionName "1.0" versionName "1.1"
} }
buildTypes { buildTypes {
release { release {

Binary file not shown.

View File

@ -1 +1 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":2,"versionName":"1.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]

View File

@ -11,7 +11,10 @@ class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main) setContentView(R.layout.activity_main)
}
override fun onResume() {
super.onResume()
val intent = Intent(android.provider.Settings.ACTION_ACCESSIBILITY_SETTINGS) val intent = Intent(android.provider.Settings.ACTION_ACCESSIBILITY_SETTINGS)
startActivityForResult(intent, 0) startActivityForResult(intent, 0)
} }