Commit Graph

309172 Commits

Author SHA1 Message Date
Makoto Onuki
20b0af8099 Merge "Support protofied dumpsys for NetStats" 2017-01-18 21:30:20 +00:00
Adrian Roos
e18033cbb9 Notifications: Clear animation start visible type when not animating
Fixes an issue where the animation start visible type could
be stale if the animation was cancelled.

Bug: 30876804
Test: runtest systemui
Change-Id: I8e6ac6ba0bcd785f980b22529d83ba86da744f00
2017-01-18 13:21:02 -08:00
Android Build Merger (Role)
d45dd11045 Merge "Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev am: b8c8b67789 -s ours am: b6973a8c82 -s ours" into nyc-mr2-dev-plus-aosp 2017-01-18 21:15:57 +00:00
Android Build Merger (Role)
24ff5a0472 Merge "Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev am: b8c8b67789 -s ours am: f102bc4a2f -s ours" into nyc-mr2-dev-plus-aosp 2017-01-18 21:15:34 +00:00
Svet Ganov
5688955071 Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev am: b8c8b67789 -s ours
am: b6973a8c82  -s ours

Change-Id: I3d3bf6c25475a8fb773d6298ddf648d0bd2a5846
2017-01-18 21:15:03 +00:00
Svet Ganov
d415065f17 Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev am: b8c8b67789 -s ours
am: f102bc4a2f  -s ours

Change-Id: Icc0f74b69806d22e218fc221aadd37194f8aa994
2017-01-18 21:14:50 +00:00
Android Build Merger (Role)
ba182c0b0c Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g. am: 4a601f972a -s ours am: cf7b579868 -s ours" into nyc-mr2-dev-plus-aosp 2017-01-18 21:14:45 +00:00
Svet Ganov
f7426c4280 DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g. am: 4a601f972a -s ours
am: cf7b579868  -s ours

Change-Id: I1201d0f79dfb06868112dcbebd9dc637cd107871
2017-01-18 21:13:52 +00:00
Svet Ganov
e9838d9feb DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g. am: 4a601f972a -s ours
am: 79b20c88e2  -s ours

Change-Id: I065da31e12dd71dc2ab8b8304a73cba7271568d3
2017-01-18 21:13:48 +00:00
Svet Ganov
f102bc4a2f Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev
am: b8c8b67789  -s ours

Change-Id: Iae2e5a94b21db8f35a67466bc039966315c73f46
2017-01-18 21:04:24 +00:00
Svet Ganov
b6973a8c82 Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev
am: b8c8b67789  -s ours

Change-Id: I502a61cc0c1c6caaf18a7d0c03aa558541b3c17f
2017-01-18 21:04:21 +00:00
Svet Ganov
79b20c88e2 DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g.
am: 4a601f972a  -s ours

Change-Id: I8798244ed83cab82094aed1705d719cf5c2188e4
2017-01-18 21:04:21 +00:00
Svet Ganov
cf7b579868 DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g.
am: 4a601f972a  -s ours

Change-Id: Id66c49cfa6010ab327f46e85a6940bd52102eeea
2017-01-18 21:04:19 +00:00
TreeHugger Robot
b8c8b67789 Merge "DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g." into cw-f-dev 2017-01-18 20:57:11 +00:00
Manu Cornet
47dd7c51e9 2D Recents: use a different background color for drop targets
Bug: 32101881
Test: Checked layout and animations in Recents, on local sw600dp device.
Change-Id: I628bd0866691e5badd7a37c88020e1e10e1902f7
2017-01-18 12:54:03 -08:00
Michael Wright
35068079c8 Validate custom pointer icons aren't null.
Bug: 33853287
Test: cts
Change-Id: I844a9aec6e37e306a77eee0644a774f6470cf5df
(cherry picked from commit b004b5137e)
2017-01-18 20:48:44 +00:00
Pavlin Radoslavov
6878dd5dec Merge "Update/cleanup Bluetooth Codec strings in Developer Settings" am: 5fd543ec34 am: fd2f4bbcca
am: 14e9d1c33f

Change-Id: I243082e8553c97aa3b28d6e3e72e988136d305cc
2017-01-18 20:42:33 +00:00
Tamas Berghammer
c6e0e75534 Merge "DO NOT MERGE: Revert "Fix build"" into nyc-mr1-dev-plus-aosp
am: a553354e84

Change-Id: I7e969a4988bdc01f21f09137cfe2f8e692101a3c
2017-01-18 20:33:44 +00:00
Tamas Berghammer
d331d57dc6 Merge "DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"" into nyc-mr1-dev-plus-aosp
am: b4050d8042

Change-Id: I9d5789a9c4f12c12c5cc13eb8f92d3084a818440
2017-01-18 20:32:44 +00:00
Pavlin Radoslavov
14e9d1c33f Merge "Update/cleanup Bluetooth Codec strings in Developer Settings" am: 5fd543ec34
am: fd2f4bbcca

Change-Id: I3c253b5ee444f23fc81dc607dcc85e95b2aa3226
2017-01-18 20:30:44 +00:00
TreeHugger Robot
2582b80ae3 Merge "Fix tooltip handling for invisible and overlapping views" 2017-01-18 20:30:18 +00:00
TreeHugger Robot
b61c00e2bf Merge "Fix pointer icon handling for invisible and overlapping views" 2017-01-18 20:29:46 +00:00
TreeHugger Robot
9f22e1baa2 Merge "Tron metrics for special permissions" 2017-01-18 20:27:47 +00:00
Pavlin Radoslavov
fd2f4bbcca Merge "Update/cleanup Bluetooth Codec strings in Developer Settings"
am: 5fd543ec34

Change-Id: I69c8396f015dc926c135a0284a347c6d6d8ca870
2017-01-18 20:26:52 +00:00
TreeHugger Robot
db595b087a Merge "Protect use of onFindViewById for Fragment Transitions." 2017-01-18 20:26:20 +00:00
Tamas Berghammer
0a1a0e6e61 DO NOT MERGE: Revert "Fix build"
am: a0a908f5d6

Change-Id: I3ba66290b49fbe184eff424f5e70b8f32ed6fb3e
2017-01-18 20:23:54 +00:00
Tamas Berghammer
572dfccfc1 DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"
am: 24d8553316  -s ours

Change-Id: I09a58385e10e135af06dff346624dcbc9eb76a4f
2017-01-18 20:22:57 +00:00
Treehugger Robot
5fd543ec34 Merge "Update/cleanup Bluetooth Codec strings in Developer Settings" 2017-01-18 20:20:48 +00:00
Shane Brennan
472a3b330a Add support for audio-focused notifications.
Add extras keys and methos to Notification and RemoteInput for notifications
whose contents have an audio representation and whose RemoteInputs
can accept data results (useful for, e.g., voice messaging
applications, photo results, etc).

This motivator for this change is it enables an end-to-end flow for
audio messaging including
  * System receives the audio message
  * Replying to the message with the user's voice
  * App receives the audio reply data

Note that this CL just adds the capabilities, but does not
add any UI or implementation to perform the above flow.

Test: As agreed, this will be tested both with a set of unit tests,
      and with an "end-to-end" test that simulates two apps, one
      creating an audio message with audio reply action, and a
      second app that executes that action, providing an audio
      result.

Change-Id: I55779ac4b781d8273c13c69fded0b56ee639cf01
2017-01-18 12:15:16 -08:00
TreeHugger Robot
fcca000d47 Merge "Ensure correct install reason" 2017-01-18 20:12:50 +00:00
Jason Monk
e7beaf3efa resolve merge conflicts of 8cff199b09 to master
Change-Id: Ie61ca1bb88eadff30599c1776201482173479183
2017-01-18 15:09:42 -05:00
Tamas Berghammer
41ec732bb1 Merge "Update package names to work with the proto3 compiler" into nyc-mr1-dev-plus-aosp am: 3db5d42f90
am: 1a2a860d2c

Change-Id: I229a5c77a0dc5d75afc43669eb1d58d16f492844
2017-01-18 20:02:42 +00:00
Tamas Berghammer
a553354e84 Merge "DO NOT MERGE: Revert "Fix build"" into nyc-mr1-dev-plus-aosp 2017-01-18 19:59:59 +00:00
Tamas Berghammer
b4050d8042 Merge "DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"" into nyc-mr1-dev-plus-aosp 2017-01-18 19:59:59 +00:00
Tamas Berghammer
7df8cb66a7 Merge "Update package names to work with the proto3 compiler am: cbd3f0c59a -s ours" into nyc-mr2-dev-plus-aosp
am: 391ab8caaa

Change-Id: I204d0beaf83bfb0b841d08aba3eb0f0101bbfaf1
2017-01-18 19:58:06 +00:00
Tamas Berghammer
6c5acde1ff Update package names to work with the proto3 compiler am: cbd3f0c59a -s ours
am: 2c8d6c4c39

Change-Id: I092a61abba417a71fe1a8eb9d29016e74808feb2
2017-01-18 19:55:14 +00:00
Nick Vaccaro
6432bf7a4f Sensors: Add LOW_LATENCY_OFFBODY_DETECT sensor API
Test: none
Bug: 34234089
Change-Id: I2121e0e5132034254790ff6d4f9e3c65775a0ed2
2017-01-18 11:53:05 -08:00
TreeHugger Robot
10868fd79a Merge "Validate custom pointer icons aren't null." 2017-01-18 19:44:58 +00:00
Felipe Leme
02296d74d5 Fixed check for generated ids on onProvideStructureForAssistOrAutoFill().
BUG: 33197203
Test: CtsAutoFillServiceTestCases passes

Change-Id: I7dc45b2f68881e2a718b5d704ff4c3c3e5d9527b
2017-01-18 11:36:27 -08:00
Tamas Berghammer
a0a908f5d6 DO NOT MERGE: Revert "Fix build"
This reverts commit 005055c070.

Change-Id: Ia71d1e95de48bc1d83a4924041953a2d42ed6a93
2017-01-18 19:35:07 +00:00
Adrian Roos
64f13a56a4 Merge changes Ib6de3aa3,Idc46d1b2,I889e3864,I9a50ee57,I411f08ae, ...
* changes:
  AOD: Use heads-up state instead of buzzBeepBlinked
  AOD: Do not animate shelf icons when changing ambientness
  AOD: Show ambient versions of notifications
  AoD: Reposition shelf under clock
  AoD: Adjust shelf, only show top notification
  AoD: Adjust clock layout
2017-01-18 19:34:38 +00:00
Manu Cornet
45c8048f4f 2D Recents: to and from home, animate task views as a block
Bug: 32101881
Test: Checked animations to/from home on local sw600dp device
Change-Id: I74b8b02bb39be6d4e4553f7d74550ff177d47a5e
2017-01-18 11:33:59 -08:00
Tamas Berghammer
24d8553316 DO NOT MERGE: Revert "Update package names to work with the proto3 compiler"
This reverts commit cbd3f0c59a.

Change-Id: I6e8d193fa22e0e7e30b214c13ae0480d3c9b0dc6
2017-01-18 19:33:22 +00:00
Christopher Tate
21f778060b Enable background restrictions
Apps that target O+ are always subject to background restrictions.
Legacy apps' background restriction is subject to the OP_RUN_IN_BACKGROUND
app op.

Apps with these properties are exempted from background restrictions:
  - persistent process
  - currently on the idle battery whitelist
  - global whitelist for things like bluetooth services

Bug 30953212

Change-Id: Ib444829a2d222125f64ff19e8218823fa78373f9
2017-01-18 11:30:41 -08:00
Sudheer Shanka
d1d12d1149 Add new api Instrumentation.ActivityMonitor.onMatchIntent.
During testing, sometimes it's sufficient to know that intent is being
triggered and no need to actually launch the target activity as part of
the test. Currently, ActivityMonitor solves this problem but we have to
know all the intents that will be triggered during the test and provide
ActivityMonitors for each of them. So, this change adds a new api
ActivityMonitor.onMatchIntent which can be used for intercepting any
outgoing intents during tests.

Bug: 31810293
Test: cts-tradefed run singleCommand cts-dev --module CtsAppTestCases -t \
      android.app.cts.Instrumentation_ActivityMonitorTest
Change-Id: I46ba4b9a21da000492f9e7b242c01999ebc54423
2017-01-18 11:24:59 -08:00
Jeff Sharkey
36ba022316 Follow installd API changes.
Test: builds, boots, clearing strategy looks sane
Bug: 33965858
Change-Id: Ie5bbb71fb7a464999215c22e5a1fef0c07a620a4
2017-01-18 12:18:21 -07:00
Svet Ganov
4a601f972a DO NOT MERGE ANYWHERE Skip review permissions if package is installed with -g.
Bug: 34193954

Change-Id: Id744fd190ef78e498e635c2ab9936f12d0bbc917
(cherry picked from commit 6130fb741c)
2017-01-18 11:10:15 -08:00
Pavlin Radoslavov
0e038dec6f Update/cleanup Bluetooth Codec strings in Developer Settings
Misc. fixes and cleanup related to the Bluetooth Codec strings
in Developer Settings:

 * Update the codec name "aptX-HD" -> "aptX HD" to reflect the vendor
   defined writing:
   https://www.aptx.com/aptx-hd
 * Increase some of the "CHAR LIMIT" values for the purpose
   of translation to other languages
 * Update some of the text in the UI (for clarity)
 * Added new string: "Streaming: " that is used in the UI summary

Test: UI visual observation
Bug: b/34188102 b/34206536 b/34209576 b/34210861 b/34207126 b/34211204
Bug: b/34206992 b/34210910 b/34210162 b/34205434 b/34198432 b/34186749
Bug: b/34188141 b/34188657 b/34192932 b/34188655
Change-Id: I9dc609594864b5d29394c49e0bce64416706c81c
2017-01-18 19:03:44 +00:00
Rebecca Silberstein
aa9821bf32 SystemServer: reorder wifi services start
Start WifiService before other wifi-related services.
This is now possible since service dependencies were
removed from the WifiStateMachine constructor.

Bug: 34137732
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh
Test: manually tested wifi connection
Test: manually checked for Wifi Direct peers
Merged-In: Iad4eb7053e60542d0be72208db53cf0f83004ae2
Change-Id: I1e57bfac83708644df6f016808c5972d2d6136c6
2017-01-18 11:01:11 -08:00
Wei Liu
5f506939fa SystemServer: cherry-pick p2p service start
Cherry-pick change that only starts P2P service if p2p is supported for
the device.

Disable WiFi p2p service if it's not supported.

b/26877020

Bug:34193861
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: manually verified wifi connection
Test: manually checked for p2p peers

Change-Id: I84b822fa57423711de75d2147effe73a1fc40eb4
Merged-In: I84b822fa57423711de75d2147effe73a1fc40eb4
2017-01-18 11:01:10 -08:00