Commit Graph

10312 Commits

Author SHA1 Message Date
Dan Sandler
994349c61e Rediscover your own notifications.
This new API, NotificationManager.getActiveNotifications(),
allows an app to recover the set of notifications it has
posted that are still active (un-cleared, un-canceled,
visible by the user). Along with the Notification object
you'll get the original tag and id you used to post it,
wrapped up in the somewhat awkwardly-named
StatusBarNotification data structure (previously only used
internally by NoMan/SysUI and NotificationListenerServices).

Bug: 17320461
Change-Id: I8cd610956fafed4e31526b663cebdc31231ad930
2015-04-21 17:14:17 +00:00
Andrei Kapishnikov
8d505ff025 Merge "Introduced DO_NOT_ASK_CREDENTIALS_ON_BOOT flag" 2015-04-21 16:38:06 +00:00
Joseph Cooper
b201110437 Merge "Introduces navigation keycodes." 2015-04-21 15:31:46 +00:00
Andrei Kapishnikov
4eb6a36922 Introduced DO_NOT_ASK_CREDENTIALS_ON_BOOT flag
A new flag for DPM.resetPassword() method that specifies that the
device should be decrypted without asking for the password or pattern.

Bug 19250601

Related CL in Settings App: https://googleplex-android-review.git.corp.google.com/#/c/670206

Change-Id: I9ca3472dc18e66e618ff772dee16ca4a450e9997
2015-04-21 11:07:09 -04:00
Alan Viverette
33f0c93fa9 Merge "Update the popup reveal animation to more closely match window reveal" 2015-04-21 00:29:36 +00:00
Rubin Xu
97e2f7d5af Merge "Rename public OTA policy APIs in DevicePolicyManager" 2015-04-20 23:56:27 +00:00
Rubin Xu
5faad8e4cd Rename public OTA policy APIs in DevicePolicyManager
Use the term "SystemUpdate" instead of "OTA", in public
DevicePolicyManager APIs that handle OTA policies.

Bug: 19650524
Change-Id: Iebdaea91337d617147cb411b6f47e0f3fae8671c
2015-04-20 23:27:14 +01:00
Raph Levien
1c17ba5f83 Merge "Add Paint methods for cursor positioning" 2015-04-20 22:13:55 +00:00
Tyler Gunn
4cf116ff20 Merge "API Cleanup - rename IConferenceable to Conferenceable." 2015-04-20 20:12:47 +00:00
Jonathan Basseri
5f24126e2e Merge "Add multi-sim support for getCarrierPackageNamesForIntent." 2015-04-20 19:59:39 +00:00
Junda Liu
f3c7bf432d Add multi-sim support for getCarrierPackageNamesForIntent.
resbmit of change Id100b7c4606287a1daa90092cd3c8a5a6519247d

Bug: 20268073
Change-Id: I852aac4da492e15f1dd7a3c88693fa14ec07b7c4
2015-04-20 10:30:35 -07:00
Tyler Gunn
df2cbc8989 API Cleanup - rename IConferenceable to Conferenceable.
Bug: 20165255
Change-Id: If4cb323749b6ef9e8657506434d760d07c34167f
2015-04-20 09:13:01 -07:00
Sander Alewijnse
e94787a027 Merge "Add certificate checksum extras." 2015-04-20 10:31:28 +00:00
Robert Shih
b14e37cb37 Merge "MediaPlayer: initial timed id3 support" 2015-04-18 02:50:13 +00:00
Robert Shih
ac033f033d MediaPlayer: initial timed id3 support
Change-Id: Ibf2ea8fa1b44f2953bda49cdc6da979c2d3f6be2
2015-04-17 19:49:13 -07:00
Amith Yamasani
eab852cb34 Merge "Add isSystemUser API" 2015-04-18 02:01:18 +00:00
Amith Yamasani
5760e1786b Add isSystemUser API
Bug: 20348316
Bug: 19945747
Change-Id: Ibb81f0b2fccec621e26e4543bf9f26ffddfafb15
2015-04-17 18:52:26 -07:00
Svetoslav
6c589570c4 Remove unnecessary WRITE_SMS permission - framework
Currently only one app can write to the SMS provider and it has to
be set as the default SMS app by the user in the UI. The default
SMS app is set by enabling the write SMS app op for it and keeping
this op off for other SMS apps. Hence, this permission does not
guard anything and can be taken out. The API change is fine as if
an app refers to the permission in the manifest as string it will
be ignored and if it was referred in Java the value is statically
compiled in the source.

Change-Id: I1128c3b034e6c7dda4baa051500ac1ef46a53575
2015-04-18 00:18:53 +00:00
Doris Liu
b1b0aa58bf Merge "Revert "Use real screen size to scale duration"" 2015-04-18 00:14:38 +00:00
Doris Liu
7513aab4df Revert "Use real screen size to scale duration"
This reverts commit 5ed54c743c.

Reverting to avoid build breakage.

Change-Id: Ib73056bb5a11e718cbc82db5917946bdf8db06dc
2015-04-18 00:14:14 +00:00
Doris Liu
14e317a33c Merge "Use real screen size to scale duration" 2015-04-17 23:40:55 +00:00
Doris Liu
5ed54c743c Use real screen size to scale duration
Duration scale based on screen size was using the area of the screen
excluding system bars to compare with our reference device's screen
size. This caused the following issues:
1) On baseline device (i.e N5) a scaling factor that is not 1 will be
   applied to the duration.
2) Scaling on the same device will be different in landscape vs.
   portrait, as the system bars take different amounts of space in
   different orienations.

This CL fixes both of the above issues.

Bug: 20309042

Change-Id: I9d1d0a471d968bee1330b80f0f69a0066d6a1860
2015-04-17 16:25:01 -07:00
Alan Viverette
b75de201db Merge "Restore windowMinWidthMajor/Minor in alert dialog overlay theme" 2015-04-17 22:16:08 +00:00
Alan Viverette
614b9563c8 Restore windowMinWidthMajor/Minor in alert dialog overlay theme
Bug: 20185630
Change-Id: Ic4a6b3d84a24c26846ea0fcc3ce32ca882e4dd95
2015-04-17 14:36:51 -07:00
Yorke Lee
f200406150 Merge "Set default values for VVM constants in CarrierConfigManager" 2015-04-17 21:26:21 +00:00
Yorke Lee
2850d7a599 Set default values for VVM constants in CarrierConfigManager
* Also hide the constants, they don't need to be @SystemApi
* Make VVM_PORT_NUMBER an Int

Bug: 20272209
Change-Id: I0d47afd7916d40f77ba5bf8e95306b46b27c15b3
2015-04-17 14:24:20 -07:00
Andy Hung
eaa388bc2c Merge "Add non-blocking writes to AudioTrack" 2015-04-17 20:38:24 +00:00
Eino-Ville Talvala
7b4e887390 Merge changes from topics 'add-depth-capability', 'add-highresolution-level'
* changes:
  Camera2: Add DEPTH_OUTPUT capability and DEPTH_DEPTH_IS_EXCLUSIVE field.
  Camera: Add HIGH_RESOLUTION hardware level.
2015-04-17 20:22:43 +00:00
Andy Hung
e354f5d580 Merge "Add non-blocking reads to AudioRecord" 2015-04-17 19:51:36 +00:00
Eino-Ville Talvala
0b7b03b35f Camera2: Add DEPTH_OUTPUT capability and DEPTH_DEPTH_IS_EXCLUSIVE field.
- Define DEPTH_OUTPUT capability and its requirements.
- Add DEPTH_IS_EXCLUSIVE to support devices that cannot produce color and depth
  for the same capture.

Change-Id: I6e511b7b8625907d9fc751fe8a73a443edeeb2ab
2015-04-17 10:52:42 -07:00
Eino-Ville Talvala
86ea32a68c Camera: Add HIGH_RESOLUTION hardware level.
For camera devices that support very high resolutions, add
a level that allows for those resolutions to operate at lower
capture rates, while ensuring that a reasonable resolution is
still available for high-rate capture.

Change-Id: I4a0d904504ac8a976bd02fba89b238048d55a268
2015-04-17 10:52:41 -07:00
Chris Craik
66b4139d6a Hide transient view API
bug:18621099

Change-Id: I25f64bc50bbbcf9fbbd8a4cdf81cacb61fa256f0
2015-04-17 10:09:05 -07:00
Chet Haase
8a2c92c834 Merge "Add transient views to ViewGroup" 2015-04-17 12:34:11 +00:00
Martijn Coenen
4598c375df am 14e24b4b: am cb477625: am e386f7f5: Merge "Expose peer LLCP version in NDEF callbacks."
* commit '14e24b4b4495484c05f38cab1b5b3ae8443394a6':
  Expose peer LLCP version in NDEF callbacks.
2015-04-17 07:47:00 +00:00
Martijn Coenen
cb4776254c am e386f7f5: Merge "Expose peer LLCP version in NDEF callbacks."
* commit 'e386f7f5108e9c2aa7547394f23d5936d7993cfe':
  Expose peer LLCP version in NDEF callbacks.
2015-04-17 07:25:27 +00:00
Andy Hung
4aacc903e3 Add non-blocking writes to AudioTrack
Change-Id: I4ff47c2851be1b085f4e758f67e391932371027d
2015-04-17 00:16:17 -07:00
Martijn Coenen
e386f7f510 Merge "Expose peer LLCP version in NDEF callbacks." 2015-04-17 07:02:59 +00:00
Andy Hung
0e9e2f3724 Add non-blocking reads to AudioRecord
Change-Id: I63d5345129f197f96f9a13696996071c96551efe
2015-04-16 23:57:13 -07:00
Adrian Roos
94e15a59b7 Allow dismissing Keyguard from TrustAgentService
Bug: 19900313
Change-Id: I44d13ee6fe65070327076e73a3ed96c94acdc108
2015-04-17 01:12:30 +00:00
Chet Haase
c633d2f2b8 Add transient views to ViewGroup
This change allows clients to add temporary (transient) views to a
list of such views in any layout container. These views will be drawn at
the specified index when the container is being rendered, but will otherwise
not participate in the normal events of child views, such as focus,
input, and accessibility. The purpose of this functionality is to
enable better animations when views have been removed, such that clients
can add them back into containers temporarily while an animation runs,
then remove them when the animation finishes. This functionality is similar,
albeit a subset, of the what ViewGroupOverlay provides, but this API
allows clients to interleave these views with the other children in
the container, which allows correct drawing order. ViewGroupOverlay,
and the older internal mechanism used by the old animation package,
draw all of their views after a container is drawn, which pops
these temporary views on top of the other children in the container.

Issue #18621099 Enable View overlay to respect elevation and shadows

Change-Id: I530df69b406aa27b9f551f5724384f4dd1215a6f
2015-04-17 00:30:21 +00:00
Eric Laurent
71a9cfc08c Merge "Adding explicit routing API to AudioTrack" 2015-04-17 00:30:03 +00:00
Andrew Lee
84a264004d Remove deprecated VideoCallListener methods.
These shouldn't be needed because the video call APIs were never
previously made public.

Bug: 20160491
Change-Id: Ic9c5d0d1e8618bfe61f8905d4afaeaa37f51c915
2015-04-16 17:07:12 -07:00
Santos Cordon
223a80d7c6 Merge "Unfinal getPhone." 2015-04-16 23:42:01 +00:00
Santos Cordon
29886d8571 Unfinal getPhone.
The change to make it final was breaking existing apps.

...and other changes.

Bug: 20283873
Change-Id: I8db4243850ad15f688dbca59ff5427b4799cbd1b
2015-04-16 16:12:20 -07:00
Wei Jia
402d7ca70c Merge "MediaSync: get original sample rate from audio track." 2015-04-16 22:39:47 +00:00
Wale Ogunwale
2c1d9652fa Merge "Return more information when getAppTasks#getTaskInfo is called." 2015-04-16 22:36:54 +00:00
Wale Ogunwale
6041cc1a07 Merge "Added attribute showForAllUsers that deprecates showOnLockScreen" 2015-04-16 22:35:35 +00:00
Alex Klyubin
1a02a53cf4 Merge "Unhide KeyStoreKeyProperties.Origin.UNKNOWN." 2015-04-16 22:31:31 +00:00
Wei Jia
ba5997e574 MediaSync: get original sample rate from audio track.
Bug: 19666434
Change-Id: I787b7b06fc5bbff038fb6d06b6f0b869d744ebb3
2015-04-16 15:30:51 -07:00
Alex Klyubin
ed7a218592 Unhide KeyStoreKeyProperties.Origin.UNKNOWN.
Bug: 18088752
Change-Id: Idaed45d7e84f5f3eb4f623552b60206c504e967a
2015-04-16 15:26:50 -07:00