summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlex Johnston <acjohnston@google.com>2021-06-22 13:39:03 +0100
committerAlex Johnston <acjohnston@google.com>2021-06-24 15:49:24 +0100
commitb5129c71a7a74fb7ef98946325dcf23fc66b9b88 (patch)
treec6208b5cf870960f8cc270d46da54de71555e27d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5b24daa4831f4f8c0048b83f58ab60e67f545e4e (diff)
QS: Do not display specific disclosure when the work profile is off
* Work-profile related disclosures (e.g. network logging on the work profile) should disappear when the work profile is off. * BYOD device with a work profile * A disclosure isn't shown if there aren't any policies set. * A specific disclosure is shown if a policy is set. If the work profile is off, no disclosure is shown. * COPE device * The disclosure 'This device belongs to your organization' is shown if there aren't any policies set. * A specific disclosure is shown if a policy is set. If the work profile is off, the disclosure 'This device belongs to your organization'is shown. Manual testing scenarios (using TestDPC) - PO no policy -> verify no disclosure - PO with policy -> verify specific disclosure - PO with policy but WP is off -> verify no disclosure - COPE PO no policy -> verify org-owned device disclosure - COPE PO with policy -> verify specific disclosure - COPE PO with policy but WP is off -> verify org-owned device disclosure Bug: 191741537 Test: atest QSSecurityFooterTest atest SecurityControllerTest Manual testing Change-Id: I8036bbf8eba40329ae9fbf502aff1f33cd8d1c4a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions