309070 Commits

Author SHA1 Message Date
Amin Shaikh
d3c8193093 Setting for RecommendedNetworkEvaluator cache TTL
Bug: 19948759
Bug: 33694078
Test: runtest frameworks-core
Change-Id: Ic1820dc3d70170e6b7c740696abf87d284c6e2ea
2017-02-27 17:03:10 -08:00
Chris Tate
fbe8553860 Merge "A little more logging for receiver reregistration" 2017-02-28 00:57:30 +00:00
Dianne Hackborn
68d7655558 Fix issue #34327404: AppOpsManager.stopWatchingMode(callback)...
...does not remove all references to callback

Keep the callbacks in a set, so each callback can only appear once.

Test: none currently, not sure how to do a CTS test for this.
(But verifying the system boots and runs.)

Change-Id: I01c8ea2a662e09ad0a0cdf713f0ea7f175182e82
2017-02-27 16:27:17 -08:00
Chad Brubaker
2f2053b939 Prevent packages besides android defining ephemeral permissions
Bug:34980926
Test: manual
Change-Id: I608bc746b4b212c02ba62433fbb3f8141b5e67e9
2017-02-27 16:26:27 -08:00
Chong Zhang
c1e701d03f MediaCas: move *.aidl files from frameworks/base to frameworks/av
PDK builds can't reference frameworks/base from frameworks/av.

bug: 22804304
Change-Id: Ibcda0b6a56e36233ad37c2d5d2b03d5c58674010
2017-02-27 16:09:23 -08:00
Jean-Michel Trivi
3db31acf93 Audio focus API with AudioAttributes and more options
Wrap all options of an audio focus request into a new
 class, AudioFocus request, and the corresponding
 methods in AudioManager to request and abandon focus
 with an AudioFocusRequest instance.
New options include handler for focus change listener,
 delayed focus, and option for specifying pause behavior
 on duckable transient loss of focus.

Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioFocusTest
Bug: 30258418

Change-Id: I99151270d0d9c59595db3f5c91480c7af2d1fd71
2017-02-27 15:55:57 -08:00
Alan Viverette
7485a9bbb3 Setting focusableInTouchMode clears FOCUSABLE_AUTO
Bug: 35726873
Test: View_FocusHandlingTest#testHasFocusable
Change-Id: I10ec94684846dc2280ba0bd7922d9304bf8a95db
2017-02-27 23:34:25 +00:00
Jeff Sharkey
32ce5be843 Merge "Consider disabled authorities for notifs." 2017-02-27 23:30:23 +00:00
Jeff Sharkey
2afae796de Treat Telephony as legacy app for now.
Telephony stack is relying on non-existant ContentProviders for
sending Uri change notifications; it'll eventually need to move over
to using real ContentProviders, but apply this band-aid for now.

Test: builds, boots, SMS send/receive works
Bug: 35792675
Change-Id: Ice66278f876f1c754852300da7eb045a7c778d14
2017-02-27 15:58:27 -07:00
TreeHugger Robot
a120091195 Merge "Fix PiP being out of bounds when launched into forced orientation" 2017-02-27 22:40:11 +00:00
Phil Weaver
2fe5752635 Merge "Document null labels for standard a11y actions" 2017-02-27 22:35:02 +00:00
TreeHugger Robot
c33b943f25 Merge "deprecate replayClips" 2017-02-27 22:22:16 +00:00
Alan Viverette
8a8e33dbb0 Merge "Always handle hover events if the View is already hovered" 2017-02-27 22:16:55 +00:00
Christopher Tate
58e1fd557e A little more logging for receiver reregistration
Bug 34983231
Test: n/a

Change-Id: I44d3c9f0b010dd3bfc66e58bcfa7730262dbfd89
2017-02-27 13:58:04 -08:00
Jeff Sharkey
2d0c0e35a6 Consider disabled authorities for notifs.
They're still valid providers, even when they're disabled.

Test: builds, boots, disabled authorities considered
Bug: 35791633
Change-Id: Ie1c40ae92a72b5b9f6869ea3dca19f2b74f80bae
2017-02-27 14:38:37 -07:00
Craig Donner
3027095761 Add private consumer and producer flags to AHardwareBuffer.
Bug: 34050596
Test: cts-tradefed run cts -m CtsNativeHardwareTestCases
New test cases cover the new functionality.

Change-Id: I9285e53b8e608778ec2f080cb5eda4596215224f
2017-02-27 13:37:32 -08:00
Brad Ebinger
eb422ead0c Merge "Adds read/modify permission checks to ImsService" am: 3e64003641 am: 175213e1ee
am: 055adc457a

Change-Id: I41289905222c0bc83fe1d6b075427b79afe9b0db
2017-02-27 21:34:30 +00:00
Brad Ebinger
055adc457a Merge "Adds read/modify permission checks to ImsService" am: 3e64003641
am: 175213e1ee

Change-Id: Ia55e5751b222e3e95780e16821e832f760b2d7c5
2017-02-27 21:30:19 +00:00
Brad Ebinger
175213e1ee Merge "Adds read/modify permission checks to ImsService"
am: 3e64003641

Change-Id: Ia4cb2c789a13658de86c0a36648a09e7abceb621
2017-02-27 21:26:50 +00:00
Brad Ebinger
3e64003641 Merge "Adds read/modify permission checks to ImsService" 2017-02-27 21:19:18 +00:00
Youhan Wang
d632305e37 Merge "Add Resource for TelephonyMonitor debug switch." 2017-02-27 21:14:53 +00:00
Dianne Hackborn
59774e209c Merge "Add new job scheduler constraints for "battery not low"." 2017-02-27 21:11:29 +00:00
Peng Xu
2e2c35febf Merge "Added implementation of shared memory NDK API" 2017-02-27 20:58:23 +00:00
TreeHugger Robot
321ea18167 Merge "media: Add more detail for the use of metadata track." 2017-02-27 20:40:17 +00:00
TreeHugger Robot
6ff8367dc2 Merge "AccessPoint - Add Builder; Add unit tests for compareTo()" 2017-02-27 20:39:36 +00:00
TreeHugger Robot
ffffb47569 Merge "Change internal intents from android.* to com.android.internal.*" 2017-02-27 20:34:21 +00:00
TreeHugger Robot
6087ea2b9d Merge "Provide some compatibility story for devs in the past" 2017-02-27 20:28:58 +00:00
TreeHugger Robot
bdaded344f Merge "Don't log privapp-permissions violations for updated apps" 2017-02-27 20:25:53 +00:00
TreeHugger Robot
1058a3dd95 Merge "Push chooser targets to the shortcut manager." 2017-02-27 20:24:57 +00:00
TreeHugger Robot
694986326b Merge "Added customization to SaveInfo." 2017-02-27 19:49:19 +00:00
TreeHugger Robot
06067a1fda Merge "media: Add new key for latency support" 2017-02-27 19:40:56 +00:00
Dongwon Kang
3bfdf8ddf7 TIF: make Channels.COLUMN_BROWSABLE visible
Test: cts-tradefed run cts -m CtsTvTestCases
Bug: 35249360
Change-Id: I16570f2432a4bf7b2b7c18edd3d2a461927453da
2017-02-27 11:34:28 -08:00
TreeHugger Robot
5d8caaafa6 Merge "Fix ShapeDrawable mutate, add clone() support to ArcShape, OvalShape" 2017-02-27 19:34:13 +00:00
Android Build Merger (Role)
419f1ed143 Merge "DO NOT MERGE: Add the option to skip the initial brightness ramp when the screen turns on. am: 106f1443c1 -s ours am: 8beca4cc6f am: 5792d09b3d -s ours" 2017-02-27 19:25:09 +00:00
Julius D'souza
6017bce8e3 DO NOT MERGE: Add the option to skip the initial brightness ramp when the screen turns on. am: 106f1443c1 -s ours am: 8beca4cc6f
am: 5792d09b3d  -s ours

Change-Id: I3528973859744f0decee45e2e108ad61f9e5558c
2017-02-27 19:24:19 +00:00
Jorim Jaggi
231f603027 Merge "Update paint filer when updating thumbnail" 2017-02-27 19:22:31 +00:00
Julius D'souza
5792d09b3d DO NOT MERGE: Add the option to skip the initial brightness ramp when the screen turns on. am: 106f1443c1 -s ours
am: 8beca4cc6f

Change-Id: I798681141b035eb3f29ab4824f2807cdb21010d9
2017-02-27 19:18:11 +00:00
Julius D'souza
8beca4cc6f DO NOT MERGE: Add the option to skip the initial brightness ramp when the screen turns on.
am: 106f1443c1  -s ours

Change-Id: I8541342d3466e4e1d686b3faa890830edadba940
2017-02-27 19:14:07 +00:00
Dianne Hackborn
a06ec6a943 Add new job scheduler constraints for "battery not low".
Clean up the implementation of boolean constraints so that
they are in a single flags value that gets propagated all of
the way from JobInfo.Builder in to the JobStatus.  Much simpler
and easier to add new constraints!

Also introduce some shell commands to make it easier to write
tests against the job scheduler (and other things tied to power).
One of the big things here is that there is a new sequence number
that propagates with battery updates, which we can look for in
the job scheduler to determine when a change the test has made
to battery state has actually gotten applied, to allow it to
safely and minimally wait until executing the condition being
tested.

Test: New BatteryConstraintTest suite added.

Change-Id: I11076d90b80ec25ee604c29b6a6dc2337fd867ce
2017-02-27 10:54:06 -08:00
Etan Cohen
fbad632f12 Merge "[AWARE] Remove (hide) sendMessage with retryCount API" am: f81911bcd2 am: 97bf0f5e9b
am: 07864e35c8

Change-Id: Ic53ad1fed518057d75a59fd7d91dd7f4882700ce
2017-02-27 18:51:46 +00:00
Yifan Hong
04dbcae4c4 Merge "Vr HAL uses "default" service name" 2017-02-27 18:46:26 +00:00
Etan Cohen
07864e35c8 Merge "[AWARE] Remove (hide) sendMessage with retryCount API" am: f81911bcd2
am: 97bf0f5e9b

Change-Id: Ib62285494ffee7a4c35bc3583417e0cacc0d5d83
2017-02-27 18:46:11 +00:00
Etan Cohen
97bf0f5e9b Merge "[AWARE] Remove (hide) sendMessage with retryCount API"
am: f81911bcd2

Change-Id: I3791ee5fbd0c16de6156b0ad36e50091eea498f9
2017-02-27 18:42:05 +00:00
TreeHugger Robot
ff8351a311 Merge "don't call settings provider with pkg mgr lock" 2017-02-27 18:38:14 +00:00
Makoto Onuki
9687767d75 Merge "Allow querying providers with a specific metadata." 2017-02-27 18:35:20 +00:00
Etan Cohen
f81911bcd2 Merge "[AWARE] Remove (hide) sendMessage with retryCount API" 2017-02-27 18:33:35 +00:00
Hangyu Kuang
2563ddcca4 media: Add more detail for the use of metadata track.
Test: None as just documentation.
Bug: 28536560
Change-Id: Ie9a765b02fb304b16146c314eeb89758b9cd4a4d
2017-02-27 10:28:16 -08:00
TreeHugger Robot
2a434d17b1 Merge "Remove tint from network logging icon" 2017-02-27 18:24:10 +00:00
Hakan Seyalioglu
5dbc819076 Fix crash in onRestoreInstanceState
bug: 34973084
Test: Manually verified crash stops

Change-Id: Ic28f98bc422d12f0db5c5921e89008eb2da1862d
2017-02-27 10:17:24 -08:00
Felipe Leme
b72f012cb4 Added customization to SaveInfo.
Bug: 35727295
Test: CtsAutoFillServiceTestCases pass
Test: m update-api

Change-Id: I7eba36b6ab8181ae1cdbd10b0879927b9f9cf086
2017-02-27 10:14:41 -08:00