zhanghai / zhanghai/MaterialFiles

Make "open with" open in a new task

Open
#1,326 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

Screenshot_20241014-153205_Pixel 启动器
Currently if I use another app to open file from materialFile, the task looks like this.
It is not only very confusing, sometimes this can lead to crash. For example, when I open zarchiver text editor from materialfile, if I open the recent screen or switch apps, sometimes I back to the zarchiver (in material file task), the zarchiver will crash (ANR).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the external “open with” flow from MaterialFiles and inspect the Android entry point that launches the selected app. Done means the opened app appears in a separate task and the reported task-switching or crash behavior no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.