Conversation
Errors were disabled temporarily to be able to fix all errors in separate PRS. It'll be re-enabled after all errors have been fixed.
These functions were changed with Android 13.
These functions were changed with Android 13.
These functions were changed with Android 13.
|
|||||||||||
| 💡 Scan this QR code with your Android phone to download and install the APK directly on it. | ||
| App | WordPress | |
| Build Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | 3143cc1 | |
|
|||||||||||
| 💡 Scan this QR code with your Android phone to download and install the APK directly on it. | ||
| App | Jetpack | |
| Build Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | 3143cc1 | |
|
👋 @irfano ! FYI: I just reviewed the first 8 commits which effectively create this parent PS: I also quickly smoke tested both, the |
Activity's onBackPressed was deprecated on Android 13.
Activity's onBackPressed was deprecated on Android 13.
This just makes the code shorter by using an extension function.
OnBackPressedCallback was temporarily disabled to allow the system to handle the back button event.
|
| App Name | WordPress |
|
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr17947-4e3568d | |
| Commit | 4e3568d | |
| Direct Download | wordpress-prototype-build-pr17947-4e3568d.apk |
|
| App Name | Jetpack |
|
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Version | pr17947-4e3568d | |
| Commit | 4e3568d | |
| Direct Download | jetpack-prototype-build-pr17947-4e3568d.apk |
|
@irfano 👋 I'm still testing, but wanted to communicate earlier something that looks like a crash, and it's not reproducible with 21.9-rc-2. It happens when I try to select a category for a new story post:
az_recorder_20230316_151551.mp4I reproduced it on Samsung A31 with Android 12 and the latest JP installable from this PR. It's not reproducible with Pixel 7 + Android 13, and also not reproducible with JP 21.9-rc-2 on both devices. I'll come back soon with info if it's rep on Emulator, so there might be some useful logs (I don't know how to retrieve the logs from the device after the app crash). |
|
I could reproduce the case above with |
|
Great job, @pachlava! Good catch! It probably caused crashes in other areas too. |
# Conflicts: # WordPress/src/main/java/org/wordpress/android/ui/JetpackRemoteInstallActivity.kt # WordPress/src/main/java/org/wordpress/android/ui/JetpackRemoteInstallFragment.kt # WordPress/src/main/java/org/wordpress/android/ui/jpfullplugininstall/install/JetpackFullPluginInstallActivity.kt
|
Hey @irfano! Thank you for the fix 🙇 The installable from d49b8d7 does not crash 👍 I did not notice anything else, apart from two things that are not caused by this PR:
Thank you! UPD: just found out that the second point is on purpose (p5T066-3Ue-p2#comment-14484) |
These files weren't removed by mistake in the last commit.
I didn't go for a thorough test this time, but JP plugin remote installation worked in the latest installable for me, I checked on both Android 12 and 13. |


Fixes #17790
This PR,
feature/update-compile-sdk-33),Next required tasks that will be merged into
feature/update-compile-sdk-33via separate PRs:onBackPressedwarnings: Update deprecated back pressed event #18019IntentandBundlewarnings: Update deprecated Intent and Bundle functions #18061readParcelablewarnings and addandroid.permission.POST_NOTIFICATIONS: Update deprecated Parcel functions #18068PackageManagerwarnings: Update deprecated PackageManager functions #18077To test:
Regression Notes
As this affects a lot of classes, every screen may be impacted.
What I did to test those areas of impact (or what existing automated tests I relied on)
I smoke-tested notifications and screen navigations.
What automated tests I added (or what prevented me from doing so)
None. This doesn't add any new functionality to the app.
PR submission checklist:
RELEASE-NOTES.txtif necessary.