Searching the calendar crashes the app
- /e/ version: 1.19.1-s stable
- Device model(s): FP4
- Developer mode enabled: yes
- Device rooted: no
- Trackers blocker enabled: yes
Summary
Searching the native calendar app crashes the app.
The problem
Steps to reproduce
Open Calendar, then three dot menu on the right, tap Search.
What is the current behavior?
The app crashes.
What is the expected correct behavior?
You should have the possibility to search through Calendar events.
Technical informations
Relevant logs (adb logcat
)
Logs copied from the corresponding forum post with a Pixel 3xl:
[11-12 19:48:58.554 1723:6232 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=foundation.e.calendar/com.android.calendar.AllInOneActivity bnds=[271,403][495,771]} from uid 10207
[11-12 19:48:58.813 1723:1866 I/ActivityTaskManager]
Displayed foundation.e.calendar/com.android.calendar.AllInOneActivity: +255ms
[11-12 19:48:58.840 11034:11034 I/GoogleInputMethodService]
GoogleInputMethodService.onStartInput():1883 onStartInput(EditorInfo{EditorInfo{packageName=foundation.e.calendar, inputType=0, inputTypeString=NULL, enableLearning=false, autoCorrection=false, autoComplete=false, imeOptions=0, privateImeOptions=null, actionName=UNSPECIFIED, actionLabel=null, initialSelStart=-1, initialSelEnd=-1, initialCapsMode=0, label=null, fieldId=16908298, fieldName=null, extras=null, hintText=null, hintLocales=}}, false)
[11-12 19:48:59.182 1723:30788 W/InputManager-JNI]
Input channel object ‘d1ce775 Splash Screen foundation.e.calendar (client)’ was disposed without first being removed with the input manager!
[11-12 19:49:01.906 15266:15690 E/AndroidRuntime]
FATAL EXCEPTION: Filter
Process: foundation.e.calendar, PID: 15266
java.lang.IllegalAccessError: Field ‘androidx.cursoradapter.widget.CursorAdapter.mContext’ is inaccessible to class ‘androidx.appcompat.widget.SuggestionsAdapter’ (declaration of ‘androidx.appcompat.widget.SuggestionsAdapter’ appears in Etar.apk)
at androidx.appcompat.widget.SuggestionsAdapter.getSearchManagerSuggestions(SuggestionsAdapter.java:776)
at androidx.appcompat.widget.SuggestionsAdapter.runQueryOnBackgroundThread(SuggestionsAdapter.java:156)
at androidx.cursoradapter.widget.CursorFilter.performFiltering(CursorFilter.java:50)
at android.widget.Filter$RequestHandler.handleMessage(Filter.java:236)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
[11-12 19:49:01.911 1723:30788 W/ActivityTaskManager]
Force finishing activity foundation.e.calendar/com.android.calendar.AllInOneActivity
[11-12 19:49:01.929 1723:3445 W/ActivityTaskManager]
enqueueAssistContext failed: caller ActivityRecord{2d81a80 u0 foundation.e.calendar/com.android.calendar.AllInOneActivity t2225 f}} is not current top ActivityRecord{9da9948 u0 amirz.shade/.ShadeLauncher t1843}
[11-12 19:49:01.929 1723:3445 W/AutofillSession]
failed to request autofill data for Token{acc8fb2 ActivityRecord{2d81a80 u0 foundation.e.calendar/com.android.calendar.AllInOneActivity t2225 f}}}
[11-12 19:49:01.946 1723:30788 D/AutofillSession]
handling death of Token{acc8fb2 ActivityRecord{2d81a80 u0 foundation.e.calendar/com.android.calendar.AllInOneActivity t2225 f}}} when saving=false
[11-12 19:49:01.946 1723:2227 I/WindowManager]
WIN DEATH: Window{875cf12 u0 foundation.e.calendar/com.android.calendar.AllInOneActivity}
[11-12 19:49:01.946 1723:5649 I/ActivityManager]
Process foundation.e.calendar (pid 15266) has died: fg TOP
[11-12 19:49:01.946 1723:2227 W/InputManager-JNI]
Input channel object ‘875cf12 foundation.e.calendar/com.android.calendar.AllInOneActivity (client)’ was disposed without first being removed with the input manager!
[11-12 19:49:01.996 1723:1870 W/WindowManager]
Failed to deliver inset state change to w=Window{875cf12 u0 foundation.e.calendar/com.android.calendar.AllInOneActivity EXITING}
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:571)
at android.view.IWindow$Stub$Proxy.insetsControlChanged(IWindow.java:687)
at com.android.server.wm.WindowState.notifyInsetsControlChanged(WindowState.java:4045)
at com.android.server.wm.InsetsStateController.lambda$notifyPendingInsetsControlChanged$6$InsetsStateController(InsetsStateController.java:552)
at com.android.server.wm.InsetsStateController$$ExternalSyntheticLambda1.run(Unknown Source:2)
at com.android.server.wm.WindowAnimator.executeAfterPrepareSurfacesRunnables(WindowAnimator.java:345)
at com.android.server.wm.RootWindowContainer.performSurfacePlacementNoTrace(RootWindowContainer.java:887)
at com.android.server.wm.RootWindowContainer.performSurfacePlacement(RootWindowContainer.java:824)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop(WindowSurfacePlacer.java:177)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:126)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:115)
at com.android.server.wm.WindowSurfacePlacer$Traverser.run(WindowSurfacePlacer.java:57)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
at com.android.server.ServiceThread.run(ServiceThread.java:44)
[11-12 19:49:02.412 1723:1869 W/ActivityTaskManager]
Activity top resumed state loss timeout for ActivityRecord{2d81a80 u0 foundation.e.calendar/com.android.calendar.AllInOneActivity t-1 f}}
[11-12 19:49:03.345 1723:2623 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10300000 cmp=foundation.e.calendar/com.android.calendar.AllInOneActivity} from uid 10207
[11-12 19:49:03.367 1723:1878 I/ActivityManager]
Start proc 15697:foundation.e.calendar/u0a119 for pre-top-activity {foundation.e.calendar/com.android.calendar.AllInOneActivity}
[11-12 19:49:03.397 15697:15697 V/GraphicsEnvironment]
ANGLE Developer option for ‘foundation.e.calendar’ set to: ‘default’
[11-12 19:49:03.398 15697:15697 V/GraphicsEnvironment]
ANGLE GameManagerService for foundation.e.calendar: false
[11-12 19:49:03.602 1723:1866 I/ActivityTaskManager]
Displayed foundation.e.calendar/com.android.calendar.AllInOneActivity: +253ms
[11-12 19:49:03.789 11034:11034 I/GoogleInputMethodService]
GoogleInputMethodService.onStartInput():1883 onStartInput(EditorInfo{EditorInfo{packageName=foundation.e.calendar, inputType=0, inputTypeString=NULL, enableLearning=false, autoCorrection=false, autoComplete=false, imeOptions=0, privateImeOptions=null, actionName=UNSPECIFIED, actionLabel=null, initialSelStart=-1, initialSelEnd=-1, initialCapsMode=0, label=null, fieldId=16908298, fieldName=null, extras=null, hintText=null, hintLocales=}}, false)
[11-12 19:49:03.980 1723:3445 W/InputManager-JNI]
Input channel object ‘929250b Splash Screen foundation.e.calendar (client)’ was disposed without first being removed with the input manager!
Relevant screenshots
Solutions
Workaround
Possible fixes
/label typeBug