Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature]: Pocket detection: pause for this flashlight session if I turn the light back on within 20s

Aperta
#1,195 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@sameerasw ci sta già lavorando.

Dal 28/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement
Problem Statement

Pocket detection turns the flashlight off whenever the proximity sensor is covered. It can't tell a pocket from other situations, so it also triggers when I want the light on.

Examples:

  • Phone leaned against a wall
  • Phone upside down or lying on a surface
  • Phone in a stand or flip case
  • Phone standing in a cup as a lantern

Current workaround: disable Pocket detection completely. Then I lose the protection in real pockets.

Proposed Solution

If I turn the flashlight back on within 20 seconds after Pocket detection switched it off, pause Pocket detection until I turn the flashlight off again.

Workflow:

  1. Turn the light on and lean the phone on a wall or upside down.
  2. Pocket detection turns it off.
  3. I turn it on again within 20 seconds.
  4. It stays on (Pocket detection paused for this session).
  5. I turn it off. Pocket detection is active again next time.

No new setting needed. Real pocket cases stay protected.

Alternatives Considered
Image
Priority

Medium - Would improve my experience

Contribution
  • I would be willing to implement this feature
Additional Context

No response

Lingua principale
Kotlin
Stelle
3.2k
Fork
87
Merge medio
1g 10h
PR unite (30g)
194

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sameerasw/essentials

Tutte le issue di sameerasw/essentials

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.