221536 Commits

Author SHA1 Message Date
Todd Kennedy
72cfcd02b8 Move 'un/install' to cmd
Move the implementation of the install variants and uninstall to the cmd
command. Additionally, make two other important changes: 1) replace calls
to the legacy PackageManager#installPackageAsUser with the PackageInstaller
2) allow streaming package bits for 'pm install'

Change-Id: I5680f57208d377daadb69b2cc09c233c02fe5016
2015-11-09 15:07:18 -08:00
Nick Kralevich
0afcfdca96 Merge "system_server: allow /proc read access to other UIDs" am: 51b48b3877 am: 02cc328d9d
am: 7907271af1

* commit '7907271af1f9024b1c5896a2d5006f7c868c771c':
  system_server: allow /proc read access to other UIDs
2015-11-09 20:40:22 +00:00
Nick Kralevich
7907271af1 Merge "system_server: allow /proc read access to other UIDs" am: 51b48b3877
am: 02cc328d9d

* commit '02cc328d9df39a4abae55bf047a88a9e8129783d':
  system_server: allow /proc read access to other UIDs
2015-11-09 20:34:02 +00:00
Nick Kralevich
02cc328d9d Merge "system_server: allow /proc read access to other UIDs"
am: 51b48b3877

* commit '51b48b38774b8babe339890e1c888dfd8647ee72':
  system_server: allow /proc read access to other UIDs
2015-11-09 20:28:30 +00:00
Filip Gruszczynski
2f40db7357 Merge "Fix blink when docking a window." 2015-11-09 20:13:12 +00:00
Nick Kralevich
51b48b3877 Merge "system_server: allow /proc read access to other UIDs" 2015-11-09 20:05:22 +00:00
Amith Yamasani
a8d3e1ff63 Merge "Allow activities to show on user 0 until provisioned" 2015-11-09 19:50:50 +00:00
Svetoslav
41f3c49cce Don't crash if cannot persist settings
bug:23569962

Change-Id: I19fd7d37b6de251696d119cfc33e87e9743b2029
2015-11-09 19:47:22 +00:00
Jinsuk Kim
b96bccf90c CEC: Validate <Vendor Command> correctly
The command always has one or more bytes for its parameter, so
the right validation should have been the one ensuring the number
of bytes (1 ~ 14).

Bug: 24986703
Change-Id: I171e971f1649761d69ffe2aa0af364f34dc9ac3e
(cherry picked from commit 4808581f4dfdf04adcd2646e152dede0ce418cad)
2015-11-09 19:17:39 +00:00
Jinsuk Kim
cb802870f7 CEC: Queue up callbacks to handle on final result
While one party calls oneTouchPlay() to initiate the action and
put it in progress, the other parties making the same call gets
an error 'operation in progress'. This is not really an error,
but there was no other choice for them but just to wait till
the action is completed and the service is ready to accept
the API call again.

This CL resolves the inconvenice by allowing multiple callbacks
rather than returning IN_PROGRESS for those joining later. Same
was applied to queryDisplayStatus().

Change-Id: I5fc9aba4aa73e76a25f8fdec37e11cd961a3d35f
(cherry picked from commit 98a25f1ee27c1b4362a23981edc17fc92199a876)
2015-11-09 19:14:56 +00:00
Jinsuk Kim
c854c95b1b CEC: Comment for clarification of <Text View On>
Added a comment to clarify how the service is designed to handle
CEC commands <Text View On>/<Image View On>.

Bug: 24690166
Change-Id: Iaa1813b3ded76e8525141555d2aaff6dfb67888d
(cherry picked from commit 6667797016a28551202b40067fe90512185a7a61)
2015-11-09 19:13:00 +00:00
Chong Zhang
c2c17c4e8d Merge "Fix flicker when releasing drag of divider" 2015-11-09 18:51:17 +00:00
Filip Gruszczynski
78a08ee876 Fix blink when docking a window.
We need to be very precise about removing the old window when the new
one is shown. The right moment is immediately after the first frame
of the new window entrance animation gets commited. This requires
more infrastructure and flags, rather than depending on the old ones
and hoping that they will match our needs.

Bug: 25075151

Change-Id: I0fdbf38d0915ded3300d75fc7268e619b574bcf5
2015-11-09 10:49:48 -08:00
Philip P. Moltmann
5bc68b533b Merge "Add a alert that allows the user to approve a print service when we print using it the first time." 2015-11-09 18:38:24 +00:00
Chong Zhang
d153c4f6f0 Fix flicker when releasing drag of divider
bug: 25564523
Change-Id: I9c19f40f27cc80b8e6e0e98a0d6455941bd624e7
2015-11-09 10:34:14 -08:00
Guang Zhu
f49bec047a Merge "Revert "Move 'un/install' to cmd"" 2015-11-09 18:10:54 +00:00
Geoff Mendal
b226c1538b Merge "Import translations. DO NOT MERGE" into cw-e-dev am: f3b3a2ce2b -s ours am: 919b74ae35 -s ours
am: bd4d7ed031  -s ours

* commit 'bd4d7ed0312a828c032b87c31a6bc98316f5f756':
  Import translations. DO NOT MERGE
2015-11-09 18:07:56 +00:00
Geoff Mendal
bd4d7ed031 Merge "Import translations. DO NOT MERGE" into cw-e-dev am: f3b3a2ce2b -s ours
am: 919b74ae35  -s ours

* commit '919b74ae355102deb2e6c35e95803edf29cea1d6':
  Import translations. DO NOT MERGE
2015-11-09 18:02:10 +00:00
Julia Reynolds
d7ba82d154 Merge "Bring back notification lights and sanitized color." 2015-11-09 18:01:59 +00:00
Geoff Mendal
919b74ae35 Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: f3b3a2ce2b  -s ours

* commit 'f3b3a2ce2bc9b3f5eb6c96b7a828d245c84cc203':
  Import translations. DO NOT MERGE
2015-11-09 17:57:11 +00:00
Geoff Mendal
f3b3a2ce2b Merge "Import translations. DO NOT MERGE" into cw-e-dev 2015-11-09 17:51:40 +00:00
Philip P. Moltmann
853a6f564a Add a alert that allows the user to approve a print service when
we print using it the first time.

This warning used to be shown when the print settings app was used
to enable a service.

If two warning as shown for the same print service we automcatially
dismiss all dialogs once one dialog is confirmed. Please note that
we are not confirming the printjob as it is unexpeced to have a
single click to confirm multiple print jobs.

Change-Id: I8bb0a49bac2063c1c55e2f24bd34df2c44e2df89
Bug: 24135353
2015-11-09 09:49:26 -08:00
Geoff Mendal
8944b6926f Import translations. DO NOT MERGE am: 49eeda33dd -s ours am: 0414438abe -s ours am: 9ab5fb52a0 -s ours
am: fc2d271539  -s ours

* commit 'fc2d271539004509051f072be1f89b3fe5d8605f':
  Import translations. DO NOT MERGE
2015-11-09 17:45:37 +00:00
Geoff Mendal
016d9e7c4d Import translations. DO NOT MERGE
Change-Id: I58434476f0ed8edce61cd6827f25842d2f546340
Auto-generated-cl: translation import
2015-11-09 18:43:57 +01:00
Tao Bai
082593ba10 Merge "Using addAssetPathAsSharedLibrary to load asset." 2015-11-09 17:40:55 +00:00
Geoff Mendal
fc2d271539 Import translations. DO NOT MERGE am: 49eeda33dd -s ours am: 0414438abe -s ours
am: 9ab5fb52a0  -s ours

* commit '9ab5fb52a0d2d03b86a3862363f0594356a90bcd':
  Import translations. DO NOT MERGE
2015-11-09 17:39:01 +00:00
Geoff Mendal
9ab5fb52a0 Import translations. DO NOT MERGE am: 49eeda33dd -s ours
am: 0414438abe  -s ours

* commit '0414438abe0718f5007d7b580981d6ba204b655c':
  Import translations. DO NOT MERGE
2015-11-09 17:34:42 +00:00
Julia Reynolds
10ee1fcf79 Bring back notification lights and sanitized color.
buildUnstyled() was doing more than I noticed in
I81f8ffed0eb76084b2f2b25b97e325858f0a1d05.

Change-Id: I2109fc0d5bae692676b0ca72ff5048f0a3037375
2015-11-09 12:33:42 -05:00
Geoff Mendal
0414438abe Import translations. DO NOT MERGE
am: 49eeda33dd  -s ours

* commit '49eeda33ddca15ff8b8e820d1cf68a99cde9806a':
  Import translations. DO NOT MERGE
2015-11-09 17:27:25 +00:00
Filip Gruszczynski
0116852120 Merge "Always add PhoneWindow when creating DecorView." 2015-11-09 17:25:00 +00:00
Geoff Mendal
a9a6d4aef9 Merge "Import translations. DO NOT MERGE" 2015-11-09 17:23:22 +00:00
Roozbeh Pournader
6da1693c0c Merge "Removed unused setLocale() method." 2015-11-09 17:22:37 +00:00
Geoff Mendal
49eeda33dd Import translations. DO NOT MERGE
Change-Id: I664d6f94b74430f003182bc72db6610521883fa9
Auto-generated-cl: translation import
2015-11-09 18:10:12 +01:00
Geoff Mendal
718655cfe5 Import translations. DO NOT MERGE
Change-Id: I3eaea2f4c4de7b66b77f75a29457a1b187c776da
Auto-generated-cl: translation import
2015-11-09 17:51:22 +01:00
Filip Gruszczynski
bc8d90d484 Always add PhoneWindow when creating DecorView.
Because DecorView is now a static inner class, we need to remember to
always add the PhoneWindow on which it depends.
PhoneWindow.generateDecor will do that now to prevent further
mistakes.

Also remove PhoneWindow.setFeatureFromAttrs which is not used
anywhere and seems to be an artifact from the past.

Bug: 25086413
Change-Id: I0d8e5df717d7046e85ffc58f7ec4e94ce15a7d80
2015-11-09 08:47:48 -08:00
Filip Gruszczynski
86d6f7cd1a Merge "Ignore wallpaper when looking for a position for a free window." 2015-11-09 16:13:48 +00:00
Todd Kennedy
18bc3305e4 Revert "Move 'un/install' to cmd"
This reverts commit ec059d839de6d061085dcfd85ce6565dcf4d5b69.

Change-Id: Ieaa1373e96fb4cc20aa41c3159518bd9e86c572b
2015-11-09 15:36:43 +00:00
Geoff Mendal
42817202e2 Merge "Import translations. DO NOT MERGE" 2015-11-09 14:02:52 +00:00
Geoff Mendal
37f269f4a5 Merge "Import translations. DO NOT MERGE" 2015-11-09 14:00:25 +00:00
Geoff Mendal
530db1eb98 Import translations. DO NOT MERGE
Change-Id: Ie70cf29b4a04891f28aa117c96b2dce917cebceb
Auto-generated-cl: translation import
2015-11-09 05:58:55 -08:00
Geoff Mendal
ac7a784db9 Merge "Import translations. DO NOT MERGE" 2015-11-09 13:57:07 +00:00
Geoff Mendal
aab2feaac4 Import translations. DO NOT MERGE
Change-Id: I4e19184520f6d4b3c9145fa13e16488cb3fe1c23
Auto-generated-cl: translation import
2015-11-09 05:56:05 -08:00
Geoff Mendal
ac61db5ebc Import translations. DO NOT MERGE
Change-Id: I75bc3c96b606f19818b4da31b15db9be6ba05760
Auto-generated-cl: translation import
2015-11-09 05:52:07 -08:00
Nicolas Prévot
d59262667c Merge "Add method to tell the dpc if provisioning is allowed." 2015-11-09 13:49:31 +00:00
Geoff Mendal
0c08418336 Merge "Import translations. DO NOT MERGE" 2015-11-09 13:48:47 +00:00
Geoff Mendal
4246fd66ec Import translations. DO NOT MERGE am: 210f0afaf9 -s ours am: a1d0738253 -s ours
am: 16c692f57f  -s ours

* commit '16c692f57f17102b1980144fb259875d40139d10':
  Import translations. DO NOT MERGE
2015-11-09 13:44:21 +00:00
Geoff Mendal
6b0486a6b5 Import translations. DO NOT MERGE
Change-Id: Idace066b891d2ef54c18e1421368bcc5c6fd0fa1
Auto-generated-cl: translation import
2015-11-09 05:39:52 -08:00
Geoff Mendal
16c692f57f Import translations. DO NOT MERGE am: 210f0afaf9 -s ours
am: a1d0738253  -s ours

* commit 'a1d07382539525a44baf0ca581e04fb445639831':
  Import translations. DO NOT MERGE
2015-11-09 13:37:24 +00:00
Geoff Mendal
a1d0738253 Import translations. DO NOT MERGE
am: 210f0afaf9  -s ours

* commit '210f0afaf9011d044d261f1044a1a7368cb89e7e':
  Import translations. DO NOT MERGE
2015-11-09 13:29:12 +00:00
Geoff Mendal
feba19c70e Import translations. DO NOT MERGE
Change-Id: I5f41d236c6356c6412ef943e51701aa5d08e8890
Auto-generated-cl: translation import
2015-11-09 05:14:26 -08:00