Theo Cristea | 200d4cb7 | 2024-08-14 15:43:09 | [diff] [blame] | 1 | The sensitive content component is responsible for detecting form content that |
| 2 | should be marked as "sensitive" on Android V+ (e.g., payment information, login |
| 3 | information). It is used by both Chrome and WebView on Android. |
| 4 | |
| 5 | If a view is marked as sensitive, and the API level is at least 35, the OS will |
| 6 | redact the view during screen sharing, screen recording, and similar actions. |
| 7 | |
| 8 | The `SensitiveContentClient` is used for dependency injection from the embedder. |
| 9 | The client communicates with the embedder, in order to mark/unmark the content |
Theo Cristea | 6db09316 | 2024-09-25 09:45:12 | [diff] [blame] | 10 | as being sensitive. |
Theo Cristea | 200d4cb7 | 2024-08-14 15:43:09 | [diff] [blame] | 11 | |
| 12 | The `SensitiveContentManager` is owned by the client. It contains |
| 13 | platform-independent logic and tracks whether sensitive fields are present or |
| 14 | not. |