Commit Graph

66907 Commits

Author SHA1 Message Date
TreeHugger Robot
07072e1c9f Merge "Add an API hint for metered multipath traffic." 2017-02-01 09:54:21 +00:00
TreeHugger Robot
97fe63bb53 Merge "Revert "Push mapping from file extension to GID."" 2017-02-01 08:56:55 +00:00
TreeHugger Robot
9f864522af Merge "Camera2: Check for valid GPS timestamp before usage" 2017-02-01 08:18:07 +00:00
Lorenzo Colitti
2de4925f5c Add an API hint for metered multipath traffic.
This allows an application that knows how to provide seamless
network connectivity (e.g., using QUIC multipath) to find out if
doing so is desired.

Test: builds, boots, runtest frameworks-net passes.
Bug: 34630278
Change-Id: Ic7fd0b9e1cd879fdfaf84009d7125391895e9087
2017-02-01 17:02:29 +09:00
Doris Liu
741ec3ed1d Merge "Make sure start() is called for custom animators" 2017-02-01 04:33:29 +00:00
TreeHugger Robot
3265821c70 Merge "Revert "Revert "Remove getAppsUsingPermisisons""" 2017-02-01 02:57:22 +00:00
Phil Weaver
7da087d87d Merge "Accessibility can capture fingerprint gestures" 2017-02-01 02:01:44 +00:00
Jeremy Joslin
94ea572773 Merge "Post runnables instead of sending messages." am: 71317f4a6c am: 71a4792147 am: 31669e8924
am: 28f9de475f

Change-Id: I6f2774e0efd7cfcabb49db25614bac99bfdb1b30
2017-02-01 01:53:28 +00:00
Doris Liu
5c71b8cc4a Make sure start() is called for custom animators
BUG: 34758281
Test: ag/1848837

Change-Id: Iae5d2fb41c4556ee201b9c4dfbc356996dc475a5
2017-01-31 17:52:54 -08:00
Jeremy Joslin
28f9de475f Merge "Post runnables instead of sending messages." am: 71317f4a6c am: 71a4792147
am: 31669e8924

Change-Id: Ia7937ea6d29924e1b717430e8330d81e3f7ee9e3
2017-02-01 01:48:05 +00:00
Jeremy Joslin
31669e8924 Merge "Post runnables instead of sending messages." am: 71317f4a6c
am: 71a4792147

Change-Id: Idff8f071f316942e8b520c913e96d3eb8b44227d
2017-02-01 01:40:58 +00:00
Jeremy Joslin
71a4792147 Merge "Post runnables instead of sending messages."
am: 71317f4a6c

Change-Id: I13cb1fd38262f869b99245678c89f45b834210c8
2017-02-01 01:34:16 +00:00
TreeHugger Robot
32a344cf8f Merge "Fragment grab bag!" 2017-02-01 01:32:34 +00:00
Treehugger Robot
71317f4a6c Merge "Post runnables instead of sending messages." 2017-02-01 01:26:05 +00:00
TreeHugger Robot
2a382d3ef3 Merge "Camera: Fix the document on createCaptureSession error" 2017-02-01 01:21:53 +00:00
Makoto Onuki
465099ce2d Merge "API change for: Revive CONTACTS_DATABASE_CREATED, and..." 2017-02-01 01:04:07 +00:00
vinodkrishnan
495d891198 Revert "Revert "Remove getAppsUsingPermisisons""
This reverts commit a69c99fbc7.

Change-Id: I524a56ae3cd0d1a9dbd0e54fd7e57f09ed0b87f9
2017-01-31 16:59:46 -08:00
Shuzhen Wang
f02913c4ea Camera: Fix the document on createCaptureSession error
When createCaptureSessionByOutputConfigurations fails, it doesn't throw
an exception. Instead, onConfigureFailed will be called.

Test: Compiles
Bug: 33777818
Change-Id: Ia0e139265bee0eda2118f903a6b46358a14c672c
2017-01-31 15:39:17 -08:00
Andreas Huber
de17a63da6 Merge "Revert "Remove getAppsUsingPermisisons"" 2017-01-31 23:30:16 +00:00
TreeHugger Robot
5594ab958a Merge "Propagate surface type and owner through to SurfaceFlinger." 2017-01-31 23:22:12 +00:00
vinodkrishnan
a69c99fbc7 Revert "Remove getAppsUsingPermisisons"
This reverts commit dfcf4fc29a.

Change-Id: Id08db7999158c76dc39f0908722ea8f5a6b21257
2017-01-31 23:00:45 +00:00
Adam Powell
adfd62c484 Fragment grab bag!
* Fragment#isStateSaved: report whether a given fragment has been
  through state save within its given FragmentManager. This will
  additionally echo the state of its child FragmentManager, indicating
  whether it is safe to perform transactions without losing state.

* Fragment#setArguments can now be called at any time before a
  fragment's state is saved, not just before an internal index is
  assigned. This fixes an issue with assigning arguments during
  fragment inflation in some code paths.

* FragmentTransaction#postOnCommit: Add a Runnable to a
  FragmentTransaction that will be executed once the operations in the
  transaction have been fully executed. Transaction optimization may
  mean that other transaction ops could run before this is executed,
  or that specific operations from this transaction were optimized
  out. (e.g. a fragment in this transaction was added, but then
  removed in a subsequent transaction before pending operations were
  executed.) This may not be used for transactions added to the back
  stack, as we cannot persist the runnable for later to guarantee
  running it when the transaction is reversed.

Test: CTS
Change-Id: I4eb90588135e30f287c6487aa62ebda231f3dad3
2017-01-31 14:58:17 -08:00
vinodkrishnan
9cfde54af0 Merge "Remove getAppsUsingPermisisons" 2017-01-31 22:30:56 +00:00
Phil Weaver
27fcd9c97a Accessibility can capture fingerprint gestures
Bug: 27148522
Test: Unit tests for two new classes in this CL, CTS in
linked CL.
Change-Id: Icb5113e00b1f8724814263b3cc7f72fe4a6f0b41
2017-01-31 14:27:09 -08:00
TreeHugger Robot
7b552516ae Merge "Implicitly cast views obtained via View.findView methods" 2017-01-31 22:04:25 +00:00
Chris Tate
b6cae3ceef Merge "Make sure MASTER_CLEAR_NOTIFICATION goes to manifest receivers" 2017-01-31 21:31:43 +00:00
Tao Bai
1275a924ed Merge "WebView: Revise the behavior of crash handle API" 2017-01-31 20:55:17 +00:00
Christopher Tate
2d6c945b03 Make sure MASTER_CLEAR_NOTIFICATION goes to manifest receivers
It sometimes needs to launch OEM-supplied apps for processing, so make sure
it continues to do so.

Bug 34587823
Test: verified dispatch via logcat/dumpsys

Change-Id: Ic80e06582116cdd629492ed01a9b05b0e1b3822e
2017-01-31 20:52:39 +00:00
Julia Reynolds
b01cac7c53 Merge "Remove unneeded parameters" 2017-01-31 20:46:16 +00:00
Siyamed Sinir
db38a9ba71 Merge "Don't copy NoCopySpans in SpannableStringInternal" 2017-01-31 19:54:38 +00:00
Jeremy Joslin
c695a17421 Post runnables instead of sending messages.
Gaining access to a Handler's Looper can be problematic in custom
Handler implementations. Instead of creating a new internal Handler
to dispatch the method calls on we simply post Runnables to the
given Handler.

Test: adb shell am instrument -e class android.net.NetworkRecommendationProviderTest -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Bug: 34845471
Change-Id: I6fe380a92aebd630781abe5853f94737bcfeaa5f
2017-01-31 11:51:25 -08:00
Pavlin Radoslavov
45250aca6d Merge "Update the A2DP Codec Config API" am: ccd60f7cbe am: f0096fb868 am: 91707989c4
am: 1ef3c9888e

Change-Id: If69bfe9839a35dc141d741695a217fa4805d46cc
2017-01-31 19:25:11 +00:00
Pavlin Radoslavov
1ef3c9888e Merge "Update the A2DP Codec Config API" am: ccd60f7cbe am: f0096fb868
am: 91707989c4

Change-Id: I0d58681de89b82ffdce57d3381cd2397b9ade3e7
2017-01-31 19:18:27 +00:00
Pavlin Radoslavov
91707989c4 Merge "Update the A2DP Codec Config API" am: ccd60f7cbe
am: f0096fb868

Change-Id: Ibc7d4b500adc4451978f366557b93dc6b6d3da63
2017-01-31 19:13:05 +00:00
Pavlin Radoslavov
f0096fb868 Merge "Update the A2DP Codec Config API"
am: ccd60f7cbe

Change-Id: Idc54b85eb096ec0116395332c7bc0b543a59a7d5
2017-01-31 19:07:58 +00:00
Tao Bai
dd264f69ed WebView: Revise the behavior of crash handle API
To make backward compatible, kills application when render process
is killed by system.

Bug: 30824898
Test: No test, this is document revision.
Change-Id: I12862ee9ed1986ec274fe627782542e8d8414856
2017-01-31 11:02:08 -08:00
Pavlin Radoslavov
b37f181c98 Update the A2DP Codec Config API
Previously, the JNI upcall would contain only the current codec config.
In the new API, the upcall contains:
 1. The current codec config
 2. The list of codecs containing the local codecs capabilities
 3. The list of codecs containing the selectable codecs capabilities.
    This list is the intersection of the local codecs capabilities
    and the capabilities of the paired device.

Also, refactored the Java internals to accomodate the extra information:
 * Added new class BluetoothCodecStatus that contains the extra info:
   current codec config, local codecs capabilities and selectable
   codecs capabilities
 * Renamed method getCodecConfig() to getCodecStatus() and return the
   corresponding BluetoothCodecStatus object.
 * Updates to class BluetoothCodecConfig:
   new methods isValid(), getCodecName(), and updated toString()
   so it is more user friendly
 * Removed BluetoothCodecConfig.EXTRA_CODEC_CONFIG and
   EXTRA_PREVIOUS_CODEC_CONFIG.
   The former is superseded by BluetoothCodecStatus.EXTRA_CODEC_STATUS;
   the latter is not really used.

Test: A2DP streaming with headsets and switching the codecs
Change-Id: Ia1af2c22e521e863e28a360610aca49f7e62d31b
2017-01-31 18:58:27 +00:00
TreeHugger Robot
53ff0bdfb9 Merge "Primary navigation fragments" 2017-01-31 18:40:43 +00:00
Chris Craik
b27aba9a92 Merge "Replace invalidateChild/invalidateChildInParent" 2017-01-31 18:23:22 +00:00
TreeHugger Robot
a941cbc59a Merge "Add a home intent category for VR headset UI mode." 2017-01-31 18:15:05 +00:00
TreeHugger Robot
a06155011e Merge "Fix crash in TextView getFont" 2017-01-31 17:56:10 +00:00
William Mee
9deb6b5a3a Merge "Added a new wifi_badging_thresholds setting to Settings.Global" 2017-01-31 16:54:48 +00:00
Julia Reynolds
ceecfcf5cc Remove unneeded parameters
Test: cts-verifier
Change-Id: Ifaddd71aa44898c7c16f28f1715fd035861e3be6
2017-01-31 10:51:10 -05:00
Emilian Peev
d008479920 Camera2: Check for valid GPS timestamp before usage
CaptureResult.JPEG_GPS_TIMESTAMP' queries can
 return null Long objects. The conversion to
 seconds should happen only in cases where we have
 non-null objects.

BUG: 34835263
Change-Id: I1251fad55b2a671928839725123adedfb12fe53a
2017-01-31 15:29:20 +00:00
Yura
e2896febe4 Merge "Fix for endless loop in RelativeLayout." 2017-01-31 15:18:13 +00:00
Clara Bayarri
060332400d Fix crash in TextView getFont
The wrong TypedArray was being used to retrieve the value.

Bug: 34818260
Test: run cts -m CtsWidgetTestCases -t
android.widget.cts.TextViewTest#testFontResources_setInXmlStyle

Change-Id: I09334710b9b21f1397bc02d92d14b41fbc96178f
2017-01-31 12:15:50 +00:00
Jeff Sharkey
1009c08f8e Revert "Push mapping from file extension to GID."
This reverts commit f17e4cf1f9.
2017-01-31 01:09:14 -07:00
TreeHugger Robot
cf45c85297 Merge "Introduce set/getFontVariationSettings." 2017-01-31 05:46:27 +00:00
TreeHugger Robot
c869ebff63 Merge "Add instant cookie APIs" 2017-01-31 03:17:49 +00:00
TreeHugger Robot
541af7f696 Merge "Add new api ClipDescription.getTimestamp." 2017-01-31 02:54:38 +00:00