2a5080ef51ba236078e10b8bacd575c8c27678e0 |
|
04-May-2012 |
Marc Blank <mblank@google.com> |
Fix policy handling in Email1 Bug: 6414045 Change-Id: I1b6300243e061d8500d29849c4734fdbf69041ba
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
03cd72805dab0379ed255d151f1c17cc60655fc3 |
|
25-Apr-2012 |
Marc Blank <mblank@google.com> |
Revert to old Email app * These are the last sources in the ICS-MR1 tree Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
2736c1a11ce3ecdcd9d19aa9c324fb9ce0910c7b |
|
20-Oct-2011 |
Marc Blank <mblank@google.com> |
Rewrite of security policy handling and service code * Remove PolicyService APIs policiesRequired, policiesUpdated, isSupported, clearUnsupportedPolicies, and isActiveAdmin * Add PolicyService API setAccountPolicy, which is the sole method by which security policies are promulgated * Add protocolPoliciesEnabled and protocolPoliciesUnsupported to the Policy class; these are packed, localized strings indicating policies that the protocol itself have enabled and/or cannot support (i.e. these are policies that are unknown to the DPM, e.g. don't load attachments) * Differentiate in security notifications between three kinds of policy changes - changes that don't require user intervention (e.g. reducing requirements), changes that require user intervention (the legacy notification), and changes that make the account unsyncable (e.g. the server adding an unsupportable policy). Handle all possible policy changes cleanly. * Make security notifications per account (with multiple accounts, notifications would get arbitrarily munged) * Expose ALL enforced policies via the account settings screen in two categories: policies enforced (including both policies enforced by the DPM and policies enforced by the protocol) and policies unsupported (note that these can only be seen if policies are changed after an account is created; we do not allow the creation of an account when any required policies are unsupported). Add a button that forces a sync attempt, for accounts that are locked out, but whose policies have changed on the server (this would otherwise require a reboot). * Updated unit tests Bug: 5398682 Bug: 5393724 Bug: 5379682 Change-Id: I4a3df823913a809874ed959d228177f0fc799281
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
71c9683087c348a117a6dd9c6f6eab96cbc46139 |
|
30-Sep-2011 |
Marc Blank <mblank@google.com> |
Improve policy logging Change-Id: I023b7c5302ea00ab77edd697009fb00544951a80
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
b169192c8a59f8b61b019c80fda2183194ac5c00 |
|
06-Sep-2011 |
Marc Blank <mblank@google.com> |
Update account object in Policy#setAccountPolicy * We weren't updating the account object passed in to setAccountPolicy, which is problematic if the object is cached and used subsequently in the code (it would have stale policy values) Bug: 5245056 Change-Id: I279570dfd66c4a65d751f73e2e56578be186d339
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
a9f1631fb83200a59e40e23ed366f810d08b6f52 |
|
11-Aug-2011 |
Marc Blank <mblank@google.com> |
Remove STOPSHIPs in Email/Emailcommon Bug: 5142183 Change-Id: I1f6e31bfd2e7c32bdd7886e54b02fd4640a96e6f
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
745b33b8ff55e9a9c4871f07f9d97db893f784b2 |
|
01-Jul-2011 |
Makoto Onuki <omakoto@google.com> |
Fix all NoSuchMethodErrors Change-Id: I05adf2b99c819d6aa2d3b52c52a8c655d9307337
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
2bdf7ee0f0f4a2b11b5f7c0f8b193080600fefd8 |
|
01-Jul-2011 |
Marc Blank <mblank@google.com> |
Delete orphaned mailboxes/messages/policies at provider startup Bug: 4972132 Change-Id: Icc756a9e28b77de052261903089b040d229e7b5d
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
505ac4b09bbe13ff099e40d94e45963e46a9261f |
|
22-Jun-2011 |
Ben Komalo <benkomalo@google.com> |
Prevent NPE when account can't be found for policy Added some tests to ensure no orphaned policy Bug: 4686450 Change-Id: I64a1f5de05f3e73052cb41828ed6bf1a2e26d22a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
d09cff08882e553afce919865a2cc60b657d4659 |
|
06-May-2011 |
Ben Komalo <benkomalo@google.com> |
Make "don't allow camera" a supported policy. This sends the bit to the DPM. Separate changes have been/will be made to change the provision parser and support it in the DPM. Bug: 4185316 Change-Id: I44872ceb095a28539b047a0641cc499c7186a9b3
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
fae5ebbfd202b930296a1bbc67459152f1a6c6ce |
|
26-May-2011 |
Marc Blank <mblank@google.com> |
Cleanup code in Policy * Use a single method for setting/clearing an account's policy Change-Id: I90fd97d4a5ba452d4656bbabd06a40797c82e10c
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
b2a909598ba78783b05c58508310f864c56c897b |
|
11-May-2011 |
Marc Blank <mblank@google.com> |
Create/test method to set "not downloadable" flag based on policy Change-Id: I08bec46d0c961bdc9530768f5198346338b3e2f3
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
f91a03f5203bb64ae0726596d65ac90c35088666 |
|
05-May-2011 |
Marc Blank <mblank@google.com> |
Add new policies to Policy and associated data structures * Update Policy unit test Change-Id: I24a980537a73e40fca9fceb1b6ad6b2feaa9c342
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|
aeee10e57ef4d931e7708fde218d590453a82aea |
|
28-Apr-2011 |
Marc Blank <mblank@google.com> |
Rework of security policy storage * Replace crazy (and soon to be "full") bit fields stored in an account's securityFlags with a row in a newly created Policy table (thus, fully expandable) * Update code from database version 17 to 18; adds Policy table, a policyKey row in Account, and a revised trigger that deletes Policy information for deleted Accounts * Update old PolicySet unit tests to work against the new Policy class * Add test for the conversion of securityFlags to Policy * Tested in a variety of scenarios; appears to be functionally equivalent Change-Id: I1505ee75230d6a0d3c2b62a46326f39c2c7f9eb5
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/Policy.java
|