[FR]: Add MemoryBudgetManager sample
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 20/100
調査の方向性
Start with the specified sample path, then read the official App memory budgets guide linked in the issue. Implement the listed telemetry, budget transitions, lifecycle-aware listener and cache eviction, and document the manifest clauses and adb inspection commands. Confirm the sample demonstrates the API and its release-only usage; pull request #515 is already open.
索引モデルが issue の本文から書いたものです。
説明
Is there an existing FR for this?
- I have searched the existing issues
For which area is this FR?
General
Is it for a specific sample?
samples/performance/memory/src/main/java/com/example/platform/performance/memory/MemoryBudgetSample.kt
Describe the feature request
Add a sample module (:samples:performance:memory) demonstrating the Android 17 QPR2 (API level 37.2 / CINNAMON_BUN_2) MemoryBudgetManager API and <memory-budget> manifest declarations, following the official App memory budgets guide.
Scope:
- On-demand memory usage and budget telemetry (
processCurrentUsageBytes,packageCurrentUsageBytes,processBudgetBytes,packageBudgetBytes, andLIMIT_IS_DISABLED). - Discrete workload budget transitions (
processBudgetBytes,clearProcessBudget(), idempotency, andIllegalArgumentExceptionceiling validation). - Lifecycle-aware
OnOverBudgetListenerregistration (ON_START/ON_STOP) with fast, allocation-free high-yieldLruCache<String, Bitmap>eviction. - Documentation for
<memory-budget>manifest clauses, release-only usage, andadbinspection commands (dumpsys meminfoanddumpsys activity processes).
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要言語
- Kotlin
- スター
- 1.8k
- フォーク
- 554
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
android/platform-samples のほかの issue
-
[Bug]:オープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 3/100
android/platform-samples#517 ·
-
[Bug]:オープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
android/platform-samples#512 ·
-
[FR]:オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 5/100
android/platform-samples#421 ·
-
[FR]: oppoa5sオープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
android/platform-samples#417 ·
-
[Bug]:オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
android/platform-samples#416 ·
android/platform-samples の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
MetrolistGroup/Metrolist#5426 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
🐛 Type:Bug 📥 State:Awaiting Assignment 🚨 Priority: P0 - Critical
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
micronizationlab/glafira-ai-hub#785 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sorsama/deepseek-harness-mobile#154 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信