Details
-
User Story
-
Resolution: Unresolved
-
P2: Important
-
None
-
-
2022wk26FOQtforAndroid, 2022wk40FOQtforAndroid, 2022wk42FOQtforAndroid, 2023wk08FOQtforAndroid
Description
Deprecations
Summary
- Google is moving out of using generic type methods and started to deprecate methods that return generic Object.
- All OnBackButton methods were deprecated because of preditive back feature.
- java.util.Observable and java.security.acl packages were complety deprecated.
- READ_EXTERNAL_STORAGE permission was deprecated.
- android.security.identity.IdentityCredential responsabilities was limited in favor of a new class - android.security.identity.PresentationSession
- changes in Bluetooth related classes because of new support for Bluetooth LE Audio
Permissions:
- READ_EXTERNAL_STORAGE - Replaced by READ_MEDIA_AUDIO, READ_MEDIA_IMAGES, READ_MEDIA_VIDEO
OnBackButton methods :
Optional for Android 13, Mandatory for Android 14 or above.
Android 13 introduces a new feature called preditive back. Currently android does not know if a app deals with the back button or not, before it is triggered, and that behavior is not compatible with the new preditive back. So android apps must have, in the future, a "ahead-of-time" model for back button.
Explained well in : https://io.google/2022/program/5c6a8dbb-7ac2-4c31-a707-0a16e8424970/
All Deprecationed methods:
- android.content.pm.PackageManager
- android.app.Dialog
- android.app.Activity
- android.os.BaseBundle
- android.os.Bundle
- android.app.ActivityManager.TaskDescription
- java.security.acl.Acl
- java.util.Observable
- java.lang.SecurityManager
- android.security.identity.IdentityCredential
- android.security.identity.ResultData
- android.location.Location - No impact
- android.bluetooth.BluetoothAdapter - Done
- android.bluetooth.BluetoothGatt - Done
- android.bluetooth.BluetoothGattCharacteristic - Done
- android.bluetooth.BluetoothGattDescriptor - Done
- android.bluetooth.BluetoothGattCallback - Done
- android.bluetooth.BluetoothGattServer - Done
- android.accessibilityservice.AccessibilityService.MagnificationController
- android.media.midi.MidiManager
- android.hardware.biometrics.BiometricPrompt.CryptoObject - No impact
- android.media.MediaDrm - No impact
- android.companion.CompanionDeviceManager - No impact
- android.telephony.TelephonyManager - No impact
- android.webkit.WebSettings
- android.view.SurfaceControl.Transaction
- android.os.Vibrator - No impact
Attachments
Issue Links
- depends on
-
QTBUG-107180 [Android 13] Replace deprecated BT LE methods
- Closed
- relates to
-
QTBUG-103569 Android 13: Predictive Back Gesture
- Open
- resulted from
-
QTBUG-103911 Spike Android 13 deprecations
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...