Update target API to 31 (Android 12)

This commit is contained in:
Zhaofeng Li 2021-11-16 08:35:35 -08:00 committed by Gitsaibot
parent 2c29b86ace
commit 4269ff174f
3 changed files with 30 additions and 23 deletions

View File

@ -93,6 +93,7 @@
</activity>
<activity android:name="com.android.calendar.EventInfoActivity"
android:exported="true"
android:parentActivityName="com.android.calendar.AllInOneActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
@ -130,6 +131,7 @@
<activity
android:name="com.android.calendar.GoogleCalendarUriIntentFilter"
android:exported="true"
android:configChanges="orientation|keyboardHidden"
android:label="@string/app_label"
android:theme="@android:style/Theme.NoDisplay">
@ -183,6 +185,7 @@
</activity>
<activity android:name="com.android.calendar.ImportActivity"
android:exported="true"
android:theme="@android:style/Theme.NoDisplay"
android:launchMode="singleTop">
<intent-filter>
@ -230,7 +233,8 @@
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Holo.Dialog" />
<receiver android:name="com.android.calendar.alerts.AlertReceiver">
<receiver android:name="com.android.calendar.alerts.AlertReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.EVENT_REMINDER" />
<action android:name="android.intent.action.TIME_SET" />
@ -249,7 +253,8 @@
<receiver android:name="com.android.calendar.alerts.GlobalDismissManager"
android:exported="false" />
<receiver android:name="com.android.calendar.UpgradeReceiver">
<receiver android:name="com.android.calendar.UpgradeReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
@ -266,7 +271,8 @@
<service android:name="com.android.calendar.alerts.SnoozeAlarmsService" />
<!-- Declarations for the widget -->
<receiver android:name="com.android.calendar.widget.CalendarAppWidgetProvider">
<receiver android:name="com.android.calendar.widget.CalendarAppWidgetProvider"
android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.android.calendar.APPWIDGET_UPDATE" />
@ -274,7 +280,8 @@
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info" />
</receiver>
<receiver android:name="com.android.calendar.widget.CalendarAppWidgetService$CalendarFactory">
<receiver android:name="com.android.calendar.widget.CalendarAppWidgetService$CalendarFactory"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
<action android:name="android.intent.action.DATE_CHANGED"/>

View File

@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.0.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
@ -23,12 +23,12 @@ project(':external:calendar') {
apply plugin: 'com.android.library'
android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileSdkVersion 31
buildToolsVersion '31.0.0'
defaultConfig {
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
}
sourceSets {
@ -54,12 +54,12 @@ project(':external:colorpicker') {
apply plugin: 'com.android.library'
android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileSdkVersion 31
buildToolsVersion '31.0.0'
defaultConfig {
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
}
sourceSets {
@ -88,12 +88,12 @@ project(':external:timezonepicker') {
}
android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileSdkVersion 31
buildToolsVersion '31.0.0'
defaultConfig {
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
}
sourceSets {
@ -117,12 +117,12 @@ project(':external:chips') {
apply plugin: 'com.android.library'
android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileSdkVersion 31
buildToolsVersion '31.0.0'
defaultConfig {
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
}
sourceSets {
@ -164,12 +164,12 @@ dependencies {
}
android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileSdkVersion 31
buildToolsVersion '31.0.0'
defaultConfig {
minSdkVersion 21
targetSdkVersion 30
targetSdkVersion 31
versionCode 28
versionName "1.0.26"
applicationId "ws.xsoh.etar"

View File

@ -1,6 +1,6 @@
#Tue Nov 16 03:59:46 GMT 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionSha256Sum=fd591a34af7385730970399f473afabdb8b28d57fd97d6625c388d090039d6fd
zipStoreBase=GRADLE_USER_HOME