Skip to content

Conversation

@hussainmohd-a
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 13, 2026 14:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 KernelProc utility 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.

@hussainmohd-a hussainmohd-a merged commit d2ce1c1 into celzero:main Jan 13, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant