OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Clean up print subsystem"
Philip P. Moltmann [Wed, 23 Dec 2015 02:11:01 +0000 (02:11 +0000)]
Merge "Clean up print subsystem"

8 years agoMerge "Close closeguard of PageContentRepository."
Philip P. Moltmann [Wed, 23 Dec 2015 01:28:07 +0000 (01:28 +0000)]
Merge "Close closeguard of PageContentRepository."

8 years agoClean up print subsystem
Philip P. Moltmann [Fri, 18 Dec 2015 21:58:40 +0000 (13:58 -0800)]
Clean up print subsystem

- Stop using deprecated APIs
- Fix all public and some internal javadoc
- Add @Decorations to public APIs
- Some minor cleanup, e.g. don't use variables with overlapping names in same scope
- remove unnecessary properties from manifest (they are set by the build
  system)

Change-Id: I0ce8849a516414763fe9de76c3a18ce17d896816

8 years agoMerge "Adjust grid margins to match mocks."
Ben Kwa [Wed, 23 Dec 2015 01:13:03 +0000 (01:13 +0000)]
Merge "Adjust grid margins to match mocks."

8 years agoMerge "Fix various band select instabilities."
Ben Kwa [Wed, 23 Dec 2015 01:11:33 +0000 (01:11 +0000)]
Merge "Fix various band select instabilities."

8 years agoMerge "Update grid items to look more like the mocks."
Ben Kwa [Wed, 23 Dec 2015 01:11:12 +0000 (01:11 +0000)]
Merge "Update grid items to look more like the mocks."

8 years agoAdjust grid margins to match mocks.
Ben Kwa [Wed, 23 Dec 2015 00:45:01 +0000 (16:45 -0800)]
Adjust grid margins to match mocks.

BUG=25560424

Change-Id: I11edfd9585299acb22ca14b518274ae2538a7d01

8 years agoMerge "Fix a crash. InputDevice can be null."
Jun Mukai [Wed, 23 Dec 2015 00:00:08 +0000 (00:00 +0000)]
Merge "Fix a crash. InputDevice can be null."

8 years agoFix various band select instabilities.
Ben Kwa [Tue, 22 Dec 2015 23:27:14 +0000 (15:27 -0800)]
Fix various band select instabilities.

- Guard against OutOfBoundsExceptions by checking for
  RecyclerView.NO_POSITION before attempting to retrieve model IDs in
  various places.

- Fix a spot where the default return value of
  SparseIntArray.get (i.e. 0) was causing item 0 to incorrectly get
  selected.

BUGS=26249027,26309874

Change-Id: I08d2e8c90bdd40a4738bdcf357de31e8fe6ddecf

8 years agoUpdate grid items to look more like the mocks.
Ben Kwa [Tue, 22 Dec 2015 22:03:30 +0000 (14:03 -0800)]
Update grid items to look more like the mocks.

- Create a new layout for directory items, which have a different
  layout (no thumbnail, size or mod_date).

- Add drop shadows.

Also refactor a few things in the DocumentHolder and child classes to
make things more efficient and cleaner.

BUG=24326989,26229570

Change-Id: I05df52b071667190d4c4c671f50d25498383cdaa

8 years agoBind DropPermissions life cycle to Activity
Vladislav Kaznacheev [Fri, 18 Dec 2015 20:23:43 +0000 (12:23 -0800)]
Bind DropPermissions life cycle to Activity

Move requestDropPermissions from DragEvent to Activity.
Permissions will be granted using UriPermissionOwner
 associated with this activity and revoked when the activity
 is destroyed (if DropPermissions.release is not called before that).

Change-Id: Ic8f8fc3f56f57e83b9bc34ae8c96d82c2c9c4e1d

8 years agoFix a crash. InputDevice can be null.
Jun Mukai [Tue, 22 Dec 2015 22:20:24 +0000 (14:20 -0800)]
Fix a crash. InputDevice can be null.

Bug: 26306228
Change-Id: I2ada939cbacb9886bd04da791b185eb49a0a2f55

8 years agoMerge "Pressing back button clears search"
Aga Wronska [Tue, 22 Dec 2015 22:08:08 +0000 (22:08 +0000)]
Merge "Pressing back button clears search"

8 years agoMerge "AAPT2: Fix compiler error in 32-bit host test"
Dan Willemsen [Tue, 22 Dec 2015 21:55:36 +0000 (21:55 +0000)]
Merge "AAPT2: Fix compiler error in 32-bit host test"

8 years agoMerge "Allow a print service to specify per printer icons, description and info-activ...
Philip P. Moltmann [Tue, 22 Dec 2015 21:49:30 +0000 (21:49 +0000)]
Merge "Allow a print service to specify per printer icons, description and info-activities"

8 years agoAAPT2: Fix compiler error in 32-bit host test
Dan Willemsen [Tue, 22 Dec 2015 21:01:05 +0000 (13:01 -0800)]
AAPT2: Fix compiler error in 32-bit host test

We now default host native tests to build both 32-bit and 64-bit
versions.

The 32-bit version of libaapt2_test was broken because it was comparing
an unsigned int to the result from std::count(std::vector), which is a
signed int. The 64-bit version compiled fine, since
std::count(std::vector) returns a long.

Change-Id: I786fcd8a54d9f78b76b19ef82ab8dda6f5c42197

8 years agoPressing back button clears search
Aga Wronska [Mon, 21 Dec 2015 19:43:40 +0000 (11:43 -0800)]
Pressing back button clears search

Bug:26143308
Change-Id: Iaa02d39a6ee1fd1a0c7d4d07453a481af97c7664

8 years agoMerge "Set SCALING_MODE_NO_SCALE_CROP for SurfaceView."
Rob Carr [Tue, 22 Dec 2015 21:07:45 +0000 (21:07 +0000)]
Merge "Set SCALING_MODE_NO_SCALE_CROP for SurfaceView."

8 years agoMerge "SystemUI: implement bluetooth scan timeout"
David Riley [Tue, 22 Dec 2015 18:45:06 +0000 (18:45 +0000)]
Merge "SystemUI: implement bluetooth scan timeout"

8 years agoMerge "Add a permission to shell for running multi window tests."
Filip Gruszczynski [Tue, 22 Dec 2015 17:29:39 +0000 (17:29 +0000)]
Merge "Add a permission to shell for running multi window tests."

8 years agoAdd a permission to shell for running multi window tests.
Filip Gruszczynski [Tue, 22 Dec 2015 17:22:34 +0000 (09:22 -0800)]
Add a permission to shell for running multi window tests.

Bug: 19225708
Change-Id: Ia2de679b133acee992ccdab3bfddbdd9d78f5025

8 years agoMerge "Allow device and profile owner to modify accounts"
Benjamin Franz [Tue, 22 Dec 2015 17:00:19 +0000 (17:00 +0000)]
Merge "Allow device and profile owner to modify accounts"

8 years agoMerge "QS: Fix header layout when alarm set"
Jason Monk [Tue, 22 Dec 2015 16:37:24 +0000 (16:37 +0000)]
Merge "QS: Fix header layout when alarm set"

8 years agoQS: Fix header layout when alarm set
Jason Monk [Tue, 22 Dec 2015 16:34:36 +0000 (11:34 -0500)]
QS: Fix header layout when alarm set

Change-Id: I9f16ccb545abaea85ecaca29a221599c767003b8

8 years agoAllow device and profile owner to modify accounts
Benjamin Franz [Thu, 5 Nov 2015 10:06:51 +0000 (10:06 +0000)]
Allow device and profile owner to modify accounts

The user restriction DISALLOW_MODIFY_ACCOUNTS and the policy
DPM.setAccountManagementDisabled can now be circumvented by a device
or profile owner. This allows the device or profile owner to add
accounts without briefly having to remove the policy.

Bug: 22030831
Change-Id: I2b59c4b3ad354287d7a00f21b2afef072d12517d

8 years agoMerge "that works, but can you find a more efficient solution?"
Chris Wren [Tue, 22 Dec 2015 15:37:04 +0000 (15:37 +0000)]
Merge "that works, but can you find a more efficient solution?"

8 years agothat works, but can you find a more efficient solution?
Chris Wren [Tue, 22 Dec 2015 15:34:22 +0000 (10:34 -0500)]
that works, but can you find a more efficient solution?

Change-Id: I19f8ff61973d8db5614f9a699b28df7038e44711

8 years agoReenable colored bars for multiwindow
Jorim Jaggi [Mon, 21 Dec 2015 09:58:56 +0000 (10:58 +0100)]
Reenable colored bars for multiwindow

Fix the previous bug that caused that we needed to disable colored bars
by only forcing the layout fullscreen flag for windows that would like
to be laid out with MATCH_PARENT.

Bug: 26050571
Bug: 24365214
Change-Id: I4f197ae5e2bf042980f5e8dc9eb852843af9859c

8 years agoMerge "Remove confusing logging about surface size."
Filip Gruszczynski [Tue, 22 Dec 2015 15:08:44 +0000 (15:08 +0000)]
Merge "Remove confusing logging about surface size."

8 years agoUpdate visual of docked divider to spec
Jorim Jaggi [Fri, 18 Dec 2015 04:04:31 +0000 (20:04 -0800)]
Update visual of docked divider to spec

Change-Id: I85daf672cedb8009509886fc6ae2d700d39274cf

8 years agoMerge "Stop and remove the ephemeral user when it goes to background."
Lenka Trochtova [Tue, 22 Dec 2015 12:53:16 +0000 (12:53 +0000)]
Merge "Stop and remove the ephemeral user when it goes to background."

8 years agoMerge "Revert "Move Language normalization code from Paint.cpp to Minikin.""
Bart Sears [Tue, 22 Dec 2015 09:07:08 +0000 (09:07 +0000)]
Merge "Revert "Move Language normalization code from Paint.cpp to Minikin.""

8 years agoRevert "Move Language normalization code from Paint.cpp to Minikin."
Bart Sears [Tue, 22 Dec 2015 09:03:19 +0000 (09:03 +0000)]
Revert "Move Language normalization code from Paint.cpp to Minikin."

This reverts commit 5640ae00e76f71a35b10b805bbee55efac6b16f2.

Change-Id: If6dfcd74154c3fa49d1fb037ae78fd84f9844591

8 years agoMerge "Unmount appfuse when the device FD is closed."
Daichi Hirono [Tue, 22 Dec 2015 05:31:57 +0000 (05:31 +0000)]
Merge "Unmount appfuse when the device FD is closed."

8 years agoUnmount appfuse when the device FD is closed.
Daichi Hirono [Wed, 16 Dec 2015 00:24:16 +0000 (09:24 +0900)]
Unmount appfuse when the device FD is closed.

The CL lets MountService to observe device FD, and request unmount to
vold when the device FD was closed, or remote application providing
appfuse is crashed.

BUG=25756420

Change-Id: I7990694d32affa7f89e3f40badb25098d74d744d

8 years agoMerge "Break while loop when the thread interuppted."
Daichi Hirono [Tue, 22 Dec 2015 04:03:27 +0000 (04:03 +0000)]
Merge "Break while loop when the thread interuppted."

8 years agoMerge "Move Language normalization code from Paint.cpp to Minikin."
Seigo Nonaka [Tue, 22 Dec 2015 04:01:19 +0000 (04:01 +0000)]
Merge "Move Language normalization code from Paint.cpp to Minikin."

8 years agoBreak while loop when the thread interuppted.
Daichi Hirono [Tue, 22 Dec 2015 03:57:47 +0000 (12:57 +0900)]
Break while loop when the thread interuppted.

Previously the while loop condition refers to Thread.interrupted()
wrongly. The Thread.interrupted() flag is cleared when the
InterupptedException is thrown.

BUG=26297698

Change-Id: I113d5c88389d54a4a6e29af2cf9515b1693b59dc

8 years agoMerge "Exclude input devices when finding sinks from audio policy."
Takayuki Hoshi [Tue, 22 Dec 2015 03:05:27 +0000 (03:05 +0000)]
Merge "Exclude input devices when finding sinks from audio policy."

8 years agoMerge "Refactor DocumentHolder."
Ben Kwa [Mon, 21 Dec 2015 23:35:39 +0000 (23:35 +0000)]
Merge "Refactor DocumentHolder."

8 years agoMerge "Use shared namespace for bundled app classloader" am: 76a9e55a8f
Dimitry Ivanov [Mon, 21 Dec 2015 23:33:55 +0000 (23:33 +0000)]
Merge "Use shared namespace for bundled app classloader" am: 76a9e55a8f
am: c53d159b3e

* commit 'c53d159b3e2cf96fe1fcf06c66bdb7011b65f46f':
  Use shared namespace for bundled app classloader

8 years agoRefactor DocumentHolder.
Ben Kwa [Thu, 17 Dec 2015 18:37:00 +0000 (10:37 -0800)]
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

8 years agoMerge "Use shared namespace for bundled app classloader"
Dimitry Ivanov [Mon, 21 Dec 2015 23:27:57 +0000 (15:27 -0800)]
Merge "Use shared namespace for bundled app classloader"
am: 76a9e55a8f

* commit '76a9e55a8fd751e747511a9c7d02dddca31964c3':
  Use shared namespace for bundled app classloader

8 years agoMerge "Use shared namespace for bundled app classloader"
Dimitry Ivanov [Mon, 21 Dec 2015 23:10:49 +0000 (23:10 +0000)]
Merge "Use shared namespace for bundled app classloader"

8 years agoSet SCALING_MODE_NO_SCALE_CROP for SurfaceView.
Robert Carr [Thu, 17 Dec 2015 02:16:21 +0000 (18:16 -0800)]
Set SCALING_MODE_NO_SCALE_CROP for SurfaceView.

When resizing SurfaceView along with a main application window,
we want to be able to update the crop of the SurfaceView without waiting
for a buffer at a new size. If we fail to do so the SurfaceView may
extend beyond the edge of the host surface.

Bug: 26010823
Change-Id: I3bb52f82c02bb729a2494a3a43b9654d9aae9532

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 21 Dec 2015 22:54:57 +0000 (22:54 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 21:20:47 +0000 (22:20 +0100)]
Import translations. DO NOT MERGE

Change-Id: Ib5a77438d29248558a83c8ea3b546d538ac89587
Auto-generated-cl: translation import

8 years agoSystemUI: implement bluetooth scan timeout
Dmitry Torokhov [Fri, 6 Nov 2015 01:40:32 +0000 (17:40 -0800)]
SystemUI: implement bluetooth scan timeout

When we dock with Pixel C keyboard we normally expect to find it, and so
we perform a low latency scan (which uses highest duty cycle). But if
keyboard is not charged or if tablet mode trigger misfires (because
there was a magnetic object in proximity?) we may not find the keyboard
and will continue scanning indefinitely, impacting WiFi performance and
draining battery. To avoid this scenario let's stop scan if we do not
find "our" device in 30 seconds.

Also remove STATE_WAITING_FOR_STATE_PAIRED as it was unused.

Change-Id: I4bf1a9a163d3165eaa5e8f1cc2d2938465d454af
(cherry picked from commit 6c12c3a6538591b5fa6e11cb4f583aa494e0ce5c)
Signed-off-by: David Riley <davidriley@google.com>
8 years agoMerge "Add hostname aware isCleartextTrafficPermitted" am: a2f2c5c340
Chad Brubaker [Mon, 21 Dec 2015 19:05:01 +0000 (19:05 +0000)]
Merge "Add hostname aware isCleartextTrafficPermitted" am: a2f2c5c340
am: c642e052f0

* commit 'c642e052f095d42882f46c2667d609136e269069':
  Add hostname aware isCleartextTrafficPermitted

8 years agoMerge "Add hostname aware isCleartextTrafficPermitted"
Chad Brubaker [Mon, 21 Dec 2015 19:01:01 +0000 (19:01 +0000)]
Merge "Add hostname aware isCleartextTrafficPermitted"
am: a2f2c5c340

* commit 'a2f2c5c340b552b92088966734097845b76ea310':
  Add hostname aware isCleartextTrafficPermitted

8 years agoMerge "Add hostname aware isCleartextTrafficPermitted"
Chad Brubaker [Mon, 21 Dec 2015 18:52:48 +0000 (18:52 +0000)]
Merge "Add hostname aware isCleartextTrafficPermitted"

8 years agoMerge "Add GLES32 class and JNI"
Pablo Ceballos [Mon, 21 Dec 2015 18:42:03 +0000 (18:42 +0000)]
Merge "Add GLES32 class and JNI"

8 years agoRemoved duplicated entry added by bad merging skills.
Felipe Leme [Mon, 21 Dec 2015 18:08:43 +0000 (10:08 -0800)]
Removed duplicated entry added by bad merging skills.

BUG: 26274653
Change-Id: I68c5e95739a57123591daeb3988532badb89046d

8 years agoMerge "Handle bugreport screenshots on Shell."
Felipe Leme [Mon, 21 Dec 2015 17:58:22 +0000 (17:58 +0000)]
Merge "Handle bugreport screenshots on Shell."

8 years agoAllow a print service to specify per printer icons, description and
Philip P. Moltmann [Tue, 1 Dec 2015 22:44:24 +0000 (14:44 -0800)]
Allow a print service to specify per printer icons, description and
info-activities

The icon is loaded from the discovery session only when it is displayed
to avoid having to store too many icons in memory.

Also the icons are not maintained in the historical printers. Only if
the printers are available nice icons are shown. A historical printer is
updated with the appropriate properties (including icon) once it becomes
available.

Bug: 24135005
Change-Id: Iec389bab514b024634be8fb5fc8928371cba8740

8 years agoMerge "Added messages for the new "Take bug report" dialog."
Felipe Leme [Mon, 21 Dec 2015 17:49:25 +0000 (17:49 +0000)]
Merge "Added messages for the new "Take bug report" dialog."

8 years agoStop and remove the ephemeral user when it goes to background.
Lenka Trochtova [Wed, 16 Dec 2015 11:32:31 +0000 (12:32 +0100)]
Stop and remove the ephemeral user when it goes to background.

BUG: 24883058

Change-Id: I0e15487fafe08234cde5eebfb9f1d7b96fc7f9fe

8 years agoRemove confusing logging about surface size.
Filip Gruszczynski [Mon, 21 Dec 2015 17:34:16 +0000 (09:34 -0800)]
Remove confusing logging about surface size.

Change-Id: I377cb6dd25c5db9939a6b7f87fef634426d6c2b4

8 years agoMerge "Always elevate input method above the input target."
Filip Gruszczynski [Mon, 21 Dec 2015 17:13:45 +0000 (17:13 +0000)]
Merge "Always elevate input method above the input target."

8 years agoMerge "Prevent NPE in layer assignment, not all windows have a stack."
Filip Gruszczynski [Mon, 21 Dec 2015 17:12:15 +0000 (17:12 +0000)]
Merge "Prevent NPE in layer assignment, not all windows have a stack."

8 years agoAlways elevate input method above the input target.
Filip Gruszczynski [Mon, 21 Dec 2015 16:56:41 +0000 (08:56 -0800)]
Always elevate input method above the input target.

Bug: 26286301
Change-Id: I02dd290c1dbababed26d34a7e61bb4d7bad5e9ac

8 years agoHandle bugreport screenshots on Shell.
Felipe Leme [Sat, 19 Dec 2015 00:12:41 +0000 (16:12 -0800)]
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

8 years agoPrevent NPE in layer assignment, not all windows have a stack.
Filip Gruszczynski [Mon, 21 Dec 2015 16:28:54 +0000 (08:28 -0800)]
Prevent NPE in layer assignment, not all windows have a stack.

Bug: 26285039
Change-Id: Ie7099a4ec3f1195295308755821c603975bff183

8 years agoMerge "Color transforms for the tuner"
Jason Monk [Mon, 21 Dec 2015 15:13:52 +0000 (15:13 +0000)]
Merge "Color transforms for the tuner"

8 years agoImport translations. DO NOT MERGE am: fd87e92a42 -s ours am: bb107a854d -s ours
Geoff Mendal [Mon, 21 Dec 2015 15:05:35 +0000 (07:05 -0800)]
Import translations. DO NOT MERGE am: fd87e92a42  -s ours am: bb107a854d  -s ours
am: 82bb06c8f7  -s ours

* commit '82bb06c8f774bcdebdf0fc0de953f78c3b475b11':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE am: fd87e92a42 -s ours
Geoff Mendal [Mon, 21 Dec 2015 15:01:38 +0000 (15:01 +0000)]
Import translations. DO NOT MERGE am: fd87e92a42  -s ours
am: bb107a854d  -s ours

* commit 'bb107a854d64b5c7ed4d8d93fc4c836e9e21c4c1':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE am: 72675c67d0 -s ours
Geoff Mendal [Mon, 21 Dec 2015 15:01:38 +0000 (15:01 +0000)]
Import translations. DO NOT MERGE am: 72675c67d0  -s ours
am: 254df7ab5f  -s ours

* commit '254df7ab5f938dd5bdd67bf10234df68d5b5d4a6':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 14:57:31 +0000 (14:57 +0000)]
Import translations. DO NOT MERGE
am: 72675c67d0  -s ours

* commit '72675c67d052b69dbac3a01faf631de90533a1dd':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 14:57:29 +0000 (14:57 +0000)]
Import translations. DO NOT MERGE
am: fd87e92a42  -s ours

* commit 'fd87e92a42b659be5b120c59d9413d41e94b6753':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 14:53:38 +0000 (06:53 -0800)]
Import translations. DO NOT MERGE

Change-Id: I5348b439170faa76b7d85ce1ab04cebeb0a17c69
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 14:50:08 +0000 (06:50 -0800)]
Import translations. DO NOT MERGE

Change-Id: If00b01a244af6221a01d0c060c58da7389fd1b35
Auto-generated-cl: translation import

8 years agoColor transforms for the tuner
Jason Monk [Tue, 8 Dec 2015 02:45:47 +0000 (21:45 -0500)]
Color transforms for the tuner

Change-Id: I615be65e2b020acd5520f93c04f426c4006221c5

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 21 Dec 2015 14:13:44 +0000 (14:13 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 21 Dec 2015 14:09:13 +0000 (14:09 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Mon, 21 Dec 2015 14:06:57 +0000 (14:06 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 14:00:28 +0000 (06:00 -0800)]
Import translations. DO NOT MERGE

Change-Id: I172a76921ba1c4825f3f1c550c713800e8ea2fc6
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 13:57:13 +0000 (05:57 -0800)]
Import translations. DO NOT MERGE

Change-Id: I868223c518e04d0b20a17a3aef29499312edeabb
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 13:45:54 +0000 (05:45 -0800)]
Import translations. DO NOT MERGE

Change-Id: Iffacfe8c3bebd254f8fbddd71c2c3eab85d1628a
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 21 Dec 2015 13:39:40 +0000 (05:39 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ie9892490fa6ef1d6d531cafc34e8edc816b38a2f
Auto-generated-cl: translation import

8 years agoMerge "Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362."
Narayan Kamath [Mon, 21 Dec 2015 10:59:20 +0000 (10:59 +0000)]
Merge "Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362."

8 years agoMerge "Pass app\'s code paths to the runtime" am: db73912471
Calin Juravle [Mon, 21 Dec 2015 09:57:12 +0000 (01:57 -0800)]
Merge "Pass app\'s code paths to the runtime" am: db73912471
am: 7d7ab7ad3b

* commit '7d7ab7ad3b096d28b274024705b3171e42bebdcd':
  Pass app's code paths to the runtime

8 years agoMerge "Pass app\'s code paths to the runtime"
Calin Juravle [Mon, 21 Dec 2015 09:52:40 +0000 (09:52 +0000)]
Merge "Pass app\'s code paths to the runtime"
am: db73912471

* commit 'db73912471df39aa527971f2884f37295616d3a9':
  Pass app's code paths to the runtime

8 years agoMerge "Pass app's code paths to the runtime"
Calin Juravle [Mon, 21 Dec 2015 09:43:34 +0000 (09:43 +0000)]
Merge "Pass app's code paths to the runtime"

8 years agoMerge "Add support for archives to ExternalStorageProvider."
Tomasz Mikolajewski [Mon, 21 Dec 2015 06:03:39 +0000 (06:03 +0000)]
Merge "Add support for archives to ExternalStorageProvider."

8 years agoMerge "Fix compiler error on com_android_mtp_AppFuse.cpp."
Daichi Hirono [Mon, 21 Dec 2015 04:32:36 +0000 (04:32 +0000)]
Merge "Fix compiler error on com_android_mtp_AppFuse.cpp."

8 years agoFix compiler error on com_android_mtp_AppFuse.cpp.
Daichi Hirono [Mon, 21 Dec 2015 04:13:57 +0000 (13:13 +0900)]
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

8 years agoMerge "Add AppFuse class and its JNI module."
Daichi Hirono [Mon, 21 Dec 2015 03:10:37 +0000 (03:10 +0000)]
Merge "Add AppFuse class and its JNI module."

8 years agoAdd AppFuse class and its JNI module.
Daichi Hirono [Mon, 14 Dec 2015 02:00:54 +0000 (11:00 +0900)]
Add AppFuse class and its JNI module.

BUG=25756145

Change-Id: I10597e3377cf860412e006a118cd979b6f108af3

8 years agoMerge "Add a class Javadoc for MediaBrowser.MediaItem"
Jae Seo [Mon, 21 Dec 2015 01:00:06 +0000 (01:00 +0000)]
Merge "Add a class Javadoc for MediaBrowser.MediaItem"

8 years agoAdd support for archives to ExternalStorageProvider.
Tomasz Mikolajewski [Wed, 25 Nov 2015 03:54:25 +0000 (12:54 +0900)]
Add support for archives to ExternalStorageProvider.

Bug: 20176812
Change-Id: If27cf7d6198d0abcd4458bfbfd27f870ad6d8f30

8 years agoMerge "Make JobSchedulerService encryption aware."
Jeff Sharkey [Sun, 20 Dec 2015 22:40:43 +0000 (22:40 +0000)]
Merge "Make JobSchedulerService encryption aware."

8 years agoMake JobSchedulerService encryption aware.
Jeff Sharkey [Sun, 20 Dec 2015 22:34:01 +0000 (15:34 -0700)]
Make JobSchedulerService encryption aware.

When a user is started, but a persisted job component doesn't appear
in the normal resolution list, we avoid enqueuing the job.  Later
when the user is unlocked, we take another pass over the pending
jobs to see if they became available.

Load keyboard layouts from XML metadata regardless of crypto status,
since we don't need to spin up any remote code.

Add MATCH_SYSTEM_ONLY to make system logic easier to write when
looking for trusted components.

Sprinkle more annotations on ArrayUtils methods.

Bug: 26279465
Change-Id: Iec28e0bb46862b07d740b12a79f6360de68dab0f

8 years agoUse shared namespace for bundled app classloader
Dimitry Ivanov [Sat, 12 Dec 2015 01:34:21 +0000 (17:34 -0800)]
Use shared namespace for bundled app classloader

Allow bundled apps to reference platform native libraries
located in subdirectories of the default library path
(/system/lib/hw/* for example).

In addition to this bundled apps need to share native
libraries with default namespace. Added parameter to
ApplicationLoaders.createClassLoader() to do just that.

Bug: 26165097
Bug: 26164393
(cherry picked from commit 75b10ecccdd1881390075dd22c1d4f9bdf1c5828)

Change-Id: I836e5fed4713f2a605a5de673c40970ef6d988dd

8 years agoTrack libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.
Narayan Kamath [Sun, 20 Dec 2015 20:17:40 +0000 (20:17 +0000)]
Track libcore commit 85d69e16fe1e59e50c1ad228e754abf325088362.

Unhide Pattern.UNICODE_CHARACTER_CLASS.

Change-Id: I5734a3bbe69c825b2563739c953bbf6d98627ab3

8 years agoFixed the maximum number of lines for the bigtext view
Selim Cinek [Fri, 18 Dec 2015 01:01:17 +0000 (17:01 -0800)]
Fixed the maximum number of lines for the bigtext view

Since the summary is now in the header, we can allow one
more line in bigtext. Also made it look nicer if the
bigtext was empty, in case we always want to use bigtext
by default.

Change-Id: I13679de084757ef174b3bf53e75837a4d95ddc99

8 years agoFixed that the expandButton was sometimes visible when it shouldnt
Selim Cinek [Fri, 18 Dec 2015 00:39:06 +0000 (16:39 -0800)]
Fixed that the expandButton was sometimes visible when it shouldnt

This happened when the collapsed height had the same height as the
expanded one.

Bug: 26185377
Change-Id: I9c37a8239cc87bf2192f48bc008700faf4afb5d9

8 years agoMade the layout consistent for the bigText style
Selim Cinek [Thu, 17 Dec 2015 23:36:53 +0000 (15:36 -0800)]
Made the layout consistent for the bigText style

When using BigText style with only 1 line the layout was inconsistent
leading to jumps in the layout.

Change-Id: I86234d4d4732183df738c387d2f9d5dd311b70f3

8 years agoMeasuring the notifications at wrap_content height now
Selim Cinek [Thu, 17 Dec 2015 03:02:19 +0000 (19:02 -0800)]
Measuring the notifications at wrap_content height now

The notifications are now measured at wrap_content such
that the layout still looks good even if the text
was ommited instead of arbitrarily making it bigger.
This also fixes some small rounding issues where the
expanded notification was just a pixel bigger than
the collapsed version.

Bug: 26185377
Change-Id: Ie3339ff75680ab512446605055304576e058f588

8 years agoFixed the minimum height of groups on the lockscreen
Selim Cinek [Thu, 17 Dec 2015 01:26:49 +0000 (17:26 -0800)]
Fixed the minimum height of groups on the lockscreen

Also caching the notification minheight in the algorithm
far less agressively, because it led to bugs.

Change-Id: I57155103bf2700be2e98e686fdd0077ce8e8405b

8 years agoReusing the notification algorithm now when rotating
Selim Cinek [Wed, 16 Dec 2015 01:01:44 +0000 (17:01 -0800)]
Reusing the notification algorithm now when rotating

The notification algorithm had some state which was simply
dropped on rotation and therefore weird things could happen.
This is now fixed.

Change-Id: Ibb3d007b3298f745743bd3a5889bccebebf8105a