197234 Commits

Author SHA1 Message Date
hyemin.hwang
b4faf9810d Fix a bug disappearing installerPackageName info of packages after reboot.
If user install apps from playstore, system has installerPackageName attribute of app.
but, after reboot, some apps(have sharedUserID) installerPackageName attribute disappearing.
because lack of copy routine.
So, I added copy routine(installerPackageName).

Testcase :
1. Install app(has sharedUserId, ex Lync2013) from market.
2. Confirm package info from packages.xml(exist installer info).
3. reboot.
4. Re-confirm package info from packages.xml(not exist installer info).

Cherry-pick from AOSP master.
Bug 22513758

Change-Id: I3fea3e573c056f6c2f574715d2ebef4df8b75a68
2015-07-15 17:14:24 -07:00
Dianne Hackborn
f6586cbde7 Merge "Implement issue #22403908: Enable assistant to refuse context sharing" into mnc-dev 2015-07-15 23:31:25 +00:00
Dianne Hackborn
67e02e60ca Merge "Fix issue #22487155: Device unresponsive (deadlock in system_server)" into mnc-dev 2015-07-15 23:31:02 +00:00
Dianne Hackborn
c4e2bcd4dc Merge "Fix issue #22460110: AssistStructure.ViewNode.isAssistBlocked() always..." into mnc-dev 2015-07-15 23:30:19 +00:00
Dianne Hackborn
c1a49b50bf Merge "Fix issue #22479881: Nexus 6 randomly rebooting every few hours with..." into mnc-dev 2015-07-15 23:30:09 +00:00
Dianne Hackborn
1cf8b0b6bf Merge "Fix issue #22124996: VI: Command Request not Active" into mnc-dev 2015-07-15 23:29:56 +00:00
Svetoslav
08dda27be4 Merge "Make sure we get valid package name or fail." into mnc-dev 2015-07-15 23:03:49 +00:00
Svetoslav
7395cbf070 Make sure we get valid package name or fail.
bug:22492225

Change-Id: I7b7dce9a8e398c4615bcb700de80241e94c4320c
2015-07-15 15:58:44 -07:00
Christopher Tate
06476508c4 Merge "Resolve based on the correct user's default browser" into mnc-dev 2015-07-15 22:57:53 +00:00
Abodunrinwa Toki
6a4014104e Merge "Let the ActionBar handle keyboard shortcuts." into mnc-dev 2015-07-15 22:39:21 +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
Geoff Mendal
e2a0d44c8a Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-15 21:41:17 +00: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
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
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