-
-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Labels
Description
This issue respects the following points:
- I have read the FAQ
- I have searched for existing issues
- The issue affects the Notes Android app, neither the Notes server app nor the Nextcloud Android app.
Describe the bug
- Open a note
- Click the three dots in top right corner
- Click "Pin to homescreen"
- Get the error
Expected behavior
"Pin to homescreen" adds an icon to the homescreen that is a direct shortcut to the note in the Android notes app.
There has been an issue about this already here: #2108
It was then fixed here: #2603
It seems broken again as on the latest Notes app, the same bug appears.
Notes Android version
4.3.1
Notes server version
4.12.2
Nextcloud Android version
3.32.0
Nextcloud version
Latest Nextcloud AIO v31.0.6
Device
Fairphone 4
Android Version
Android 14
App Store
- Google Play Store
- F-Droid
- Huawei App Gallery
Stacktrace
App Version: 4.3.1
App Version Code: 40030190
App Flavor: fdroid
Files App Version Code: 30320090 (PROD)
---
OS Version: 4.19.197-perf-gf39c8faa04e4(eng.root.20250627.095925)
OS API Level: 34
Device: FP4
Manufacturer: Fairphone
Model (and Product): FP4 (FP4eea)
---
java.lang.IllegalArgumentException: it.niedermann.owncloud.notes: Targeting U+ (version 34 and above) disallows creating or retrieving a PendingIntent with FLAG_MUTABLE, an implicit Intent within and without FLAG_NO_CREATE and FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT for security reasons. To retrieve an already existing PendingIntent, use FLAG_NO_CREATE, however, to create a new PendingIntent with an implicit Intent use FLAG_IMMUTABLE.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3209)
at android.os.Parcel.createException(Parcel.java:3189)
at android.os.Parcel.readException(Parcel.java:3172)
at android.os.Parcel.readException(Parcel.java:3114)
at android.app.IActivityManager$Stub$Proxy.getIntentSenderWithFeature(IActivityManager.java:6767)
at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:768)
at android.app.PendingIntent.getBroadcast(PendingIntent.java:751)
at it.niedermann.owncloud.notes.edit.BaseNoteFragment.onOptionsItemSelected(BaseNoteFragment.java:263)
at androidx.fragment.app.Fragment.performOptionsItemSelected(Fragment.java:3285)
at androidx.fragment.app.FragmentManager.dispatchOptionsItemSelected(FragmentManager.java:3332)
at androidx.fragment.app.FragmentManager$2.onMenuItemSelected(FragmentManager.java:599)
at androidx.core.view.MenuHostHelper.onMenuItemSelected(MenuHostHelper.java:107)
at androidx.activity.ComponentActivity.onMenuItemSelected(ComponentActivity.java:532)
at androidx.fragment.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:264)
at androidx.appcompat.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:269)
at androidx.appcompat.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:110)
at androidx.appcompat.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:66)
at androidx.appcompat.widget.Toolbar$1.onMenuItemClick(Toolbar.java:225)
at androidx.appcompat.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:781)
at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:836)
at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:159)
at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:987)
at androidx.appcompat.view.menu.MenuPopup.onItemClick(MenuPopup.java:128)
at android.widget.AdapterView.performItemClick(AdapterView.java:330)
at android.widget.AbsListView.performItemClick(AbsListView.java:1271)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:3284)
at android.widget.AbsListView$3.run(AbsListView.java:4250)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8592)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActivityManagerService.getIntentSenderWithFeatureAsApp(ActivityManagerService.java:5479)
at com.android.server.am.ActivityManagerService.getIntentSenderWithFeature(ActivityManagerService.java:5422)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3349)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2822)
at android.os.Binder.execTransactInternal(Binder.java:1500)