8000 Crashes on nexus 7 (grouper) due to fragment intro layout · Issue #101 · signalapp/Flock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
Crashes on nexus 7 (grouper) due to fragment intro layout #101
Open
@patcon

Description

@patcon

Heyo! Loaded up flock onto my grouper wifi tablet (no gapps), and it closes on first boot.

Looking at the catlog, a NullPointerException was raised at <etc>IntroductionFragment.initDescription(IntroductionFragment.java:76):
https://github.com/WhisperSystems/Flock/blob/33fe753b91f2526ab578af71d5faafb137a5ea40/flock/src/main/java/org/anhonesteffort/flock/IntroductionFragment.java#L76

I was able to fix it by setting the screen dimensions manually:

~/repos/chef-textsecure (master ✘)✹✭ ᐅ adb shell wm size reset   
~/repos/chef-textsecure (master ✘)✹✭ ᐅ adb shell wm density reset # crashes
~/repos/chef-textsecure (master ✘)✹✭ ᐅ adb shell wm density      
Physical density: 213
~/repos/chef-textsecure (master ✘)✹✭ ᐅ adb shell wm size         
Physical size: 800x1280
~/repos/chef-textsecure (master ✘)✹✭ ᐅ adb shell wm size 798x1280 # doesn't crash
~/repos/chef-textsecure (master ✘)✹✭ ᐅ adb shell wm size 799x1280 # crashes

So yeah, seems it crashes only when the minimum width is around 800 (and for some reason that includes 799..?)

Anyhow, might mess around later and submit a PR if I fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0