Loading
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