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

Skip to content
Commit ac0cb020 authored by ReedN's avatar ReedN Committed by Reed Nelson
Browse files

Fix Android "Work Profiles" also known as AfW 'Android for Work'

Android for Work (AfW) has 'Work Profiles' that allow separated profiles
to be created so employers can allow employees to have work e-mail on 
their phones (for example).

To work properly the 'ManagedProvisioning' module needs to have a proper
set of vendor required apps specified in the 
'vendor_required_apps_managed_profile.xml' file.  This is the task of the
OEM so that they can specify which apps will replace stock apps.  This is
the reason why the stock AOSP code is blank.

There is a set of minimum defaults needed as specified in Android documentation:
https://source.android.com/devices/tech/admin/implement#required_apps
(They give an example from a Nexus phone)

With the default set apps correctly specified Google's open source test code
'Test DPC' should be able to complete successfully.

https://github.com/googlesamples/android-testdpc/
(Also available on Google Play:  Example code distributed by 
Google to help developers implement)

The changes contained here allow LineageOS to successfully create a 
'Work Profile' with 'Test DPC'.

Change-Id: I6b8ccb53149e9070712eac329e44f6c72f812410
parent 640362a4
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