Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 521c6409 authored by Garfield Tan's avatar Garfield Tan
Browse files

Add infrastructure for serial port access management

This CL introduces an in-memory access manager that automatically grants
accesses to serial ports listed in the internal config to apps with
the SERIAL_PORT permission for backward compatibility.

This CL also passed package names from the calling apps. This CL only
uses it for exception messages, but they are needed to pull localized
app names for the access request dialog.

Bug: 415125779
Test: atest SerialPortTest
Flag: android.hardware.serial.flags.enable_wired_serial_api
Change-Id: If58741471040f373574758481d9b2f7ae27f02fa
parent af2ef928
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment