-
Notifications
You must be signed in to change notification settings - Fork 34
Add ANR (Application Not Responding) tracking support #435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
- Add isAnr flag to AppErrorsInfoBean data model - Add cloneAnr() method to create ANR error records from ApplicationErrorReport.AnrInfo - Hook appNotResponding() and handleAnrInActivityController() methods in framework - Add ANR-specific error titles in all supported languages (EN, ZH-CN, ZH-HK, ZH-MO, ZH-TW, JA) - Update error type display to show "ANR" for ANR errors - Add handleAppAnrInfo() method to record ANR data Co-authored-by: NextAlone <12210746+NextAlone@users.noreply.github.com>
Use proper Traditional Chinese characters: - 无响应 → 無回應 - 屡次 → 屢次 Applied to zh-rHK, zh-rMO, and zh-rTW locales. Co-authored-by: NextAlone <12210746+NextAlone@users.noreply.github.com>
Ensure ANR string entries use consistent 2-space indentation matching the rest of the file in all locale variants. Co-authored-by: NextAlone <12210746+NextAlone@users.noreply.github.com>
|
@copilot checking failed, please fix |
The build was failing because the Gradle Kotlin DSL couldn't infer
the type of the 'suffix' parameter in the lambda, causing
'isNotBlank()' method to be unresolved.
Fixed by explicitly typing the lambda parameter as String:
`{ suffix: String -> ... }` instead of `{ suffix -> ... }`
Co-authored-by: fankes <37344460+fankes@users.noreply.github.com>
Fixed in c410806. The build was failing due to type inference issue in Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot checking failed again |
Changed from accessing non-existent className/packageName properties to using flattenToShortString() method which returns the component name in a standard format. This fixes the Kotlin compilation errors: - Unresolved reference 'className' - Unresolved reference 'packageName' Co-authored-by: fankes <37344460+fankes@users.noreply.github.com>
Fixed in b89a4f3. The build was failing due to incorrect property access on Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot still failed |
The flattenToShortString() method is not available in the compilation
context. Changed to use toString() which is universally available and
will provide the component name in ComponentInfo{package/class} format.
Co-authored-by: fankes <37344460+fankes@users.noreply.github.com>
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.