Commit Graph

301953 Commits

Author SHA1 Message Date
Dianne Hackborn
cdb31d2ecd Merge "Implement system API for monitoring uid importance changes." 2016-11-07 18:23:43 +00:00
Eric Laurent
67b30fea38 Merge "AudioService: fix mismatch in device volume index for alias streams" 2016-11-07 18:19:11 +00:00
Manu Cornet
1afcea499d 2-dimensional Recents activity.
This is a simple first version in the spirit of small, incremental CLs.
It is fully functional but the following will come in later changes:

* Split screen support
* Potential animations
* Alt-tab behavior
* Relayout on orientation changes

The new activity is only started when a specific system property is set.

Test: Locally on Ryu device. Added tests for layout logic.
Bug: 32101881
Change-Id: I550f6e7ea0de3937dbf80e5f0294676cfe567d47
2016-11-07 10:01:36 -08:00
Marco Nelissen
03d9d82229 Merge "Use libaudioclient" am: 0a05c49248 am: 1d10b88f40 am: e327563c6c
am: 694d1b5764  -s ours

Change-Id: I808bf0d575a3b6a8088fd03fa8fcb43f7084602f
2016-11-07 18:00:06 +00:00
Marco Nelissen
694d1b5764 Merge "Use libaudioclient" am: 0a05c49248 am: 1d10b88f40
am: e327563c6c

Change-Id: I5a1868ae472821dbd3f29e342f7410f8adcb37d8
2016-11-07 17:41:27 +00:00
Marco Nelissen
e327563c6c Merge "Use libaudioclient" am: 0a05c49248
am: 1d10b88f40

Change-Id: I55ad06914aae308f7ffa46c27b9bab3db46cdc1c
2016-11-07 17:31:52 +00:00
Marco Nelissen
1d10b88f40 Merge "Use libaudioclient"
am: 0a05c49248

Change-Id: I134c9c5b95e446fcc18e2b35a3eca2a4a794e8c8
2016-11-07 17:22:36 +00:00
Etan Cohen
29b3e79ae2 [AWARE] Fix visibility of Aware Characteristics API
Hide the get characteristics API - since the underlying characteristics
class is (still hidden). Will be opened in a separate phase from the parent
class.

Bug: 31912101
Test: update-api succeeded when opening the parent class
Change-Id: Ibe2f282027cd4b1c03bfb2b1e151551c34314541
2016-11-07 09:14:46 -08:00
Marco Nelissen
0a05c49248 Merge "Use libaudioclient" 2016-11-07 17:14:25 +00:00
Narayan Kamath
25cd01cc69 Zygote: Additional whitelists for runtime overlay / other static resources.
Partially cherry picked from commit 1c15c63578.

These files are safe to reopen for the same reason that files in
/system/framework are. They're regular files and will not change after
the first zygote fork.

Bug: 32618130

Change-Id: I119e0bfcbf397cb331064adf148d92a5cd3ea92f
2016-11-07 16:59:05 +00:00
Narayan Kamath
e9a525829a Zygote : Block SIGCHLD during fork.
We close the android logging related sockets prior as late as possible
before every fork to avoid having to whitelist them. If one of the
zygote's children dies after this point (but prior to the fork), we can
end up reopening the logging sockets from the SIGCHLD signal handler.

To prevent this from happening, block SIGCHLD during this critical
section.

Bug: 32693692
Test: Manual

Change-Id: Ia4763a0bfd821a25b68aba3939cb0a6cbf248de0
2016-11-07 16:42:08 +00:00
Derek Sollenberger
7e044fef62 Enable SkiaPipelines to interoperate with existing GlesDriver configs.
Test: hwui unit tests
Change-Id: Icd94d0e21130d86fb5514801f999d0018a69e151
2016-11-07 10:59:20 -05:00
Polina Bondarenko
71cb0c5b6a thermal: add usage of IThermal.
HardwarePropertiesManagerService native impl uses IThermal instead of
thermal_module.

Bug:32022261
Test: CTS
Change-Id: I85e5c5bedb1cb6762207ccfa3e3a7dd4c00ee30a
2016-11-07 16:07:05 +01:00
Derek Sollenberger
b7d34b64dd Refactor pin/unpinImages to work across pipelines.
Test: existing CTS tests still pass
Change-Id: Ib2607e9853396bad42f298829b5c5da0d210af32
2016-11-07 10:05:56 -05:00
Torne (Richard Coles)
a7fcb2bc2a Add the webview zygote socket to the zygote whitelist.
Allow the webview zygote socket to be open at time of fork, so that
webview renderers can be forked successfully.

Test: WebView functions correctly with multiprocess dev setting enabled
Bug: 21643067
Change-Id: I312846433a43a8e4548cb2f98b96b56acf9f5333
2016-11-07 12:30:40 +00:00
TreeHugger Robot
2cf7c483a8 Merge "Not create document under the device." 2016-11-07 06:21:48 +00:00
Seigo Nonaka
4b56177429 Merge "Make sure the Typeface is loaded before calling measureText." 2016-11-07 05:22:52 +00:00
Hugo Benichi
3bbe9ab6b8 Merge "Netd events: record connect() success/errno" 2016-11-07 04:07:13 +00:00
Daichi Hirono
35b2ec551f Not create document under the device.
The structure of files in MtpDocumentsProvider looks like
/device/storage/files. But MtpDocumentsProvider shows files
just under the device if the device has only single storage.

It causes a problem that MtpDocumentsProvider tries to create a file
under the device. Previously it tries to create a file with storageId =
0, which means MTP device choose a storage to store the file.

Because it only happens when the device has a single storage, the file
is properly written to the device. But the database in
MtpDocumentsProvider goes into the illegal state where the file is
placed just under the device.

Bug: 32561572
Test: adb shell am instrument -w -e class com.android.mtp.MtpDocumentsProviderTest com.android.mtp.tests/com.android.mtp.TestResultInstrumentation
Change-Id: I47a373ceee8a64ba9995934317693e79d2497ee0
2016-11-07 10:29:09 +09:00
Hugo Benichi
19dfc38434 Merge "frameworks-test: adding missing @SmallTest" 2016-11-07 00:09:56 +00:00
Etan Cohen
883461a6d4 Merge "[NAN-AWARE] Rename NAN to Aware" am: 74b1131cc8 am: 6571007101 am: a99a05982e
am: 2ad6b14d50  -s ours

Change-Id: Id51e99533ce8ab29bd40170f8eafc0f9702c16fb
2016-11-06 03:38:18 +00:00
Etan Cohen
2ad6b14d50 Merge "[NAN-AWARE] Rename NAN to Aware" am: 74b1131cc8 am: 6571007101
am: a99a05982e

Change-Id: I8df580e15770c54ab3f0da3e3ff97165939719df
2016-11-06 03:29:40 +00:00
Etan Cohen
a99a05982e Merge "[NAN-AWARE] Rename NAN to Aware" am: 74b1131cc8
am: 6571007101

Change-Id: Ief54b313dc5ca5d30645b55ed2ad0333036a1671
2016-11-06 03:21:37 +00:00
Etan Cohen
6571007101 Merge "[NAN-AWARE] Rename NAN to Aware"
am: 74b1131cc8

Change-Id: I2e788e19a11f2709f2e542dbdc4b58433a3574bf
2016-11-06 03:13:31 +00:00
Etan Cohen
74b1131cc8 Merge "[NAN-AWARE] Rename NAN to Aware" 2016-11-06 03:05:40 +00:00
Etan Cohen
0849ded008 [NAN-AWARE] Rename NAN to Aware
~Rename only (and any reformatting needed to pass lint) - no
functional changes!

Remove android.net.wifi.nan.STATE_CHANGED from manifest:
redundant/remnant of an older configuration.

(cherry-pick of commit a61b9fb569)

Bug: 32263750
Test: All unit tests and integration (sl4a) tests pass.
Merged-In: Ie4ff675fa61041e8fcf6a9bf9900ea835d0a7614
Change-Id: I4206d2fd722dc7dec9df4aee5c818101d7f9dccc
2016-11-05 09:41:38 -07:00
Etan Cohen
3a1dd86ce4 Merge "[NAN-AWARE] Rename NAN to Aware" 2016-11-05 16:19:43 +00:00
Bill Yi
935e92acb9 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 42f6ca6097 -s ours
am: cc65f0761d  -s ours

Change-Id: I78fefb7537855d2054c44f6fc5f4505b5eb00027
2016-11-05 06:51:30 +00:00
Bill Yi
c5c08983b2 Import translations. DO NOT MERGE am: 6b7911ae4c -s ours
am: 239809dea8  -s ours

Change-Id: I3bc6484686f6c5245c8e7008b0bb09b362967aa4
2016-11-05 06:50:41 +00:00
Bill Yi
38fa537dc0 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 1b93d5c5a1 -s ours
am: 8e4618bca6  -s ours

Change-Id: Ibfdf60ceeade0025ec643e04bf675cca752f5990
2016-11-05 06:49:49 +00:00
Bill Yi
2a98ad003b Import translations. DO NOT MERGE am: a5753cef6e -s ours
am: 98d19da3d7  -s ours

Change-Id: I7ee5826dc0ee95155afbb3546adb5af10c896c77
2016-11-05 06:48:58 +00:00
Bill Yi
38c2817cde Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: b14995516a -s ours
am: 9fbeb40fc9  -s ours

Change-Id: If318447c1a74e2bf80522b2e866e4bf3b7c7c667
2016-11-05 06:47:55 +00:00
Bill Yi
da60d2b57b Import translations. DO NOT MERGE am: 4d67c3b986 -s ours
am: 34485976f4  -s ours

Change-Id: I468134a01d8c75388ef264b074d8e7337e79b42d
2016-11-05 06:47:04 +00:00
Bill Yi
b8984eeb1c Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 86875e592a -s ours
am: fbe8eef154  -s ours

Change-Id: Ic8550bb43ae2e9eaf74e10d8d1976bbb39876176
2016-11-05 06:46:11 +00:00
Bill Yi
02a7c2e603 Import translations. DO NOT MERGE am: d6a229b64c -s ours
am: 77cf704647  -s ours

Change-Id: Ibad84fdc51f710ae592e9592c74ae9eb4c96499b
2016-11-05 06:45:22 +00:00
Bill Yi
bd661b9ce6 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 53c2954e4e -s ours
am: 8d518cac98  -s ours

Change-Id: I9dd822ec13d9ebb3933e1ea0b6a5c9f72700c569
2016-11-05 06:44:31 +00:00
Bill Yi
54ed28dab6 Import translations. DO NOT MERGE am: 92ba705e9f -s ours
am: c7bfce0dda  -s ours

Change-Id: Ie216dd1aaa6f188cf137c3d4d5fb6d83da0544cb
2016-11-05 06:43:41 +00:00
Bill Yi
e8f8c0f628 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: dfe1833475 -s ours
am: e8dff1a5bd  -s ours

Change-Id: I7afd465a8c51b43936a6c3efec210564f06db49d
2016-11-05 06:42:50 +00:00
Bill Yi
37d7e0ba65 Import translations. DO NOT MERGE am: 66333161bb -s ours
am: 77b50cef75  -s ours

Change-Id: Ie77db5506e553ab6280babbccb8aabf8bbd27cb7
2016-11-05 06:41:59 +00:00
Bill Yi
c1181542c9 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: b26e27dc4a -s ours
am: f6e16b8604  -s ours

Change-Id: Idc09dc274841228ccce97d9613438df2fa210ec7
2016-11-05 06:36:57 +00:00
Bill Yi
88a2847268 Import translations. DO NOT MERGE am: 0c1f10dd0c -s ours
am: eff51c8add  -s ours

Change-Id: Ie3011999ec010370e5419520c225390132fa5b02
2016-11-05 06:36:04 +00:00
Bill Yi
cc65f0761d Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 42f6ca6097  -s ours

Change-Id: Iea98f671098db9643b2f91bd2c28619e8a317d68
2016-11-05 06:35:38 +00:00
Bill Yi
239809dea8 Import translations. DO NOT MERGE
am: 6b7911ae4c  -s ours

Change-Id: I1252861aaf04869dfc663448f489c21cff1d9ac7
2016-11-05 06:35:34 +00:00
Bill Yi
2e85fedddb Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 04812a6025 -s ours
am: 7d0d794b6d  -s ours

Change-Id: I360f2bf941318eff00eb2d506e6891ad24cae7bd
2016-11-05 06:35:18 +00:00
Bill Yi
e7efc13c55 Import translations. DO NOT MERGE am: b95efc83d1 -s ours
am: 6a928ed074  -s ours

Change-Id: Ib67371533356e5a27b1bf372d48d56027c6aa59c
2016-11-05 06:34:29 +00:00
Bill Yi
8e4618bca6 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 1b93d5c5a1  -s ours

Change-Id: I060e73ebf28424676c37b46a489766d94b79800e
2016-11-05 06:34:16 +00:00
Bill Yi
98d19da3d7 Import translations. DO NOT MERGE
am: a5753cef6e  -s ours

Change-Id: I3e911f0da8354e05f29dfd0b9ca06c4cbd5f3350
2016-11-05 06:34:12 +00:00
Bill Yi
9c7e0654d0 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 79de6da289 -s ours
am: e8dba1f819  -s ours

Change-Id: Ie3a3eb70d555313a9bf2f794349e2aaa3e3162cb
2016-11-05 06:33:32 +00:00
Bill Yi
9fbeb40fc9 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: b14995516a  -s ours

Change-Id: Ibfd1760a251c164b392fb64640fc0c39e4ac0556
2016-11-05 06:32:51 +00:00
Bill Yi
34485976f4 Import translations. DO NOT MERGE
am: 4d67c3b986  -s ours

Change-Id: If8b7a3fe0740c2915784b457ef596e690f4c66c1
2016-11-05 06:32:45 +00:00