Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Front Camera Unusable

Đang mở
#281 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

The payload names no source files, so start by finding the camera-switching code path in the Kotlin sources and reproducing the NullPointerException on a device or emulator with a front camera. The report's logcat lines and the 'Switching camera failed' message are the search terms. Done means switching to the front camera no longer throws, or the failure is handled with a clear message. Expect device-specific Camera2 behaviour, so confirm the fix on a Samsung Galaxy A22 or a similar device.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.5.0

Affected Android/Custom ROM version

Android 13

Affected device model

Samsung Galaxy A22 (SM-A225F)

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

Hello!

  1. Launch the app.
  2. Flip de camera to watch with the main camera.
  3. Flip another time to try to watch with the front camera.
Expected behavior

I would like to use my front camera with Fossify Camera.

Actual behavior

At step 1. A first error message occurres multipe times "Error: java.lang.NullPointerException" and the camera shows only a black screen, then another error message comes up "An error occurred accessing the camera".

At step 3. A little freeze comes up and the main camera still here but with this error "Switching camera failed".

Screenshots/Screen recordings

https://github.com/user-attachments/assets/8b978389-1400-44a5-8c8c-645c4c34eb73

Additional information

Thank you for everything you make!

Ngôn ngữ chính
Kotlin
Star
473
Fork
56
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FossifyOrg/Camera

Tất cả issue của FossifyOrg/Camera

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.