228393 Commits

Author SHA1 Message Date
Roozbeh Pournader
9ae46d8ee2 Optimize locale negotiation when there's only one locale
Previously, we were finding the list of locales supported by the
system in all cases, costing us a JNI call, which was not necessary
when there was only one locale (which is expected to be quite
common).

Change-Id: I2f752a71a46b66ac2abb553a5939eddf0f761698
2016-01-04 17:38:17 -08:00
Seigo Nonaka
e824f8287b Merge "Move Language normalization code from Paint.cpp to Minikin." 2015-12-22 04:01:19 +00:00
Takayuki Hoshi
4df9801e2b Merge "Exclude input devices when finding sinks from audio policy." 2015-12-22 03:05:27 +00:00
Ben Kwa
c1f9e7c487 Merge "Refactor DocumentHolder." 2015-12-21 23:35:39 +00:00
Dimitry Ivanov
c436511e28 Merge "Use shared namespace for bundled app classloader" am: 76a9e55a8f
am: c53d159b3e

* commit 'c53d159b3e2cf96fe1fcf06c66bdb7011b65f46f':
  Use shared namespace for bundled app classloader
2015-12-21 23:33:55 +00:00
Ben Kwa
d839149843 Refactor DocumentHolder.
Primary goals of this refactor are to reduce DirectoryFragment bloat,
and to simplify the code (especially the binding code) for the different
layouts.

- Decouple DocumentHolder from DirectoryFragment.
- Move it into its own file.
- Move binding code from DirectoryFragment into DocumentHolder.
- Split DocumentHolder implementation into three separate subclasses,
  for grid items, list items, and dividers.

BUG=24326989

Change-Id: I217bf4e5b8e1b33173b8b0275591a8c5d8e9161c
2015-12-21 15:31:15 -08:00
Dimitry Ivanov
c53d159b3e Merge "Use shared namespace for bundled app classloader"
am: 76a9e55a8f

* commit '76a9e55a8fd751e747511a9c7d02dddca31964c3':
  Use shared namespace for bundled app classloader
2015-12-21 15:27:57 -08:00
Dimitry Ivanov
76a9e55a8f Merge "Use shared namespace for bundled app classloader" 2015-12-21 23:10:49 +00:00
Geoff Mendal
2fd71cc6ee Merge "Import translations. DO NOT MERGE" 2015-12-21 22:54:57 +00:00
Geoff Mendal
0660fe8e26 Import translations. DO NOT MERGE
Change-Id: Ib5a77438d29248558a83c8ea3b546d538ac89587
Auto-generated-cl: translation import
2015-12-21 22:20:47 +01:00
Chad Brubaker
3d27be827b Merge "Add hostname aware isCleartextTrafficPermitted" am: a2f2c5c340
am: c642e052f0

* commit 'c642e052f095d42882f46c2667d609136e269069':
  Add hostname aware isCleartextTrafficPermitted
2015-12-21 19:05:01 +00:00
Chad Brubaker
c642e052f0 Merge "Add hostname aware isCleartextTrafficPermitted"
am: a2f2c5c340

* commit 'a2f2c5c340b552b92088966734097845b76ea310':
  Add hostname aware isCleartextTrafficPermitted
2015-12-21 19:01:01 +00:00
Chad Brubaker
a2f2c5c340 Merge "Add hostname aware isCleartextTrafficPermitted" 2015-12-21 18:52:48 +00:00
Pablo Ceballos
5fa4d15d27 Merge "Add GLES32 class and JNI" 2015-12-21 18:42:03 +00:00
Felipe Leme
8464831bf2 Removed duplicated entry added by bad merging skills.
BUG: 26274653
Change-Id: I68c5e95739a57123591daeb3988532badb89046d
2015-12-21 10:08:43 -08:00
Felipe Leme
e3daf13a49 Merge "Handle bugreport screenshots on Shell." 2015-12-21 17:58:22 +00:00
Felipe Leme
b819f8983f Merge "Added messages for the new "Take bug report" dialog." 2015-12-21 17:49:25 +00:00
Filip Gruszczynski
3510bd9be5 Merge "Always elevate input method above the input target." 2015-12-21 17:13:45 +00:00
Filip Gruszczynski
8b18f2d6c6 Merge "Prevent NPE in layer assignment, not all windows have a stack." 2015-12-21 17:12:15 +00:00
Filip Gruszczynski
10d98e4d31 Always elevate input method above the input target.
Bug: 26286301
Change-Id: I02dd290c1dbababed26d34a7e61bb4d7bad5e9ac
2015-12-21 08:56:41 -08:00
Felipe Leme
d1e0f12979 Handle bugreport screenshots on Shell.
Currently, the bugreport screenshots are taken by dumpstate and passed to
Shell as a path on BUGREPORT_RECEIVED; this change not only delegates the
screenshot taking to Shell, but also allows user to take more
screenshots while the bugreport is being generated.

As a result of this change, the final ACTION_SEND_MULTIPLE intent might
contain multiple screenshot attachments, all of them named
"screenshot-PREFIX-NUMBER.png", where PREFIX is the bugreport
name (either initial date provided by dumpstate or a name entered by the
user) and NUMBER is the sequential number of the screenshot as taken by
the user.

The screenshot is taken using screencap, which not only is simpler than
using Framework APIs, but also faster and less intrusive. The only
drawback is that it might fail if an OEM is not providing screencap; if
that happens in the field, we'll need to add fallback option to do it
using such APIs.

Prior to this change, all work done on BugreportProgressService was
executed in one single thread (through the ServiceHandler class) but the
code was guarded by unnecessary synchronization. Now there is another
thread (ScreenshotHandler) that will be used just for taking the
screenshot (so it doesn't handle the main thread). Despite the addition
of a new thread, the code was simplified to remove most synchronization
locks, excepted for the areas touched by both threads.

Once this change is submitted, the bugreport service will be changed so
it does not ask dumpstate to take a screenshot.

BUG: 26274653
Change-Id: I1df883e3c0ca6e3e3cad2522a6a99585f71abb75
2015-12-21 08:53:00 -08:00
Filip Gruszczynski
7818803ecb Prevent NPE in layer assignment, not all windows have a stack.
Bug: 26285039
Change-Id: Ie7099a4ec3f1195295308755821c603975bff183
2015-12-21 08:28:54 -08:00
Jason Monk
d2be14a16a Merge "Color transforms for the tuner" 2015-12-21 15:13:52 +00:00
Geoff Mendal
c3bf82250b Import translations. DO NOT MERGE am: fd87e92a42 -s ours am: bb107a854d -s ours
am: 82bb06c8f7  -s ours

* commit '82bb06c8f774bcdebdf0fc0de953f78c3b475b11':
  Import translations. DO NOT MERGE
2015-12-21 07:05:35 -08:00
Geoff Mendal
82bb06c8f7 Import translations. DO NOT MERGE am: fd87e92a42 -s ours
am: bb107a854d  -s ours

* commit 'bb107a854d64b5c7ed4d8d93fc4c836e9e21c4c1':
  Import translations. DO NOT MERGE
2015-12-21 15:01:38 +00:00
Geoff Mendal
cdcc188bfa Import translations. DO NOT MERGE am: 72675c67d0 -s ours
am: 254df7ab5f  -s ours

* commit '254df7ab5f938dd5bdd67bf10234df68d5b5d4a6':
  Import translations. DO NOT MERGE
2015-12-21 15:01:38 +00:00
Geoff Mendal
254df7ab5f Import translations. DO NOT MERGE
am: 72675c67d0  -s ours

* commit '72675c67d052b69dbac3a01faf631de90533a1dd':
  Import translations. DO NOT MERGE
2015-12-21 14:57:31 +00:00
Geoff Mendal
bb107a854d Import translations. DO NOT MERGE
am: fd87e92a42  -s ours

* commit 'fd87e92a42b659be5b120c59d9413d41e94b6753':
  Import translations. DO NOT MERGE
2015-12-21 14:57:29 +00:00
Geoff Mendal
72675c67d0 Import translations. DO NOT MERGE
Change-Id: I5348b439170faa76b7d85ce1ab04cebeb0a17c69
Auto-generated-cl: translation import
2015-12-21 06:53:38 -08:00
Geoff Mendal
fd87e92a42 Import translations. DO NOT MERGE
Change-Id: If00b01a244af6221a01d0c060c58da7389fd1b35
Auto-generated-cl: translation import
2015-12-21 06:50:08 -08:00
Jason Monk
d40328e687 Color transforms for the tuner
Change-Id: I615be65e2b020acd5520f93c04f426c4006221c5
2015-12-21 09:37:00 -05:00
Geoff Mendal
f0cc2f4a6e Merge "Import translations. DO NOT MERGE" 2015-12-21 14:13:44 +00:00
Geoff Mendal
3e1a73e157 Merge "Import translations. DO NOT MERGE" 2015-12-21 14:09:13 +00:00
Geoff Mendal
6bf18ecec1 Merge "Import translations. DO NOT MERGE" 2015-12-21 14:06:57 +00:00
Geoff Mendal
3f760fc7a1 Import translations. DO NOT MERGE
Change-Id: I172a76921ba1c4825f3f1c550c713800e8ea2fc6
Auto-generated-cl: translation import
2015-12-21 06:00:28 -08:00
Geoff Mendal
5fb407dd86 Import translations. DO NOT MERGE
Change-Id: I868223c518e04d0b20a17a3aef29499312edeabb
Auto-generated-cl: translation import
2015-12-21 05:57:13 -08:00
Geoff Mendal
ff51290be5 Import translations. DO NOT MERGE
Change-Id: Iffacfe8c3bebd254f8fbddd71c2c3eab85d1628a
Auto-generated-cl: translation import
2015-12-21 05:45:54 -08:00
Geoff Mendal
ee49fb5089 Import translations. DO NOT MERGE
Change-Id: Ie9892490fa6ef1d6d531cafc34e8edc816b38a2f
Auto-generated-cl: translation import
2015-12-21 05:39:40 -08:00
Narayan Kamath
160aa406c5 Merge "Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362." 2015-12-21 10:59:20 +00:00
Calin Juravle
fda25dad28 Merge "Pass app\'s code paths to the runtime" am: db73912471
am: 7d7ab7ad3b

* commit '7d7ab7ad3b096d28b274024705b3171e42bebdcd':
  Pass app's code paths to the runtime
2015-12-21 01:57:12 -08:00
Calin Juravle
7d7ab7ad3b Merge "Pass app\'s code paths to the runtime"
am: db73912471

* commit 'db73912471df39aa527971f2884f37295616d3a9':
  Pass app's code paths to the runtime
2015-12-21 09:52:40 +00:00
Calin Juravle
db73912471 Merge "Pass app's code paths to the runtime" 2015-12-21 09:43:34 +00:00
Tomasz Mikolajewski
b9ffa3f26b Merge "Add support for archives to ExternalStorageProvider." 2015-12-21 06:03:39 +00:00
Daichi Hirono
492253fb89 Merge "Fix compiler error on com_android_mtp_AppFuse.cpp." 2015-12-21 04:32:36 +00:00
Daichi Hirono
01cf378e04 Fix compiler error on com_android_mtp_AppFuse.cpp.
The CL adds explicit assigning for reply_size to prevent 'unused'
compiler error.

Change-Id: I307758debb23b5bf56ddf71d54813b8cd81d8f49
2015-12-21 13:13:57 +09:00
Daichi Hirono
6348654ab0 Merge "Add AppFuse class and its JNI module." 2015-12-21 03:10:37 +00:00
Daichi Hirono
bee50c0543 Add AppFuse class and its JNI module.
BUG=25756145

Change-Id: I10597e3377cf860412e006a118cd979b6f108af3
2015-12-21 12:07:13 +09:00
Jae Seo
224bb73f9f Merge "Add a class Javadoc for MediaBrowser.MediaItem" 2015-12-21 01:00:06 +00:00
Tomasz Mikolajewski
68dec40633 Add support for archives to ExternalStorageProvider.
Bug: 20176812
Change-Id: If27cf7d6198d0abcd4458bfbfd27f870ad6d8f30
2015-12-21 09:22:38 +09:00
Jeff Sharkey
1e033d0679 Merge "Make JobSchedulerService encryption aware." 2015-12-20 22:40:43 +00:00