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

Skip to content
Commit a4178609 authored by Roshan Pius's avatar Roshan Pius
Browse files

Implement DISALLOW_NEAR_FIELD_COMMUNICATION_RADIO AE user restriction

This CL adds a user restriction for disallowing NFC on a device.
A user restriction is needed for NIAP (Common Criteria) certification.
One of the requirements for the certification is to be able to enable/disable
all the radios.

Bug: 271452372
Test: Compiles
(cherry picked from https://android-review.googlesource.com/q/commit:8c7af49706b7bf8c5026d1ef826cadeb65602f95)
Merged-In: Idbdce79a4fffe62f4daf3d378452a547e8871322
Change-Id: Idbdce79a4fffe62f4daf3d378452a547e8871322

NOTE FOR REVIEWERS - errors occurred while applying the patch.
PLEASE REVIEW CAREFULLY.
Errors:
Error applying patch in core/java/android/os/UserManager.java, hunk HunkHeader[1609,6->1634,7]: Hunk cannot be applied
Error applying patch in services/core/java/com/android/server/pm/UserRestrictionsUtils.java, hunk HunkHeader[149,7->149,8]: Hunk cannot be applied

Original patch:
 From 8c7af49706b7bf8c5026d1ef826cadeb65602f95 Mon Sep 17 00:00:00 2001
From: Roshan Pius <rpius@google.com>
Date: Thu, 17 Aug 2023 14:38:03 -0700
Subject: [PATCH] Implement DISALLOW_NEAR_FIELD_COMMUNICATION_RADIO AE user restriction

This CL adds a user restriction for disallowing NFC on a device.
A user restriction is needed for NIAP (Common Criteria) certification.
One of the requirements for the certification is to be able to enable/disable
all the radios.

Bug: 271452372
Test: Compiles
Change-Id: Idbdce79a4fffe62f4daf3d378452a547e8871322
---
parent 77bc8299
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment