Commit Graph

610 Commits

Author SHA1 Message Date
Michael Wright
bcbb01686c Have the MediaProjection sample use the callback.
Bug: 18393320
Change-Id: I482ed9cde5444d62a5486f4ca91e3dc6b441e673
2014-11-21 14:11:52 -08:00
Ye Wen
03f9acc909 PduParser MSIM support (4/4)
PduParser needs to know if Content-Disposition part header is supported
for a specific carrier. Originally this is loaded directly from system
resource in PduParser. This won't work for multi-SIM, which requires
getting that config based on carrier. This change adds parameter to
indicate if this header is supported and requires caller to provider the
config.

b/18371228

Change-Id: I8a0a7ce91d1b9581fe5d4545fa954277a661751b
2014-11-18 12:34:04 -08:00
Jim Miller
d4adb57e07 Update TrustAgentService API after review
Add test for DPM.setTrustAgentConfiguration()

Also fixes bug where DPM flags were set in onPreferenceChanged()
which happened before being set on the checkbox preference.

Fixes bug 17008504

Change-Id: I165cd73d11c0a68ee6667cb1fd88892a39267903
2014-11-03 18:48:45 -08:00
Cheuksan Wang
33fe444f11 Merge "Send and download MMS via content provider instead of PDU bytes." into lmp-dev 2014-09-12 17:08:18 +00:00
Michael Wright
2326f11a21 Change getScreenCaptureIntent to createScreenCaptureIntent.
Bug: 17389882
Change-Id: Icaccc6572f7fd5865f3013960bae196afa6d5dd5
2014-09-11 19:37:51 +00:00
Alan Viverette
bbb85f6351 Fix progress spinner dialog in ApiDemos
BUG: 17446820
Change-Id: If6201e4483a5102d0f1567a36d1edf70392d5b8f
2014-09-09 18:20:08 -07:00
Cheuksan Wang
cfb685d52e Send and download MMS via content provider instead of PDU bytes.
Change-Id: Ib5a93d07799c9e14fea8be820c6bd4bc7ae8be3a
2014-09-09 16:53:38 -07:00
Alan Viverette
b4ced6163b Update alert dialogs in ApiDemos for Material theme
BUG: 17415772
Change-Id: Ifc1de793458f678a3c40b734d5ab08b2eb382f7a
2014-09-07 17:45:26 -07:00
George Mount
0911ea8db7 Merge "API Review: change SharedElementListener to SharedElementCallback" into lmp-dev 2014-09-05 13:55:45 +00:00
George Mount
00fc6d9b06 API Review: change SharedElementListener to SharedElementCallback
Bug 17289526

Change-Id: I5d28a77d870b83cc93483be23635bc669978cefc
2014-09-04 15:41:53 -07:00
Ye Wen
d6ef9163ed MMS API cleanup (4/4)
- Hide APIs not approved by API council (b/17189780)
- Change configOverrides in MMS APIs from ContentValues to Bundle to be
consistent (b/17390017)
- Change SmsManager.MMS_EXTRA_DATA to EXTRA_MMS_DATA per API council
review (b/17390977)

b/17189780
b/17390017
b/17390977

Change-Id: Id9ae09ae4ef083186b93677ffabf5640c54aa99d
2014-09-04 15:41:13 -07:00
Julian Odell
9b00ec9132 Bug 17262099: MMS API changes (multi-project).
Change API demo to use new content provider based MMS API.
Rebased and merged with TOT.

Change-Id: Ia1b815f2904ccfc9962960369f85e1f2de830927
2014-09-03 13:13:33 -07:00
Alan Viverette
fe3ba7fbc9 Add device default light and dark dialogs to ApiDemos
Change-Id: I538c2cfb975828cd0e1e065d4cf5589e573307d5
2014-08-28 16:39:27 -07:00
Jim Miller
b52c7ae862 Merge "Revert "Add test options for DPM.setTrustAgentFeaturesEnabled()" until the new API is ready. This reverts commit d6df7362ab4b332a09d12358297056cfeadcaa11." into lmp-dev 2014-08-27 21:26:14 +00:00
Jim Miller
ac48e8f5e3 Revert "Add test options for DPM.setTrustAgentFeaturesEnabled()" until the new API is ready.
This reverts commit d6df7362ab.

Change-Id: Ie5c8e139450923374d235ea9d85f015b87851d06
2014-08-27 21:25:16 +00:00
Dianne Hackborn
9f744759d1 Work on issue #17011123: Hit Back/Recents button when in Recents...
...without interacting with any of the Recents items should not
bring Home back to top

Add API demo for nav bar navigation.

Change-Id: I8b45f2bc0b554da19957ad723abe7cf4a14ee5a1
2014-08-21 17:58:05 -07:00
Tom Taylor
f1c2891a00 Merge "MMS API: ApiDemos demo app" into lmp-dev 2014-08-20 18:43:12 +00:00
Jim Miller
d6df7362ab Add test options for DPM.setTrustAgentFeaturesEnabled()
Also fixes bug where DPM flags were set in onPreferenceChanged()
which happened before being set on the checkbox preference.

Change-Id: I5a43358d02830a22107f1239c596cc1bc67d11a1
2014-08-11 17:43:27 -07:00
Michael Wright
bf1e26281d Update samples to new MediaProjection APIs.
Change-Id: Ic7422fd4770d7f272fcb92a7752f5f184c4f0c9c
2014-08-06 20:07:12 -07:00
Michael Wright
d17804f530 Add MediaProjection samples
Change-Id: I630900bdcfecc7f1c57b406a0bae09a0e917124a
2014-08-05 19:59:01 +00:00
Ye Wen
69291d63e4 MMS API: ApiDemos demo app
b/14095333

Change-Id: Ieffbc559f636fe1c556221e23533d8ba5ac74cb6
2014-08-01 13:46:19 -07:00
Chris Craik
644678f99b Update Outline API
Change-Id: Ia9a4ce9e50473f4c1ee46fe40506c6a9736043a7
2014-07-18 15:26:29 -07:00
Jim Miller
94a862f010 Add new "pin complex" type to supported keyguard PINs
This adds a feature to allow DevicePolicyAdmins to prevent using
simple PINs, which are defined as those containing more than 3
repeated values. Examples include '1234', '2468', '1111', '9876', etc.

Bug 12081139

Change-Id: I4c7ae51730c23ad8050e6216a62a8038d9c645a6
2014-07-16 23:49:23 +00:00
Leon Scroggins III
c7095947cb Call setShader after setLocalMatrix.
After updating a Shader's Matrix, set the Shader on the Paint again,
so it will take effect.

BUG:14315916
Change-Id: Ibf732f7f417d2a52500fabf4d660be7fcfb59f43
2014-07-10 14:10:43 -04:00
George Mount
c580adec26 Revert "Revert "API Review: Change View viewName attribute to transitionName.""
This reverts commit f4138cbcfc.

Change-Id: Id5531f7508b22cf0242a5bef063423d932eb104e
2014-06-23 08:18:46 -07:00
Chris Craik
7007035ef1 Add Shadow demos to ApiDemos
bug:15724818
Change-Id: I22e3faaee9bb1d46f9c9f16cac38069071e1fc0b
2014-06-19 11:06:28 -07:00
Alan Viverette
a9cb62536b Add navigation list to API Demos
Change-Id: Ib18bb6ce41b27049273add697a65c607442ee13f
2014-06-12 18:13:42 -07:00
Alan Viverette
6fcf326d1a Add list navigation to API Demos
BUG: 15566102
Change-Id: I4c1dd13d5ac5502d6d3f879ce916b09d81338940
2014-06-12 12:56:36 -07:00
Jeff Sharkey
49e67f2a61 am 893d702d: Follow directory API changes.
* commit '893d702d1207dcaa3bbcac45597fc3cc04b420ff':
  Follow directory API changes.
2014-06-10 14:55:36 +00:00
Jeff Sharkey
893d702d12 Follow directory API changes.
Bug: 15429194
Change-Id: Ib30c8c3697dbf883cdbaef5a839ddd9bc0a900d0
2014-06-09 16:48:32 -07:00
Adrian Roos
dded89c1be Merge "Fix sample device admin" 2014-05-23 10:27:07 +00:00
Adrian Roos
212e67253b Fix sample device admin
Changes to some checkboxes were only applied
after changing another checkbox / stopping and resuming the activity.

Change-Id: Idec3461e60786d97000402badcc3a66b1bf33a82
2014-05-22 20:05:20 +00:00
Jeff Sharkey
5214072d6c Example code to test renaming documents.
Bug: 12350110
Change-Id: I6be7bd1cd93b8c1c83f05496157534d879f2f223
2014-05-21 22:25:18 -07:00
George Mount
6ccc20a0aa Update activity transition API.
Change-Id: Ic9f2ead3a6841ae7c11e38098aaf26a2b6e613fd
2014-05-19 16:26:25 -07:00
George Mount
e6c46f8f23 New activity transition API.
Change-Id: Icbf3533514a3216ab4b5a7146a8157535fbf1aa9
2014-05-15 07:20:52 -07:00
George Mount
fb8e37e754 Changed sharedElementName to viewName.
Bug 14624181

Change-Id: Ia822e252030d94c0b73f41914656985656bc5efa
2014-05-12 11:50:35 -07:00
Jim Miller
1d8e0796c5 Add test harness for new keyguard features:
- disable all notifications on secure keyguard
- disable unredacted notifications on secure keyguard
- disable TrustAgents

Change-Id: I864a103263996dcd491ff77f744bff8398af9cc8
2014-04-25 15:28:28 -07:00
Jeff Sharkey
4c4580e5f6 Add code to exercise DocumentsContract.
Also fix broken "atLeastKitKat" definition.

Change-Id: I7c82ebb7b230ac66da3194412c845ff0c2b72f85
2014-04-22 22:03:37 -07:00
George Mount
f93d490356 Use new Quantum Paper Activity Transitions API.
Change-Id: Ia487e02e8cb7a90bd14b0e09392eddac5c1a06ec
2014-04-17 08:56:09 -07:00
George Mount
b3059f8744 Use framework Transition MoveImage and Slide
Change-Id: I3c55ee699288f1945ae0a23dfad2ae4fd9caa9a0
2014-04-07 09:13:55 -07:00
Alan Viverette
f210b1e37f Remove deprecated Gallery and ImageSwitcher from API Demos
Change-Id: Ib6b1f23a368d042674aabd01361f76df2a8e5280
2014-03-26 14:13:36 -07:00
Trevor Johns
d43bf2c371 am f62824c6: am 9d563550: Merge "Align "from code" parent-child preference flow with "from XML""
* commit 'f62824c658006c620be775ca82b74fcc6f82b59c':
  Align "from code" parent-child preference flow with "from XML"
2014-03-12 19:56:45 +00:00
Trevor Johns
f62824c658 am 9d563550: Merge "Align "from code" parent-child preference flow with "from XML""
* commit '9d5635501a9fdf2f9ef5b51a4be021622f2f9a67':
  Align "from code" parent-child preference flow with "from XML"
2014-03-11 23:22:56 +00:00
Trevor Johns
9d5635501a Merge "Align "from code" parent-child preference flow with "from XML"" 2014-03-11 19:52:17 +00:00
Alan Viverette
2178063c52 Temporarily taking over API Demos v19 for Quantum demos
v19 has been moved to v99 until we have an API rev for L release.

Change-Id: I864ef7962ce5be6f072bfe9866c9f93f12ea438e
2014-03-03 14:08:19 -08:00
George Mount
4769ecc773 Support changes in Scene Activity Transition API redo.
This reverts commit 1b3da3748f.

Change-Id: I84fd15c154a404ed10971025b7bb33f58a344965
2014-02-26 15:32:10 -08:00
George Mount
1b3da3748f Revert "Support changes in Scene Activity Transition API."
This reverts commit 8ad5ffb461.

Change-Id: I3277537f7cc6a033ea1fc2948529f96c1dbc30e8
2014-02-26 08:52:12 -08:00
George Mount
c27968847d Fix build breakage due to failed import.
Change-Id: I626c44f30b1e899bdb230219b752511510c5bbb1
2014-02-26 07:54:22 -08:00
George Mount
8ad5ffb461 Support changes in Scene Activity Transition API.
Change-Id: Ia19b7def404f32ea5f68d2fece04dcd5ce615a42
2014-02-25 11:12:26 -08:00
George Mount
77dfe829d1 Cross-Activity Scene transitions API demo.
Change-Id: Icd644902b61ca2f03f21045bfad3a758075fb7cc
2014-02-04 15:53:02 -08:00