proc stats in about screen#2507
Merged
hussainmohd-a merged 3 commits intocelzero:mainfrom Jan 13, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new "Proc" statistics feature to the About screen that displays detailed information about the process from various /proc/self/* files on Linux/Android. The feature allows users to view and copy kernel/process information useful for debugging.
Changes:
- Adds a new
KernelProcutility class to read and parse various/proc/self/*files - Integrates a "Proc" button in the About screen UI that opens a dialog displaying the process statistics
- Includes functionality to refresh the data and copy it to the clipboard
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| app/src/main/res/values/strings.xml | Adds the "title_proc" string resource for the new Proc feature |
| app/src/main/res/layout/fragment_about.xml | Adds a new clickable TextView for the Proc statistics button in the About fragment layout |
| app/src/main/java/com/celzero/bravedns/util/KernelProc.kt | New utility class that reads and parses various /proc/self/* files with caching and error handling |
| app/src/full/java/com/celzero/bravedns/ui/fragment/AboutFragment.kt | Implements the Proc dialog with refresh and copy functionality; updates clipboard helper to use already-imported getSystemService |
| app/src/full/java/com/celzero/bravedns/ui/HomeScreenActivity.kt | Removes unused DEBUG import (BuildConfig.DEBUG is still used) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
app/src/full/java/com/celzero/bravedns/ui/fragment/AboutFragment.kt
Outdated
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.