| commit | 944624c0a329c9e9b2dbcb0a70bb603a4ebaac8a | [log] [tgz] |
|---|---|---|
| author | Daniel Zheng <zhengdaniel@google.com> | Thu May 29 21:16:04 2025 +0000 |
| committer | Daniel Zheng <zhengdaniel@google.com> | Fri May 30 19:07:24 2025 +0000 |
| tree | a152de0384e4ca5b80521cd519371651ccabccb5 | |
| parent | ba79fb99510b1cfb28e3bc534741b836e2adfee1 [diff] |
enforce permissions on diagnostics API The permission decorator prevents compilation if an app is missing the ENTER_TRADE_IN_MODE permission and is accessing the API, however we still need to enforce the permission at runtime on the service side. Bug: 397154502 Flag: com.android.tradeinmode.flags.trade_in_mode_2025q4 Test: th Change-Id: I21a6dd0eb5dc17d7cc1218c6f85cdf3af80c73ed