[FEATURE REQUEST] Review `avoidScreenshotsIfNeeded` usage
Maintainer thường phản hồi trong vòng 1 ngày
@joragua đang làm issue này rồi.
Từ ngày 8/10/2026.
Đá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
- 52/100
Hướng nghiên cứu
Start by locating every use of avoidScreenshotsIfNeeded and reviewing the dialogs where it is called, including remove-share and remove-member dialogs. Done means each use has been assessed and unnecessary calls are removed; add unit tests if needed and verify the resulting behavior with the stated QA test plan.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
fun Dialog.avoidScreenshotsIfNeeded() {
if (!BuildConfig.DEBUG && context.resources?.getBoolean(R.bool.allow_screenshots) == false) {
window?.addFlags(WindowManager.LayoutParams.FLAG_SECURE)
}
such method is used in several dialogs across the app. Some of them (like the remove share or remove member from space) do not seem to need to avoid screenshots
All the uses of the method should be reviewed to keep those that are really useful, and remove the ones that don't need avoidScreenshotsIfNeeded
TASKS
- Research (if needed)
- Create branch technical/remove_avoid_screenshots_method_from_dialogs
- Development tasks
- Implement whatever
- ...
- Implement unit tests (if needed)
- Code review and apply changes requested
- Design test plan
- QA
- Merge branch technical/remove_avoid_screenshots_method_from_dialogs into master
- Ngôn ngữ chính
- Kotlin
- Star
- 4.2k
- Fork
- 3.1k
- Merge trung bình
- 3 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của owncloud/android
-
Camera Uploads Contributions are welcome Technical
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
owncloud/android#5040 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
KW-related Type:bug UI / UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Lint reports an errorĐang mởType:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
owncloud/android#4485 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Contributions are welcome p3-medium Type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
owncloud/android#4300 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
owncloud/android#3720 · 8 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của owncloud/android
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Lavinia Fansub: Url ChangedĐang mởBug Domain changed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
keiyoushi/extensions-source#21225 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
👀 example 📱 iOS
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
hyochan/react-native-nitro-sound#871 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
evryfs/asyncapi-generator#272 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
android:plan main:plan packages:learn
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày