History log of /development/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.java
Revision Date Author Comments
84fb27910711300363de112c3115cb3ed74d23a9 01-Sep-2012 Jim Miller <jaggies@google.com> Add test case for new keyguard widget API

Change-Id: Ibcb19c15964f4ea4bad36ec102e9aed8b4ea9c41
63506eeafe6a24bd9f0612cf62888957729c5954 19-May-2011 Ben Komalo <benkomalo@google.com> API sample for using new disallow camera policy.

Change-Id: Ic83b2079312860a3c4b9348ca28dc7d3c0a2b9e6
547494ef8a39e9bcaeb84be9f5a4e79001bf4eb3 03-Jun-2011 Andy Stadler <stadler@google.com> DO NOT MERGE Replacement sample code for DevicePolicyManager api.

* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance

Backport of: I075161d389942786e6c95483becbff7ebe847078

Change-Id: Ie88c1577b2ebae124615cc4b45968851cf11187e
0879ed418d096f33768a7e030030509382b9e4ea 31-May-2011 Andy Stadler <stadler@google.com> Replacement sample code for DevicePolicyManager api.

* UI is organized into multiple screens to make it easier to understand
* More feedback about local vs global (aggregate) policies
* Uses preference fragments for modern appearance

Change-Id: I075161d389942786e6c95483becbff7ebe847078
69d5096f2be732b1aac43c5c39b7deadd2097712 25-May-2011 Andy Stadler <stadler@google.com> Update ApiDemos to show active password status

* Add Check Password button
* Use it to report overall password status - isActivePasswordSufficient()
and various password settings.
* Fixed a minor bug that cause the password quality to be reset to
"unspecified" every time you start the activity.
* Leave the two password buttons enabled all the time (set password
can be used when not active, and check password just puts up a toast
explaining why it can't be used when inactive.)

This code can be used to confirm bug b/4445007 and hopefully its fix, too.

Change-Id: I136706072257d2e49184a29b0aa5d7a524960c40
5ee9462101672a2c75fa92c5d4055ab4622f80e8 16-Feb-2011 Andy Stadler <stadler@google.com> Remove references to global proxy APIs

Remove global proxy settings from Apidemos
Remove CorpApp

Bug: 3460938
Change-Id: I2b6889a96341f0e4fad50a9cfaa76db715ecfaa0
d8865cc32c917cebf1fc65c8266d939b9a5718a7 17-Jan-2011 Andy Stadler <stadler@google.com> Update demo for DPM encryption controls

* Follow revised API
* Show more status

Bug: 3346770
Change-Id: I6c5cd8d8f055ceb3a3a78cf3868dbc0f2d535acf
3eb48a061aa2d6aafe7493bb3d83ea8f8d53a33d 13-Jan-2011 Andy Stadler <stadler@google.com> Add encryption status controls

* Enable, disable, and activate encryption
* Report encryption status

Change-Id: Ia76cf6033fe00ebdfd3369f8123f5d1ec109f3a9
bc16d2e28851f251ab67cd0744c381b20f0713a2 20-Nov-2010 Andy Stadler <stadler@android.com> Add display of password expiration status

* Also clean up a few warnings.

Change-Id: I79d8d4c49c113e23160839ddb079a241a245729b
47d6d8e1e2b14986ecf570dd8283ba7642048b54 20-Nov-2010 Andy Stadler <stadler@google.com> Quick bugfix for password expiration UI

Change-Id: Iecc0f6fbfe85293a6b22fd0a0ffaae69a0fbc3e9
7a2d5f2981aa2c739f1ea2ec19c4699661858ddc 10-Nov-2010 Jim Miller <jaggies@google.com> Add password expiration test to DeviceAdminSample.

Change-Id: Ib5b398dc068227529d83be2b55c33225f9bbce80
8143be8d0348e4918ccc75e0a44e617c295da2fc 16-Oct-2010 Dianne Hackborn <hackbod@google.com> Update device admin example to wipe SD card.

Change-Id: I224006f284916761578e3d04b208828f80ea3cb6
d53965f305e71fd35c1b4f9ed99b2544e4807d4d 04-Aug-2010 Oscar Montemayor <oam@google.com> Attempting to add new Corp App to demo Global Proxy.
Making ApiDemos device admin able to set the Global Proxy.

Change-Id: I565ccf5d05b1c7d775aea968e99e04894c3f8b64
991a1f530ab08e2d3728af54e04604074a57cb5c 26-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2677197: Adding support for minimum number of complex characters to the Device Admin Sample App.

Change-Id: I7570f005ee665adc150e8c4fb92068b4d8dcdbb1
b00082c73ab52ee7a3aa48a8d59a35d8e66870b8 21-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2673731: Adding support for password history to the Device Admin Sample App.

Change-Id: I1380ff9475c201d3c2ec2ec449b1103c3d55a3a7
68230c3f724ae11448f1798672847d169c2bdae7 30-Mar-2010 Jim Miller <jaggies@google.com> Fix 2527411: Extend sample DPM app to test setMaximumTimeToLock()

Change-Id: I1a0ff93a27d7d27b66acbacf953eb0984e85e4cf
c1f107a2575622abc8d109e8ae558b5950fcfeaf 23-Mar-2010 Dianne Hackborn <hackbod@google.com> Add new quality constant.

Change-Id: I386438485a921ec94ed1047936ca182c04bce410
c48b3d9b715ecdc66c2695836c1a04f15bb30755 27-Feb-2010 Dianne Hackborn <hackbod@google.com> Move DeviceAdmin APIs to android.app.admin.
0a4b90cb6893b9c7431918fd4c9317171dc6345b 17-Feb-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2420412: API review: DeviceAdmin API changes
1f91425318405289119f1502e8793af0bb118103 09-Feb-2010 Andrew Stadler <stadler@android.com> Cleanups to Device Admin sample code

1. Rename SampleDeviceAdmin to DeviceAdminSample where it appears in
filenames. This makes it easier to find when scanning directories.
2. Fix bug in max password length handling
3. Add a toast to warn user that entering values in "Password Attempts"
box has real consequences.