7048 Commits

Author SHA1 Message Date
Dan Sandler
26e81cf14b Quantum notification improvements.
New API introduced here: Notification.color (and
Builder.setColor()), allowing apps to specify an accent
color to be used by the template. The Quantum templates
(which are now the only kind we support) use this when
creating a circular background to draw behind the smallIcon
in the expanded form.

Additionally, the quantum and legacy templates are no longer
in superposition; all apps using Builder will get quantum.

Change-Id: Iac5e2645cc5c2346ed458763f2280ae9c6368b62
2014-05-08 01:21:55 -04:00
Jason Sams
5066ac85d3 am 6eb4c5bf: Merge "Add flags to context creation for RS"
* commit '6eb4c5bf830c952d70473edff5f2b8e5ab98ce29':
  Add flags to context creation for RS
2014-05-08 00:05:04 +00:00
Jason Sams
8999bdc63c Merge "Add flags to context creation for RS" 2014-05-08 00:01:39 +00:00
Alan Viverette
e80e2fc71e am 91c091cf: Merge "State based animators for Views"
* commit '91c091cf7b732796d26971de6a508966e24d40a0':
  State based animators for Views
2014-05-08 00:01:07 +00:00
Yigit Boyar
f4c5bf30b4 State based animators for Views
Set quantum theme buttons to elevate 2dp on press

Change-Id: Ibf4f5ef166b901382c304d392eba075836a96a35
2014-05-07 16:52:17 -07:00
Vinod Krishnan
6c6fd8ad50 am f2150734: am 03498d34: am b9d71fa1: Merge "Adding a HeartRate Feature" into klp-modular-dev
* commit 'f215073420706e29305da762fa5f9f53dcf330ff':
  Adding a HeartRate Feature
2014-05-07 23:44:59 +00:00
Zhijun He
02157bb93f am eb440873: Camera: remove some DNG tags
* commit 'eb44087344cb545f97f78b802dc91bfec252f0f7':
  Camera: remove some DNG tags
2014-05-07 23:42:39 +00:00
Vinod Krishnan
7d3387bc13 am 03498d34: am b9d71fa1: Merge "Adding a HeartRate Feature" into klp-modular-dev
* commit '03498d349ae3aa5e429e999b97036d194981373f':
  Adding a HeartRate Feature
2014-05-07 22:57:45 +00:00
Vinod Krishnan
03498d349a am b9d71fa1: Merge "Adding a HeartRate Feature" into klp-modular-dev
* commit 'b9d71fa1081dc318a811b60660009d0769c02971':
  Adding a HeartRate Feature
2014-05-07 21:46:45 +00:00
Zhijun He
bc01db42d5 Camera: remove some DNG tags
Change-Id: I878e26414dcf5cedbcfd8c505b0c507f4548c035
2014-05-07 21:33:23 +00:00
Jason Sams
26e9051957 Add flags to context creation for RS
We have a number of context options exposed though native
that were not available though the Java API.  This brings them
to parity.  Will finish plumbing in a follow on CL.

Change-Id: I8c65ee743d0e750e418304127b84088f25176c38
2014-05-07 14:23:46 -07:00
Emily Bernier
394a6cdd98 New user restrictions for EDU
New user restrictions will allow schools to prevent students from 1) using
device microphones, 2) adjusting device volume, and 3) mounting physical
external media.

Change-Id: Ib2fcb7ce8fbc489a25d2c97a122b2124012a9e3c
2014-05-07 17:04:58 -04:00
Vinod Krishnan
b9d71fa108 Merge "Adding a HeartRate Feature" into klp-modular-dev 2014-05-07 20:33:12 +00:00
Jason Monk
1a285ee293 am 6e6d1f21: Merge "Make Lock Task API public."
* commit '6e6d1f214766bbf00b4b0298d95ec1b42461e470':
  Make Lock Task API public.
2014-05-07 19:22:38 +00:00
Jason Monk
01d1d90753 Merge "Make Lock Task API public." 2014-05-07 19:18:23 +00:00
Jason Monk
a57e5e006b Make Lock Task API public.
Change-Id: Ieaf944dc69e206e091d8257e0f92013b082ceaac
2014-05-07 15:15:53 -04:00
Jean-Michel Trivi
a713814f17 Unhide AudioTrack.write() method for non-blocking and ByteBuffer
Unhide the write mode constants.
Unhide the write method where data is stored in a ByteBuffer.

Bug 7919023

Change-Id: Ie9e24c744067f164d1a3e3363c7718b0a70e1cae
2014-05-07 12:10:06 -07:00
Jason Monk
4ef10931b4 am 059637c4: Merge "Make proxy API public"
* commit '059637c4970bdbed19689a5e9ecb40a9ebe5a739':
  Make proxy API public
2014-05-07 18:57:01 +00:00
Jason Monk
9d75ccb6a1 Merge "Make proxy API public" 2014-05-07 18:54:12 +00:00
Jason Monk
207900c23b Make proxy API public
Also exposed proxy-related functions that were on the
ConnectivityManager.

Change-Id: I9fb5f1bcc257a6198679ea1d56e18da2ec5a3b33
2014-05-07 14:23:53 -04:00
RoboErik
d2b5fdcd89 am 0f4b0ba6: Merge "Add a class for managing Session priority"
* commit '0f4b0ba6f43bffe68d7e96c6cd78b38406e32c0a':
  Add a class for managing Session priority
2014-05-07 17:30:01 +00:00
RoboErik
49817456ab am 13ca0e29: Merge "Add APIs for creating a system priority session and getting controllers"
* commit '13ca0e29030721f380082bc937f3b1c40d3fc318':
  Add APIs for creating a system priority session and getting controllers
2014-05-07 17:29:57 +00:00
RoboErik
153187d05b Merge "Add a class for managing Session priority" 2014-05-07 17:26:28 +00:00
RoboErik
780bee2633 Merge "Add APIs for creating a system priority session and getting controllers" 2014-05-07 17:26:16 +00:00
Craig Mautner
cf24765664 am d5a99922: Merge "Add attributes and flags for DocCentric."
* commit 'd5a9992273039671f2a7155597cf4150599df761':
  Add attributes and flags for DocCentric.
2014-05-07 16:05:49 +00:00
Craig Mautner
77f5a0f517 Merge "Add attributes and flags for DocCentric." 2014-05-07 16:00:03 +00:00
Craig Mautner
2dac056179 Add attributes and flags for DocCentric.
Add Intent flag and attribute for auto removal of task from recents
once task completes.

Add manifest attribute for auto launching into doccentric. Equivalent
to Intent.FLAG_ACTIVITY_NEW_DOCUMENT.

Fixes bug 14586473.

Change-Id: I04acc9333c3725b4db94a954358eb78df507ff53
2014-05-07 08:41:27 -07:00
Adam Connors
0c89304fe0 am e068ba87: Add enableSystemApp methods to DevicePolicyManager
* commit 'e068ba879ea9a712bf7ad6c91e55238f76f122d9':
  Add enableSystemApp methods to DevicePolicyManager
2014-05-07 15:25:19 +00:00
Adam Connors
010cfd4581 Add enableSystemApp methods to DevicePolicyManager
These methods allow profile or device owners to enable
systems apps pre-installed in the primary user in the
managed profile. Apps can be specified by either package
name or intent.

Bug: 13587051

Change-Id: Ifcbc68c139308506b6c18cf3c0ea62b8026ff75f
2014-05-07 16:20:38 +01:00
Julia Reynolds
49d1728855 am 5d24ddf3: Add new EDU user restrictions.
* commit '5d24ddf35e25ad681cf8ec3228c4fa6aca523809':
  Add new EDU user restrictions.
2014-05-07 14:24:42 +00:00
Julia Reynolds
d46d0f9dcd Add new EDU user restrictions.
Change-Id: I6aad10466d99cda6be378c72025df686fe665071
2014-05-07 09:51:16 -04:00
Adam Powell
fc49d6ef7a am e3172101: am bfbddcad: am 4f295fe8: Merge "Clean up WindowInsets API for release" into klp-modular-dev
* commit 'e31721019987ba80b00dd5ae1ba7fa2598f566a4':
  Clean up WindowInsets API for release
2014-05-07 13:24:43 +00:00
Adam Powell
05ee2bd617 am bfbddcad: am 4f295fe8: Merge "Clean up WindowInsets API for release" into klp-modular-dev
* commit 'bfbddcad6004b7d178fb777c3a2b8b8a3dfe53ad':
  Clean up WindowInsets API for release
2014-05-07 13:20:21 +00:00
Ben Murdoch
7d585c957d am db62ab87: Revert "Add attributes and flags for DocCentric."
* commit 'db62ab87ca1ce18501e4c8ac9696bc220996d449':
  Revert "Add attributes and flags for DocCentric."
2014-05-07 11:15:32 +00:00
Ben Murdoch
aeac6d8eb1 Revert "Add attributes and flags for DocCentric."
Breaking the master build in check-api.

This reverts commit 5a8c07a2d2a35169f245908f6916355f09b3ebf4.

Change-Id: I985fa7ee02d704c34a551d901f6b36943542193d
2014-05-07 11:10:16 +00:00
Craig Mautner
ddf4c3d2b6 am 5a8c07a2: Add attributes and flags for DocCentric.
* commit '5a8c07a2d2a35169f245908f6916355f09b3ebf4':
  Add attributes and flags for DocCentric.
2014-05-07 06:53:26 +00:00
Tao Bai
cd2b93260d am 1091e2c9: Public WebView permission API
* commit '1091e2c9f7f2ee127cf5fc29285c7a7b6cc830f8':
  Public WebView permission API
2014-05-07 06:52:31 +00:00
Craig Mautner
c6c035918a Add attributes and flags for DocCentric.
Add Intent flag and attribute for auto removal of task from recents
once task completes.

Add manifest attribute for auto launching into doccentric. Equivalent
to Intent.FLAG_ACTIVITY_NEW_DOCUMENT.

Fixes bug 14586473.

Change-Id: Ie6bbbd890fa5f76cc6f2dae5f4bce3c8b22e085c
2014-05-06 23:35:11 -07:00
Tao Bai
fa1fd2cb7d Public WebView permission API
BUG: 13699047
Change-Id: Ibcc8c0d4f1bba4365cb71c1991a0fcb1d7febb94
2014-05-06 21:17:54 -07:00
Jim Miller
353bda0985 am d031e36c: First pass at adding FingerprintManagerService
* commit 'd031e36c433c94fc6da3732be7e61aa906e45ec4':
  First pass at adding FingerprintManagerService
2014-05-07 02:32:29 +00:00
Jim Miller
08fa40c5cb First pass at adding FingerprintManagerService
This adds a new service for monitoring and enrolling fingerprints
to the platform.

Fixed documentation links.

Change-Id: I66013be5e09be9c5f9746c46aacf32d3e26c3b73
2014-05-07 02:27:21 +00:00
Jeff Brown
88cf32e300 am 31c0962a: Merge "Fix crash due to texture view callback threading invariants."
* commit '31c0962a2cdb507486507cc96d7b9a214e9849d3':
  Fix crash due to texture view callback threading invariants.
2014-05-07 00:51:50 +00:00
Jeff Brown
6c8e788e37 Merge "Fix crash due to texture view callback threading invariants." 2014-05-07 00:47:08 +00:00
Adam Powell
bfbddcad60 am 4f295fe8: Merge "Clean up WindowInsets API for release" into klp-modular-dev
* commit '4f295fe8c66ef2878d93be420f73745d88422e35':
  Clean up WindowInsets API for release
2014-05-07 00:35:31 +00:00
RoboErik
a8f9514627 Add a class for managing Session priority
Priority is given first to the system priorty session, then to
active local sessions, then to active remote sessions, then to
the rest of the sessions. Ordering within categories is by whoever
last performed an action we associate with the user.

The stack has methods for getting filtered sets of this priority.

This also:
-Changes publish to setActive(boolean)
-Adds a flag for handling media buttons.
-Adds a flag for transport controls instead of enabling once.
-Unhides the setFlags API.
-Updates the legacy helper to use the flags.

Change-Id: I6ebeb27410de1b24149fd6e1785613ac444f0774
2014-05-06 17:26:06 -07:00
Jeff Brown
c7282e57cd Fix crash due to texture view callback threading invariants.
Allow the client of a SurfaceTexture to specify the Handler to
which the update callback should be directed to avoid unnecessary
scheduling ping-pong between threads.

Fixed an invalid assumption in TextureView that it is attached
to the main looper which could result in a crash under certain
circumstances.  In normal app processes, it is true that TextureViews
must be created on the main looper since hardware rendering is
currently only supported on the main looper.  However, in the
system server, UI components run a different thread.  Although
hardware rendering is normally disabled in the system server,
it may be enabled for certain developer features.

Bug: 14445309
Change-Id: I5ae17ad018b9ef05ba87ec2f972c7c82e2bca70a
2014-05-06 17:13:43 -07:00
Tim Kilbourn
7c433b3d9c DO NOT MERGE Hide more leanback stuff.
- leanback intent category
- FLAG_IS_GAME

Bug: 14116162
Change-Id: I5665dda4c47e24a06707df4989ee117b4e91c246
2014-05-06 16:54:34 -07:00
Adam Powell
f4a3941ebe Clean up WindowInsets API for release
Hide window decor inset methods and rename the clone* methods to have
less baggage.

Bug 14566960

Change-Id: Ia06bb959fd77acd6ff69f337c3200047a529612a
2014-05-06 16:27:59 -07:00
Kenny Root
dd3a144c3c am 1b9c2108: Unhide new SSL APIs
* commit '1b9c2108e8fdd5344e3916259f9d1eb3d2227a50':
  Unhide new SSL APIs
2014-05-06 22:11:24 +00:00
Kenny Root
2cfedd94b3 Unhide new SSL APIs
Change-Id: Ic58d5571754f434bb8f72b09329e8803d4343ba2
2014-05-06 15:00:45 -07:00