197732 Commits

Author SHA1 Message Date
Felipe Leme
d9ab0ca287 am 68fd7c79: Merge "Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created." into mnc-dev
* commit '68fd7c798d213bbe304775b13d775ee868abb448':
  Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created.
2015-07-15 22:26:47 +00:00
Dianne Hackborn
4a56983fa7 am d193916c: Merge "Fix build." into mnc-dev
* commit 'd193916c83015d54466ad998fb9373f15da754a7':
  Fix build.
2015-07-15 22:26:42 +00:00
Jeff Brown
0cb1cfdcc3 am 76c4c666: Add USB port manager.
* commit '76c4c6668a1486bc003ab0c585bb1f41d16e27a7':
  Add USB port manager.
2015-07-15 22:26:38 +00:00
Jeff Brown
b3c1180538 am 2dbccc19: Clean up USB Manager dump.
* commit '2dbccc1926ea2d3e27c5cfd2d61d2b3d5ed787c0':
  Clean up USB Manager dump.
2015-07-15 22:26:34 +00:00
Miao Wang
ad904cf342 Merge "fix BNNM docs" into mnc-dev 2015-07-15 22:21:13 +00:00
Svet Ganov
75f6b94a5d Merge "Grant default permissions to the setup app robustly." into mnc-dev 2015-07-15 21:58:50 +00:00
Geoff Mendal
78b6e6c742 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:56:27 +00:00
Adrian Roos
3a931d028a Merge "Show correct locked orientation on phones" into mnc-dev 2015-07-15 21:56:27 +00:00
Geoff Mendal
4155d9f377 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:56:05 +00:00
Geoff Mendal
197e738157 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:54:09 +00:00
Christopher Tate
7991f7813e Resolve based on the correct user's default browser
Bug 22509659

Change-Id: Iac75e7b40609bf2c81d266e0568fbfbeb71bb3aa
2015-07-15 14:52:29 -07:00
Geoff Mendal
6e149a2537 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:51:04 +00:00
Geoff Mendal
a5516e80ad Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:48:35 +00:00
Geoff Mendal
ff994bd31b Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:47:14 +00:00
Svet Ganov
50a8bf4da0 Grant default permissions to the setup app robustly.
There is a zoo of components that handle the home intent and
have different priority. There is no reliable way to distinguish
the setup app from the other apps that handle home as some of
them have lower priority than the setup app and some higher.
This change adds a dedicated category to recognize the default
setup app.

Uncommented the code that grants accounts permissions as the
get_accounts permission is now a runtime permission and can be
granted.

bug:22471024
bug:22501463

Change-Id: I41726751fa2567cbcd7d09c7acfa7615b8aba577
2015-07-15 14:46:23 -07:00
Geoff Mendal
36c103d685 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:44:12 +00:00
Jeff Sharkey
6819696c0e am 539f7ac7: Merge "Give DCS permission needed to measure all users." into mnc-dev
* commit '539f7ac7a195c405987057ef34e88cfbe8eab5e8':
  Give DCS permission needed to measure all users.
2015-07-15 21:43:55 +00:00
Jeff Sharkey
350b99c002 am 483bd842: Merge "Only send EXTRA_STACK for private intent." into mnc-dev
* commit '483bd84280ef667e306ec7246d85423ca6b1fde7':
  Only send EXTRA_STACK for private intent.
2015-07-15 21:43:48 +00:00
Geoff Mendal
e2a0d44c8a Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:41:17 +00:00
Adrian Roos
14e6ba833e Fix wrong tint mode on airplane and vpn icons
Bug: 22399062
Change-Id: If7d0e6d4d2ace947672f9a943bb274f07736ddb0
2015-07-15 21:40:12 +00:00
Jim Miller
c7b0435cc7 resolved conflicts for merge of 1d4247c4 to mnc-dr-dev
Change-Id: I057c529dcd5d48e0dcf256a9d096c5d8b815892a
2015-07-15 14:33:10 -07:00
Dianne Hackborn
1de1186d28 Implement issue #22403908: Enable assistant to refuse context sharing
New APIs allow the voice interaction service to set/retrieve a filter
for which of the show flags are allowed.

Change-Id: I588cbe55afee0548ad3afa22d3a7d3bc43cb54a6
2015-07-15 14:20:51 -07:00
Geoff Mendal
6289ad5d8f Import translations. DO NOT MERGE
Change-Id: I428e579d5968139dcdf6e8e693f4d2eef182c682
Auto-generated-cl: translation import
2015-07-15 14:19:57 -07:00
Geoff Mendal
703170645d Import translations. DO NOT MERGE
Change-Id: I7e22afc43c9029b40ba2df53dfc10a9a688c4fd2
Auto-generated-cl: translation import
2015-07-15 14:17:17 -07:00
Jorim Jaggi
eea8be5338 Adjust assist disclosure stroke width to spec
Bug: 21568059
Change-Id: Ib1ddb8890715b98d36ed5827f053970a9d4a7173
2015-07-15 21:09:47 +00:00
Geoff Mendal
32a7073d44 Import translations. DO NOT MERGE
Change-Id: I376fa651ad29df01e4a7844a9e64508f4b163cf0
Auto-generated-cl: translation import
2015-07-15 14:07:29 -07:00
Geoff Mendal
e594671cca Import translations. DO NOT MERGE
Change-Id: I2960b24e8ab390425898ac33034b24ceae260a65
Auto-generated-cl: translation import
2015-07-15 14:02:08 -07:00
Geoff Mendal
c74de15bad Import translations. DO NOT MERGE
Change-Id: I5a4734ab26f74e593ace500f8ff19d280cf7a6a1
Auto-generated-cl: translation import
2015-07-15 13:59:16 -07:00
Geoff Mendal
cddce6b6cb Import translations. DO NOT MERGE
Change-Id: I4f6e47dc83c9fea23c61f43f791460d4bc5cc4ca
Auto-generated-cl: translation import
2015-07-15 13:56:28 -07:00
Geoff Mendal
5b84a9623d Import translations. DO NOT MERGE
Change-Id: I37b181b340777aed3cb07cfb88c0e69803f4826a
Auto-generated-cl: translation import
2015-07-15 13:50:55 -07:00
Geoff Mendal
cd2a676caf Import translations. DO NOT MERGE
Change-Id: I31dfaa6cbd223dfda3fa841edcb0f62ea576ffb2
Auto-generated-cl: translation import
2015-07-15 13:48:05 -07:00
Roshan Pius
4e9c63cbe1 Merge "Handle exceptions when accessing Content providers." into mnc-dev 2015-07-15 19:23:30 +00:00
Oren Blasberg
dbb850bfea Make "dismiss all" button keyboard accessible.
This allows users to hit Tab while in the notification pane and access
the Dismiss All icon, with a physical keyboard.

Bug: 22411158
Change-Id: I544bd3ccafcae210770317193099b26972d6a52b
(cherry picked from commit 10cb3105c79dd7de1f2cc9297b1d3b77598de8e3)
2015-07-15 19:16:27 +00:00
Felipe Leme
68fd7c798d Merge "Set last modified timestamp for the bugreport entry in the zipped file from original file, otherwise it uses the date the zip was created." into mnc-dev 2015-07-15 19:00:58 +00:00
Dianne Hackborn
d193916c83 Merge "Fix build." into mnc-dev 2015-07-15 18:59:20 +00:00
Dianne Hackborn
a503b62b15 Fix build.
Change-Id: Ib165c32d1d87e971902b4dd7300ccebd65e71a7d
2015-07-15 11:58:27 -07:00
Miao Wang
d7d413ad0b fix BNNM docs
bug: 22507076
Change-Id: I5fdffdde597d97b1dde77574d096b81bff4aa382
2015-07-15 11:35:28 -07:00
Jeff Brown
76c4c6668a Add USB port manager.
Add some new internal APIs to enumerate USB Type C ports, query their
status, determine whether they support changing power or data roles,
and doing so.  The API also adds a new ACTION_USB_PORT_CHANGED broadcast
for port state changes.

The implementation includes a mechanism for simulating the behavior
of the USB stack.  See 'adb shell dumpsys usb -h' for details.

Note that the underlying kernel driver interface is still subject
to change but its behavior has been encapsulated as much as possible.

Bug: 21615151
Change-Id: I0c853ae179248a4550b3e60d02a7a7e65e4546b2
2015-07-15 11:34:29 -07:00
Jeff Brown
2dbccc1926 Clean up USB Manager dump.
Tidy up the dump() implementation in preparation for further work.

Bug: 21615151
Change-Id: If6d94c8dc9457b8e93103541ec1798981eeb5b54
2015-07-15 11:34:29 -07:00
Dianne Hackborn
16f3671620 Fix issue #22487155: Device unresponsive (deadlock in system_server)
Using my magic potion, Deadlock-B-Gone!

Change-Id: If5c0a2b18134dc95444f3782ab5aa475414b5839
2015-07-15 11:32:32 -07:00
Dianne Hackborn
fcbfeaf069 Fix issue #22460110: AssistStructure.ViewNode.isAssistBlocked() always...
...returns true

Well it wasn't *quite* always, but close enough. :p

Change-Id: I990b8b2ca7b80ce68a067b0dd92efc1c2faaa8cd
2015-07-15 11:25:55 -07:00
Dianne Hackborn
6c729b4170 Fix issue #22479881: Nexus 6 randomly rebooting every few hours with...
..."FATAL EXCEPTION IN SYSTEM PROCESS"

Synchronous calls out of the system process are bad, m'kay?

This should be a safe change because the only place I see calling
this interface are within the system process where there is clearly
no other dependency on ordering.

Change-Id: I483b07cfd68d00d74797784c2a75012e8dd67141
2015-07-15 11:21:38 -07:00
Dianne Hackborn
d0a159025a Fix issue #22124996: VI: Command Request not Active
This stupid thing wasn't even completely implemented
in HandlerCaller!  D'oh!

Change-Id: I0dac42c208fa0f08a6e20a6cb17b072f51efcaa7
2015-07-15 11:18:09 -07:00
Jeff Sharkey
539f7ac7a1 Merge "Give DCS permission needed to measure all users." into mnc-dev 2015-07-15 18:03:01 +00:00
Jeff Sharkey
483bd84280 Merge "Only send EXTRA_STACK for private intent." into mnc-dev 2015-07-15 18:02:55 +00:00
Abodunrinwa Toki
a04b7add4b Let the ActionBar handle keyboard shortcuts.
Bug: 18021345
Change-Id: I5df8711dcd020f172f798745846e7b6c05c69191
2015-07-15 10:44:43 -07:00
Dianne Hackborn
1d4247c4cc Merge "Improve tracking of screen on reasons." into mnc-dev 2015-07-15 17:11:12 +00:00
Jun Mukai
410ed3a4af Allow selecting quick setting items by keyboard.
Bug: 22460275
Change-Id: Ib27456d12c9284edfdc27d010782840765728853
(cherry picked from commit 0f939fecdf9cc385a6e9472deb1cb38431995b59)
2015-07-15 17:02:53 +00:00
Dianne Hackborn
280a64e793 Improve tracking of screen on reasons.
- New screen on app op to record the last time each app has
  caused the screen to be turned on.
- New battery stats event that tells us the reason the screen
  has been asked to turn on.
- Propagate out power manager API to specify the reason a caller
  is asking to have the screen turned on.

Note that currently the window flag to turn the screen on bypasses
much of this because it is being handled in the window manager by
just directly telling the power manager to turn the screen on.  To
make this better we need a new API where it can specify who it is
calling the API for.

Change-Id: I667e56cb1f80508d054da004db667efbcc22e971
2015-07-15 09:59:07 -07:00
Jeff Sharkey
39745ed719 Give DCS permission needed to measure all users.
DCS runs as owner user, but needs to measure details for other users
on the device.

Bug: 22503636
Change-Id: I6d6899fae90c4e92b94647676bda8b88bad412e6
2015-07-15 09:58:37 -07:00