6694 Commits

Author SHA1 Message Date
Dianne Hackborn
e76f7f7824 am 77b987f1: Hold a wake lock while dispatching network activity events.
* commit '77b987f1a1bb6028a871de01065b94c4cfff0b5c':
  Hold a wake lock while dispatching network activity events.
2014-02-28 17:13:31 -08:00
Dianne Hackborn
77b987f1a1 Hold a wake lock while dispatching network activity events.
Also add new API for determining whether the current data network
is active, and thus better scheduling network operations.  This
API is designed to not be tied to a mobile network -- regardless
of the network, apps can use it to determine whether they should
initiate activity or wait.  On non-mobile networks, it simply always
reports as the network being active.

This changed involved reworking how the idle timers are done so
that we only register an idle timer with the current default
network.  This way, we can know whether we currently expect to
get callbacks about the network being active, or should just always
report that it is active.  (Ultimately we need to be getting this
radio active data from the radio itself.)

Change-Id: Iaf6cc91a960d7542a70b72f87a7db26d12c4ea8e
2014-02-28 15:19:39 -08:00
Narayan Kamath
c1629efd4c am ef238651: Merge "API changes for 64 bit platforms."
* commit 'ef23865154bf5e6c1768023dd69845353cf8c543':
  API changes for 64 bit platforms.
2014-02-28 05:27:19 -08:00
Narayan Kamath
ef23865154 Merge "API changes for 64 bit platforms." 2014-02-28 13:21:22 +00:00
Mike Lockwood
864082d541 am 17c402d6: Merge "Add support for USB devices with multiple configurations and alternate interfaces"
* commit '17c402d6940a0778f138d2b922f4c4c081f9d09d':
  Add support for USB devices with multiple configurations and alternate interfaces
2014-02-27 10:06:49 -08:00
Mike Lockwood
7531aa2235 Add support for USB devices with multiple configurations and alternate interfaces
Added UsbConfiguration class, as well as accessors to UsbDevice to get configuration list
Added methods to UsbDeviceConnection to select configurations and alternate interfaces.

Also added accessors for USB descriptor name strings and fixed some memory leaks in the JNI code.

Bug: 12425052
Change-Id: Idb990f4d5c054a8cb997eb3f440f6da9f83bce05
2014-02-27 09:59:02 -08:00
George Mount
66fb0fe654 am 94b5ca81: Merge "Change Activity Scene Transitions to be more automatic redo."
* commit '94b5ca811e5716bddb4a4d86df35c29bb9165e5f':
  Change Activity Scene Transitions to be more automatic redo.
2014-02-27 07:20:17 -08:00
George Mount
94b5ca811e Merge "Change Activity Scene Transitions to be more automatic redo." 2014-02-27 15:15:06 +00:00
Narayan Kamath
1801b180da API changes for 64 bit platforms.
EGLObjectHandle.<init>(int) and int EGLObjectHandle.getHandle()
have now been deprecated and replaced with variants that take
and return java longs.

bug: 13181704
Change-Id: I67bef5fbf064e85205b8a85e00f91f4ffcf60d19
2014-02-27 14:17:48 +00:00
Alan Viverette
d8362cf259 am 813d85b8: Fix progress bar tinting, add tint support to ShapeDrawable
* commit '813d85b82cb7cbaa5dbe05496d1038caa17a1698':
  Fix progress bar tinting, add tint support to ShapeDrawable
2014-02-26 15:46:22 -08:00
Alan Viverette
813d85b82c Fix progress bar tinting, add tint support to ShapeDrawable
Cleans up APIs a little, since I think we may want to add tinting
modes beyond what Porter-Duff can provide. Plus we don't actually
support some of the Porter-Duff modes in hardware.

Change-Id: I2cea1b737cc93607a24842c54eb9f0d8346b29d4
2014-02-26 15:38:51 -08:00
George Mount
e180337ee9 Change Activity Scene Transitions to be more automatic redo.
This reverts commit 206e30cd93afe3eb72ec94178324417db5424ed2
along with removing the additional startActivity* methods
and replaces them with ActivityOptions makeSceneTransitionAnimation
methods.

Change-Id: I52bec31ae3c4cea6d549810ae5a7acd8aea176d8
2014-02-26 15:30:22 -08:00
Felipe Leme
e6269e6c7e am 9d1ae3b8: Merge "Added support for WiFi frequency on WifiInfo (getter, settter, and frequency constant). Bug: 12767819"
* commit '9d1ae3b87cdb77781f21e880c7bcb3ad32f7a906':
  Added support for WiFi frequency on WifiInfo (getter, settter, and frequency constant). Bug: 12767819
2014-02-26 11:25:48 -08:00
Felipe Leme
9d1ae3b87c Merge "Added support for WiFi frequency on WifiInfo (getter, settter, and frequency constant). Bug: 12767819" 2014-02-26 19:22:52 +00:00
RoboErik
e4f0fe586f resolved conflicts for merge of 8fb4cf1e to master-nova
Change-Id: I61a6fc192b0c2099af9bebdf8e9d8bbfaa4243a3
2014-02-26 10:37:45 -08:00
RoboErik
8fb4cf1ef4 Merge "Move Session apis to android.media.session" 2014-02-26 18:13:35 +00:00
George Mount
ea8b291bb6 am 206e30cd: Revert "Change Activity Scene Transitions to be more automatic."
* commit '206e30cd93afe3eb72ec94178324417db5424ed2':
  Revert "Change Activity Scene Transitions to be more automatic."
2014-02-26 09:11:18 -08:00
George Mount
206e30cd93 Revert "Change Activity Scene Transitions to be more automatic."
This reverts commit f10587faadb9080a7bf9991cbe04bac5525da482.

Change-Id: I2785a3d2d6b667cad6d61dcbbc1c624161735fa4
2014-02-26 08:56:30 -08:00
Amith Yamasani
2f0326b641 am 8fcd3248: Regen current.txt to fix incorrect id for requiredForProfile
* commit '8fcd324894e22bb6606c9f229d40707f555cb312':
  Regen current.txt to fix incorrect id for requiredForProfile
2014-02-25 17:04:47 -08:00
Amith Yamasani
8fcd324894 Regen current.txt to fix incorrect id for requiredForProfile
Change-Id: I9b3cf326070bffd78e3e30519495b062c81b3d52
2014-02-25 16:54:10 -08:00
RoboErik
2f5b057da7 Move Session apis to android.media.session
This is to make it easier to distinguish the new apis from the old
ones.

Change-Id: Ic5eaf65e8bd054a844f87b9118c4bb18f30ac8a7
2014-02-25 16:01:55 -08:00
George Mount
e81ad124f7 am 121e25dc: Merge "Change Activity Scene Transitions to be more automatic."
* commit '121e25dcf0d4da5c1c97fad2bd27dbd361db4153':
  Change Activity Scene Transitions to be more automatic.
2014-02-25 15:49:57 -08:00
George Mount
121e25dcf0 Merge "Change Activity Scene Transitions to be more automatic." 2014-02-25 23:47:57 +00:00
Craig Mautner
dcb655297d am 24bcc34f: am 97686e00: am 91df7766: am 42ec5035: Modify API to hide ActivityView.
* commit '24bcc34f78c0fa95a6b2feb1c06168d13f43ff1c':
  Modify API to hide ActivityView.
2014-02-25 12:31:43 -08:00
Craig Mautner
24bcc34f78 am 97686e00: am 91df7766: am 42ec5035: Modify API to hide ActivityView.
* commit '97686e00233f6475bd4a5a48bc718fcf88bbf688':
  Modify API to hide ActivityView.
2014-02-25 20:29:33 +00:00
Craig Mautner
91df776654 am 42ec5035: Modify API to hide ActivityView.
* commit '42ec5035672fbfe701ddbf90dcc4390dab9188af':
  Modify API to hide ActivityView.
2014-02-25 20:22:28 +00:00
Craig Mautner
42ec503567 Modify API to hide ActivityView.
Fixes build too.

Change-Id: Ibd571cf36c89691a37c45db59c31237fee17adac
2014-02-25 12:17:15 -08:00
George Mount
f10587faad Change Activity Scene Transitions to be more automatic.
Shared element transitions are enabled by default
when the Window has a TransitionManager.

Shared element location and size are captured and
transferred to the target Activity.

ActionBar is treated as a shared element.

Change-Id: I0f22ea4e5cbe80254e848444e3f235cb742684f4
2014-02-25 11:12:16 -08:00
Martijn Coenen
b11b25f3a0 am c1970190: Merge "Add an API to manually invoke Android Beam."
* commit 'c1970190549519acde6719c777f53611674058cb':
  Add an API to manually invoke Android Beam.
2014-02-25 10:46:04 -08:00
Martijn Coenen
c197019054 Merge "Add an API to manually invoke Android Beam." 2014-02-25 18:43:37 +00:00
Nicolas Prevot
be3f79196c am 1f638106: Merge "Adding the requiredForProfile flag."
* commit '1f63810638a54ebfe963a20deb7698236e9855ab':
  Adding the requiredForProfile flag.
2014-02-25 02:37:28 -08:00
Santos Cordon
4580075270 Merge "Adding API support for incoming calls." into master-nova 2014-02-25 00:10:09 +00:00
Santos Cordon
b340c331bc Adding API support for incoming calls.
Change-Id: I7b1530d13e5adac530c4f451aa2cd97f275f9cae
2014-02-24 16:02:59 -08:00
Nicolas Prevot
531270a4a1 Adding the requiredForProfile flag.
Enabling to use requiredForProfile in application manifests
It determines which applications will be installed for managed profiles
and for restricted profiles

Change-Id: I14b4de2c9f41c2bbf5cd9fd0ca6caf5ce2d04131
2014-02-24 18:03:14 +00:00
Sander Alewijnse
a9486a8490 am 627de959: Merge "Enables a profile owner or device owner to set and clear default intent handler activities."
* commit '627de95925b58e7602374a66ceba76200592ec11':
  Enables a profile owner or device owner to set and clear default intent handler activities.
2014-02-24 06:03:39 -08:00
Sander Alewijnse
627de95925 Merge "Enables a profile owner or device owner to set and clear default intent handler activities." 2014-02-24 10:16:28 +00:00
Alan Viverette
3878d4fbce am 12b97f5d: Change colorFilterColor to tint, allow use of ColorStateList
* commit '12b97f5d2b15194ed6673c9838b13c8312157709':
  Change colorFilterColor to tint, allow use of ColorStateList
2014-02-23 18:54:47 -08:00
Alan Viverette
12b97f5d2b Change colorFilterColor to tint, allow use of ColorStateList
BUG: 13149901
Change-Id: I6487bec372cb74db53d7bbdfa35de071764763b0
2014-02-23 18:32:20 -08:00
Hui Shu
06d37f716f Add removeApi commandline option for doclava and an empty removed.txt
BUG: b/11293324
Change-Id: Ief41ae23f3d6364260ce34ee9f3211130a6a83d7
2014-02-21 17:24:03 -08:00
Guang Zhu
fefe41a799 am c8124a1e: Merge "add new accessibility action for EditText to set text content"
* commit 'c8124a1e7905a20e221a40546d4cf42b2aaaff45':
  add new accessibility action for EditText to set text content
2014-02-21 14:31:41 -08:00
Guang Zhu
c8124a1e79 Merge "add new accessibility action for EditText to set text content" 2014-02-21 22:28:22 +00:00
Santos Cordon
1fe964d11e Renaming intent to INCOMING_CALL.
Change-Id: I90ac30be5d8503f100deedf44f8d3bd18de3fa83
2014-02-21 12:41:33 -08:00
Ruben Brunk
77a25c9d48 am 9b30512e: camera3: Fix raw/DNG tag visibilility.
* commit '9b30512e59c96efe9d77f52b35cac0fa1f1edb96':
  camera3: Fix raw/DNG tag visibilility.
2014-02-21 10:35:44 -08:00
Ruben Brunk
9e939998e7 am 8eb91e9f: Merge "camera3: Add green split property."
* commit '8eb91e9f281f876322a25c78f776ea74791eaf1c':
  camera3: Add green split property.
2014-02-21 10:35:41 -08:00
Ruben Brunk
9b30512e59 camera3: Fix raw/DNG tag visibilility.
Change-Id: Ie3beed773b27bf56689a750e695ac7cb82580639
2014-02-21 10:25:26 -08:00
Ruben Brunk
8eb91e9f28 Merge "camera3: Add green split property." 2014-02-21 18:07:05 +00:00
Evan Charlton
cad4b97356 Update API
Forgot to run update-api after 64a44a876b08f4a49238becb90bf1788b840a103

Change-Id: Id9e623b7acadb7b2d8fe5c805cf828f21833f7b9
2014-02-21 09:58:18 -08:00
Sander Alewijnse
f475ca33d9 Enables a profile owner or device owner to set and clear default intent handler activities.
Those intent handlers are persistent preferences. They will remain the default intent
handler even if the set of potential event handlers for the intent filter changes
and if the intent preferences are reset.

Change-Id: Id0cfae46f93c10d89e441f272096a205ec518dd0
2014-02-21 15:24:20 +00:00
Narayan Kamath
53d2f85337 am 5c799493: Merge "Make LruCache.resize(int) public"
* commit '5c79949324066adc536ba563736f8f1f688fef02':
  Make LruCache.resize(int) public
2014-02-21 05:29:41 -08:00
Narayan Kamath
5c79949324 Merge "Make LruCache.resize(int) public" 2014-02-21 12:36:20 +00:00