Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go back to default view instead of quitting (except dayview&agendaview) #759

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

newhinton
Copy link
Contributor

No description provided.

@jspricke
Copy link
Member

This makes Etar crash for me when I try to open an event:

08-21 16:20:07.822 32095 32095 E AndroidRuntime: Process: ws.xsoh.etar.debug, PID: 32095
08-21 16:20:07.822 32095 32095 E AndroidRuntime: android.content.res.Resources$NotFoundException: Resource ID #0x7f0700aa
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:216)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at android.content.res.Resources.getDimension(Resources.java:657)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.EventInfoFragment.setDialogSize(EventInfoFragment.java:2237)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.EventInfoFragment.<init>(EventInfoFragment.java:452)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.EventInfoFragment.<init>(EventInfoFragment.java:476)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.AllInOneActivity.handleEvent(AllInOneActivity.java:1352)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.CalendarController.sendEvent(CalendarController.java:361)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.CalendarController.sendEventRelatedEventWithExtraWithTitleWithCalendarId(CalendarController.java:216)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.CalendarController.sendEventRelatedEventWithExtra(CalendarController.java:171)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.CalendarController.sendEventRelatedEvent(CalendarController.java:150)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.calendar.DayView$3.run(DayView.java:232)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:873)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:99)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:193)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6718)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-21 16:20:07.822 32095 32095 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
08-21 16:20:07.828  2412  2438 W ActivityManager:   Force finishing activity ws.xsoh.etar.debug/com.android.calendar.AllInOneActivity

@Gitsaibot
Copy link
Contributor

@jspricke I don't get any errors, and I don't understand how something like this can happen when you open an event. Can you reproduce the error ?

@jspricke
Copy link
Member

jspricke commented Oct 3, 2020

Yes I can reproduce it with this one commit on top of master. Things I did:

  • fresh install of Etar
  • open an event
  • press back (3 times)
  • open Etar
  • open an event

@Gitsaibot
Copy link
Contributor

Okay, it seems it only happens when you use the preference last active view right?

@jspricke
Copy link
Member

jspricke commented Oct 3, 2020

Probably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants