updating commons and min required OS version to 6
This commit is contained in:
parent
236a56aa95
commit
5ddbe72f61
4 changed files with 17 additions and 2 deletions
|
@ -14,7 +14,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId "com.simplemobiletools.contacts.pro"
|
||||
minSdkVersion 21
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 33
|
||||
versionCode 99
|
||||
versionName "6.21.2"
|
||||
|
@ -63,7 +63,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:5fa7001d27'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:afb485c357'
|
||||
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
|
||||
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
<activity
|
||||
android:name=".activities.MainActivity"
|
||||
android:configChanges="orientation"
|
||||
android:exported="true">
|
||||
|
||||
<meta-data
|
||||
|
@ -62,6 +63,7 @@
|
|||
|
||||
<activity
|
||||
android:name=".activities.SettingsActivity"
|
||||
android:configChanges="orientation"
|
||||
android:exported="true"
|
||||
android:label="@string/settings"
|
||||
android:parentActivityName=".activities.MainActivity">
|
||||
|
@ -74,11 +76,13 @@
|
|||
|
||||
<activity
|
||||
android:name=".activities.GroupContactsActivity"
|
||||
android:configChanges="orientation"
|
||||
android:exported="false"
|
||||
android:parentActivityName=".activities.MainActivity" />
|
||||
|
||||
<activity
|
||||
android:name=".activities.ViewContactActivity"
|
||||
android:configChanges="orientation"
|
||||
android:exported="true"
|
||||
android:label="@string/details"
|
||||
android:parentActivityName=".activities.MainActivity"
|
||||
|
@ -115,6 +119,7 @@
|
|||
|
||||
<activity
|
||||
android:name=".activities.EditContactActivity"
|
||||
android:configChanges="orientation"
|
||||
android:exported="true"
|
||||
android:parentActivityName=".activities.MainActivity"
|
||||
android:theme="@style/TranslucentTheme">
|
||||
|
@ -157,6 +162,7 @@
|
|||
|
||||
<activity
|
||||
android:name=".activities.InsertOrEditContactActivity"
|
||||
android:configChanges="orientation"
|
||||
android:exported="true"
|
||||
android:label="@string/select_contact">
|
||||
|
||||
|
@ -197,12 +203,14 @@
|
|||
|
||||
<activity
|
||||
android:name="com.simplemobiletools.commons.activities.AboutActivity"
|
||||
android:configChanges="orientation"
|
||||
android:exported="false"
|
||||
android:label="@string/about"
|
||||
android:parentActivityName=".activities.MainActivity" />
|
||||
|
||||
<activity
|
||||
android:name="com.simplemobiletools.commons.activities.CustomizationActivity"
|
||||
android:configChanges="orientation"
|
||||
android:exported="false"
|
||||
android:label="@string/customize_colors"
|
||||
android:parentActivityName=".activities.SettingsActivity" />
|
||||
|
|
|
@ -180,6 +180,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
|||
findItem(R.id.sort).isVisible = currentFragment != groups_fragment
|
||||
findItem(R.id.filter).isVisible = currentFragment != groups_fragment
|
||||
findItem(R.id.dialpad).isVisible = !config.showDialpadButton
|
||||
findItem(R.id.more_apps_from_us).isVisible = !resources.getBoolean(R.bool.hide_google_relations)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -192,6 +193,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
|||
R.id.dialpad -> launchDialpad()
|
||||
R.id.import_contacts -> tryImportContacts()
|
||||
R.id.export_contacts -> tryExportContacts()
|
||||
R.id.more_apps_from_us -> launchMoreAppsFromUsIntent()
|
||||
R.id.settings -> launchSettings()
|
||||
R.id.about -> launchAbout()
|
||||
else -> return@setOnMenuItemClickListener false
|
||||
|
|
|
@ -34,6 +34,11 @@
|
|||
android:showAsAction="never"
|
||||
android:title="@string/export_contacts_to_vcf"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/more_apps_from_us"
|
||||
android:icon="@drawable/ic_google_play_vector"
|
||||
android:title="@string/more_apps_from_us"
|
||||
app:showAsAction="ifRoom" />
|
||||
<item
|
||||
android:id="@+id/settings"
|
||||
android:icon="@drawable/ic_settings_cog_vector"
|
||||
|
|
Loading…
Reference in a new issue