diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-13 00:22:58 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-13 00:22:58 +0000 |
commit | e112a09a6471f90e1ccd237e7a4fc4323700e589 (patch) | |
tree | 42ff4e77b9d1b4e838529c003f65e5e876a1533c | |
parent | c1293489212f5f9eed675fa053b0d0566248b6a5 (diff) | |
parent | f77c545b93919a55b3ca4817bbe06142fa634a63 (diff) | |
download | DeskClock-android14-qpr2-s3-release.tar.gz |
Snap for 11211173 from f77c545b93919a55b3ca4817bbe06142fa634a63 to 24Q1-releaseandroid-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: I2e7fae6213f6377626f7c80555fdd4ebf0cc1698
-rw-r--r-- | src/com/android/deskclock/data/DataModel.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/deskclock/data/DataModel.kt b/src/com/android/deskclock/data/DataModel.kt index 72e41896a..3443cef76 100644 --- a/src/com/android/deskclock/data/DataModel.kt +++ b/src/com/android/deskclock/data/DataModel.kt @@ -30,6 +30,7 @@ import android.os.Handler import android.os.Looper import android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS import android.provider.Settings.ACTION_SOUND_SETTINGS +import android.provider.Settings.EXTRA_APP_PACKAGE import android.view.View import androidx.annotation.Keep import androidx.annotation.StringRes @@ -130,7 +131,7 @@ class DataModel private constructor() { // Attempt to open the notification settings for this app. context.startActivity( Intent("android.settings.APP_NOTIFICATION_SETTINGS") - .putExtra("app_package", context.packageName) + .putExtra(EXTRA_APP_PACKAGE, context.packageName) .putExtra("app_uid", context.applicationInfo.uid) .addFlags(FLAG_ACTIVITY_NEW_TASK)) return |