Skip to main content

Android devices with multiple policies

What

Android Policies can be used to manage settings on Android Enterprise devices. For a listexamples of someavailable ofsettings, the things that can be managed take a look atsee Android EMM Policies and Permissions.

When/Why

When more than one policyAndroid Policy is applied,assigned, howFileWave willhas youto knowmerge the policy fragments before sending one effective policy to the device. This article explains which settingssetting are in effect? In reality, Android only supports 1 policy at a time so what is the logic usedwins when combiningfragments them?conflict.

How

ThisFor ismost settings, FileWave applies the crucialmost ordering.restrictive value. merge_policy_fragment()For followssettings where two fragments provide competing values, such as two Wi-Fi configurations, the principle of "most restrictive" policy wins, but what is more correct in those gray areas of competing information?  For example, whichlater fragment winswins. ifFileWave thereorders are two conflicting WiFi configurations?  In that case, the last one, as orderedfragments by distance firstfirst, (indescending, DESC order), and ties wonthen by the most recently created association. 

    • ThisCloser orderingassignments isoverride thefarther reverse of other sections of the FW codeassignments because here,this "lastmerge onepath wins".uses last-one-wins So, closer distance overwrites farther distance. ordering.
    • When Beingdistance precise,ties, wethe (FileWave)newer doassociation wins. Other FileWave code paths may not order beyond (distance,distance assoc_id)and inassociation otherID, partsso of the code.  We do here, however.

    For even more clarity about what is installed, you can look at Device Details for a device in FileWave Central. Go touse the Installed Policy tab andto seeconfirm the policyfinal asresult. it

    was

    To confirm what FileWave sent to the device.device, open Device Details in FileWave Central and review the Installed Policy tab. This viewshows willthe leteffective youAndroid knowpolicy exactlyafter whatthe wasfragments sent.are merged.

    image.png