OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Display file names in Media libraries in grid mode" into nyc-dev
Aga Wronska [Fri, 11 Mar 2016 01:23:19 +0000 (01:23 +0000)]
Merge "Display file names in Media libraries in grid mode" into nyc-dev

8 years agoMerge "Open drawer when showing copy/move destination screen" into nyc-dev
Aga Wronska [Fri, 11 Mar 2016 01:15:23 +0000 (01:15 +0000)]
Merge "Open drawer when showing copy/move destination screen" into nyc-dev

8 years agoAdding docking checks for multi-window support.
Winson [Fri, 11 Mar 2016 00:35:03 +0000 (16:35 -0800)]
Adding docking checks for multi-window support.

Bug: 27387257
Change-Id: I9f16302e1f9475225538871d9fc09c0706e4dbfb

8 years agoOpen drawer when showing copy/move destination screen
Aga Wronska [Thu, 10 Mar 2016 01:36:44 +0000 (17:36 -0800)]
Open drawer when showing copy/move destination screen

Bug: 27479369
Change-Id: I0bc7efe88ad47885ecf35fb447cfe5c1f38a10d7

8 years agoMerge "Delete downloads activity." into nyc-dev
Steve McKay [Fri, 11 Mar 2016 00:03:59 +0000 (00:03 +0000)]
Merge "Delete downloads activity." into nyc-dev

8 years agoDisplay file names in Media libraries in grid mode
Aga Wronska [Thu, 10 Mar 2016 19:06:47 +0000 (11:06 -0800)]
Display file names in Media libraries in grid mode

Bug: 26829518
Change-Id: If9e2f331df0233ef114c4147ffbc16214558b5ce

8 years agoMerge "Fix node rejection crash" into nyc-dev
Chris Craik [Thu, 10 Mar 2016 23:45:19 +0000 (23:45 +0000)]
Merge "Fix node rejection crash" into nyc-dev

8 years agoMerge "screencap: Nix deprecated direct read of framebuffer." into nyc-dev
Prathmesh Prabhu [Thu, 10 Mar 2016 23:44:09 +0000 (23:44 +0000)]
Merge "screencap: Nix deprecated direct read of framebuffer." into nyc-dev

8 years agoMerge "fix the docs preview version number" into nyc-dev
Scott Main [Thu, 10 Mar 2016 23:43:50 +0000 (23:43 +0000)]
Merge "fix the docs preview version number" into nyc-dev

8 years agoFix node rejection crash
Chris Craik [Thu, 10 Mar 2016 23:43:13 +0000 (15:43 -0800)]
Fix node rejection crash

bug:27598131
Change-Id: Iea05c22ec10f92beef9c47236929eb5f860d84f9

8 years agofix the docs preview version number
smain@google.com [Thu, 10 Mar 2016 23:37:58 +0000 (15:37 -0800)]
fix the docs preview version number

Change-Id: I8c8a8fb6bd431eade40e62a6b135b628811c0558

8 years agoMerge "Making clearAllNotifications in PSB public." into nyc-dev
Muyuan Li [Thu, 10 Mar 2016 23:34:18 +0000 (23:34 +0000)]
Merge "Making clearAllNotifications in PSB public." into nyc-dev

8 years agoscreencap: Nix deprecated direct read of framebuffer.
Prathmesh Prabhu [Thu, 10 Mar 2016 23:23:34 +0000 (15:23 -0800)]
screencap: Nix deprecated direct read of framebuffer.

screencap command had a fallback path that tried to read the framebuffer
directly. This is no longer supported (and is blocked by selinux
policy), so delete said path.

BUG:27598623
Change-Id: I1b002d4a68ad93f75b150029d01b5f0c500be56c

8 years agoMerge "Fallback to byte-by-byte copy/move if optimized fails." into nyc-dev
Steve McKay [Thu, 10 Mar 2016 23:18:49 +0000 (23:18 +0000)]
Merge "Fallback to byte-by-byte copy/move if optimized fails." into nyc-dev

8 years agoMerge "update preview version number to 2 for offline docs" into nyc-dev
Scott Main [Thu, 10 Mar 2016 23:14:26 +0000 (23:14 +0000)]
Merge "update preview version number to 2 for offline docs" into nyc-dev

8 years agoupdate preview version number to 2 for offline docs
smain@google.com [Thu, 10 Mar 2016 23:13:28 +0000 (15:13 -0800)]
update preview version number to 2 for offline docs

Change-Id: I56cab8d21f9521fab17ec79a441c518cf9da536c

8 years agoMerge "make new 'referenceonly' docs build the default for offline docs. add preview...
Scott Main [Thu, 10 Mar 2016 23:12:43 +0000 (23:12 +0000)]
Merge "make new 'referenceonly' docs build the default for offline docs. add preview codename and version number HDF variables for generated docs." into nyc-dev

8 years agoMerge "Setting mBackdropBack to null if artwork isn't available." into nyc-dev
Vadim Tryshev [Thu, 10 Mar 2016 23:08:06 +0000 (23:08 +0000)]
Merge "Setting mBackdropBack to null if artwork isn't available." into nyc-dev

8 years agomake new 'referenceonly' docs build the default for offline docs.
smain@google.com [Thu, 10 Mar 2016 22:13:30 +0000 (14:13 -0800)]
make new 'referenceonly' docs build the default for offline docs.
add preview codename and version number HDF variables for generated docs.

Change-Id: I165526f4e575ec8885bab906e66d17666ea8b4ba

8 years agoMerge "Tweak createManageBlockedNumbersIntent API documentation." into nyc-dev
Abhijith Shastry [Thu, 10 Mar 2016 22:55:17 +0000 (22:55 +0000)]
Merge "Tweak createManageBlockedNumbersIntent API documentation." into nyc-dev

8 years agoMerge "Guard against null bitmap path" into nyc-dev
Makoto Onuki [Thu, 10 Mar 2016 22:29:20 +0000 (22:29 +0000)]
Merge "Guard against null bitmap path" into nyc-dev

8 years agoGuard against null bitmap path
Makoto Onuki [Thu, 10 Mar 2016 22:24:58 +0000 (14:24 -0800)]
Guard against null bitmap path

Bug 27548047

Change-Id: I7130652f5ae6f7ff6bd4ae6a3ace31986a49be30

8 years agoMerge "Cache per-Activity Resources objects" into nyc-dev
Adam Lesinski [Thu, 10 Mar 2016 20:50:39 +0000 (20:50 +0000)]
Merge "Cache per-Activity Resources objects" into nyc-dev

8 years agoMerge "Refactor ShortcutService" into nyc-dev
Makoto Onuki [Thu, 10 Mar 2016 20:42:26 +0000 (20:42 +0000)]
Merge "Refactor ShortcutService" into nyc-dev

8 years agoMerge "Fix crash-loop on wiped FBE device." into nyc-dev
Makoto Onuki [Thu, 10 Mar 2016 20:41:43 +0000 (20:41 +0000)]
Merge "Fix crash-loop on wiped FBE device." into nyc-dev

8 years agoFix crash-loop on wiped FBE device.
Makoto Onuki [Thu, 10 Mar 2016 20:28:38 +0000 (12:28 -0800)]
Fix crash-loop on wiped FBE device.

Bug 27595678

Change-Id: I02708b3c9e5472c5548bda7e6e15189614056471

8 years agoSetting mBackdropBack to null if artwork isn't available.
Vadim Tryshev [Thu, 10 Mar 2016 00:44:30 +0000 (16:44 -0800)]
Setting mBackdropBack to null if artwork isn't available.

Otherwise, it preserves the old image. Later, mBackdropFront will
get this image and try fading from it. This will suddenly flash the
old image.

Bug: 25185253
Change-Id: I702e73684e692712edf48ce31c152c5f5a8bffdb

8 years agoMerge "Fix weird QS Edit bug" into nyc-dev
Jason Monk [Thu, 10 Mar 2016 20:13:20 +0000 (20:13 +0000)]
Merge "Fix weird QS Edit bug" into nyc-dev

8 years agoMerge "Make sure that QQS is invisible on lock screen" into nyc-dev
Jason Monk [Thu, 10 Mar 2016 20:12:50 +0000 (20:12 +0000)]
Merge "Make sure that QQS is invisible on lock screen" into nyc-dev

8 years agoMerge "Change testtag to large as tests needs to have wifi connection" into nyc-dev
Md Haque [Thu, 10 Mar 2016 20:04:02 +0000 (20:04 +0000)]
Merge "Change testtag to large as tests needs to have wifi connection" into nyc-dev

8 years agoMake sure that QQS is invisible on lock screen
Jason Monk [Thu, 10 Mar 2016 19:55:22 +0000 (14:55 -0500)]
Make sure that QQS is invisible on lock screen

Bug: 27536311
Change-Id: Idf5492ac4fd134761139156291968cc5c992ad52

8 years agoFix weird QS Edit bug
Jason Monk [Thu, 10 Mar 2016 19:38:13 +0000 (14:38 -0500)]
Fix weird QS Edit bug

Turns out code is best written while looking at it. Don't set the
layout params on the density container to layout params from another
view. Firstly its not fair to the density container or the qs container.
Secondly it makes the notification panel jealous and it starts eating
all the touches it can find.

Bug: 27586350
Change-Id: I2f8a7c23eda4625cc65390da1e854e5033b179a6

8 years agoDelete downloads activity.
Steve McKay [Wed, 9 Mar 2016 23:20:00 +0000 (15:20 -0800)]
Delete downloads activity.

Delete "MANAGE_ROOT" activity.
Add intent filter for "BROWSE_DOWNLOADS".
Open by default on Downloads directory.

Bug: 27563427
Change-Id: I1f85dc17a0bc94b439a272847e4ab3bb347ead23

8 years agoCache per-Activity Resources objects
Adam Lesinski [Fri, 4 Mar 2016 22:33:47 +0000 (14:33 -0800)]
Cache per-Activity Resources objects

Each Activity has a Resources object whose underlying state changes
when a configuration change occurs, both global and for that activity only (multi-window).
Views and other clients of the Resources object can safely cache it knowing that
they always have a reference to the most up-to-date resources.

This applies to Resources.Theme objects as well.

Bug:26854894
Change-Id: Ifd3da5a1086e17f747dfc265a447fe92a3a5c692

8 years agoMerge "Ensure AccessibilityGestureDetector only returns true when a callback returned...
Zach Kuznia [Thu, 10 Mar 2016 19:27:39 +0000 (19:27 +0000)]
Merge "Ensure AccessibilityGestureDetector only returns true when a callback returned true." into nyc-dev

8 years agoMerge "Adding a setting to force user activity." into nyc-dev
Vadim Tryshev [Thu, 10 Mar 2016 19:25:26 +0000 (19:25 +0000)]
Merge "Adding a setting to force user activity." into nyc-dev

8 years agoMerge "Removing now-unnecessary forgetLoadedWallpaper()." into nyc-dev
Vadim Tryshev [Thu, 10 Mar 2016 19:24:22 +0000 (19:24 +0000)]
Merge "Removing now-unnecessary forgetLoadedWallpaper()." into nyc-dev

8 years agoMerge "Fix touching gear on lock screen" into nyc-dev
Mady Mellor [Thu, 10 Mar 2016 19:21:47 +0000 (19:21 +0000)]
Merge "Fix touching gear on lock screen" into nyc-dev

8 years agoMerge "Fix WebView disappearing" into nyc-dev
Chris Craik [Thu, 10 Mar 2016 19:21:12 +0000 (19:21 +0000)]
Merge "Fix WebView disappearing" into nyc-dev

8 years agoMerge "Update docs to make suspend then uninstall clear." into nyc-dev
Kenny Guy [Thu, 10 Mar 2016 19:19:07 +0000 (19:19 +0000)]
Merge "Update docs to make suspend then uninstall clear." into nyc-dev

8 years agoMerge "DngCreator: Only write orientation into IFD0" into nyc-dev
Eino-Ville Talvala [Thu, 10 Mar 2016 19:15:16 +0000 (19:15 +0000)]
Merge "DngCreator: Only write orientation into IFD0" into nyc-dev

8 years agoFix touching gear on lock screen
Mady Mellor [Wed, 9 Mar 2016 17:50:18 +0000 (09:50 -0800)]
Fix touching gear on lock screen

The header wasn't taking into account the translation of the view
this CL alter so that it accounts for the translation.

Bug: 27484957
Change-Id: I19df138ae46a33863863821b8723cb57dc849454

8 years agoMerge "Fix clobbered RemoteInputView when changing position" into nyc-dev
Adrian Roos [Thu, 10 Mar 2016 19:09:23 +0000 (19:09 +0000)]
Merge "Fix clobbered RemoteInputView when changing position" into nyc-dev

8 years agoFix WebView disappearing
Chris Craik [Thu, 10 Mar 2016 18:27:38 +0000 (10:27 -0800)]
Fix WebView disappearing

bug:27528563

Change-Id: Ib9fefa18ef9fb8eb11edd097cbadf8ab2b911576

8 years agoChange testtag to large as tests needs to have wifi connection
Md Haque [Thu, 10 Mar 2016 18:48:49 +0000 (10:48 -0800)]
Change testtag to large as tests needs to have wifi connection

Change-Id: I345dbbba1c232d127eb4d0084767afbfc7bd55f9

8 years agoMerge "Checked the flag not set in the correct way" into nyc-dev
Lifu Tang [Thu, 10 Mar 2016 18:30:07 +0000 (18:30 +0000)]
Merge "Checked the flag not set in the correct way" into nyc-dev

8 years agoChecked the flag not set in the correct way
Lifu Tang [Thu, 10 Mar 2016 03:32:29 +0000 (19:32 -0800)]
Checked the flag not set in the correct way

The previous macro always returns false after expansion. Fixed the problem, and
also added a mechanism to catch such kind of mistakes during compile time.

Change-Id: I6870dfa80a8cbbaa0e145ae00f09dd0d78cff157

8 years agoMerge "Fixed visibility of home stack behind translucent app activity." into nyc-dev
Wale Ogunwale [Thu, 10 Mar 2016 18:20:44 +0000 (18:20 +0000)]
Merge "Fixed visibility of home stack behind translucent app activity." into nyc-dev

8 years agoMerge "Fix ArcMotion path creation in some quadrants." into nyc-dev
George Mount [Thu, 10 Mar 2016 18:19:09 +0000 (18:19 +0000)]
Merge "Fix ArcMotion path creation in some quadrants." into nyc-dev

8 years agoMerge "Fix bug in new encryption API" into nyc-dev
Paul Lawrence [Thu, 10 Mar 2016 18:14:20 +0000 (18:14 +0000)]
Merge "Fix bug in new encryption API" into nyc-dev

8 years agoMaking clearAllNotifications in PSB public.
Muyuan Li [Thu, 10 Mar 2016 01:15:05 +0000 (17:15 -0800)]
Making clearAllNotifications in PSB public.

Change-Id: I5603755e8f66d12d53dc167e1a97045fa93f60a5
(cherry picked from commit 083281681ef711d7cc1ea64d5ef89a4b46c61e35)

8 years agoMerge "fix docs" into nyc-dev
Todd Kennedy [Thu, 10 Mar 2016 18:11:29 +0000 (18:11 +0000)]
Merge "fix docs" into nyc-dev

8 years agoudpate refonly doc build to include new landing page for dev preview.
smain@google.com [Wed, 9 Mar 2016 22:16:07 +0000 (14:16 -0800)]
udpate refonly doc build to include new landing page for dev preview.

Change-Id: I088425ed1549dd3bae6a5a755884eb4c3cb0af4f
(cherry picked from commit aa6aa2929c546289c873b3d019de4616c2ddc620)

8 years agofix docs
Todd Kennedy [Thu, 10 Mar 2016 18:07:00 +0000 (10:07 -0800)]
fix docs

No code change; just doc clarification per API Review Council suggestions

Bug: 27531045
Change-Id: Ib1eef9635d68d44be596888b46de0650883d118c

8 years agoMerge "cherrypick I4e1ca9fddc6374fd80108e4f9a3b9745f8598507 add new make target for...
Scott Main [Thu, 10 Mar 2016 18:05:58 +0000 (18:05 +0000)]
Merge "cherrypick I4e1ca9fddc6374fd80108e4f9a3b9745f8598507 add new make target for offline docs with only the API reference. Also update the default index.html landing page to redirect to the reference." into nyc-dev

8 years agoFix bug in new encryption API
Paul Lawrence [Thu, 10 Mar 2016 18:02:07 +0000 (10:02 -0800)]
Fix bug in new encryption API

Bug: 27583871
Change-Id: I372f0a6a411704dc57ca9bcc53c4c5a10b236772

8 years agoMerge "Improve AlarmManager docs" into nyc-dev
Chris Tate [Thu, 10 Mar 2016 17:58:17 +0000 (17:58 +0000)]
Merge "Improve AlarmManager docs" into nyc-dev

8 years agoMerge "revert recent changes around system listener registrations" into nyc-dev
Chris Wren [Thu, 10 Mar 2016 17:39:51 +0000 (17:39 +0000)]
Merge "revert recent changes around system listener registrations" into nyc-dev

8 years agoMerge "Added shortcut key to dock windows" into nyc-dev
Muyuan Li [Thu, 10 Mar 2016 17:33:42 +0000 (17:33 +0000)]
Merge "Added shortcut key to dock windows" into nyc-dev

8 years agoMerge "Fix roam icon issues in Austria" into nyc-dev
Jack Yu [Thu, 10 Mar 2016 17:29:16 +0000 (17:29 +0000)]
Merge "Fix roam icon issues in Austria" into nyc-dev

8 years agoMerge "Refer to hasSystemFeature(String, int) in Vulkan feature docs" into nyc-dev
Jesse Hall [Thu, 10 Mar 2016 17:17:24 +0000 (17:17 +0000)]
Merge "Refer to hasSystemFeature(String, int) in Vulkan feature docs" into nyc-dev

8 years agoRefer to hasSystemFeature(String, int) in Vulkan feature docs
Jesse Hall [Thu, 10 Mar 2016 17:04:26 +0000 (09:04 -0800)]
Refer to hasSystemFeature(String, int) in Vulkan feature docs

Bug: 27531286
Change-Id: Ifb32ae519fc8118923d6216e1d574cbbf83dfd23

8 years agoMerge "Track libcore change 45837f486a4fd1d0edc9bb5ab8f8cf0194204adc." into nyc-dev
Narayan Kamath [Thu, 10 Mar 2016 17:02:20 +0000 (17:02 +0000)]
Merge "Track libcore change 45837f486a4fd1d0edc9bb5ab8f8cf0194204adc." into nyc-dev

8 years agoAdding a setting to force user activity.
Vadim Tryshev [Wed, 9 Mar 2016 22:24:29 +0000 (14:24 -0800)]
Adding a setting to force user activity.

Bug: 25185253
Change-Id: Ic7d351e0e6a1dc9e1d7424ed30226ab1cf773cde

8 years agoMerge "Track libcore change b695412b529c8dced105867c6d9d7fd463a67714" into nyc-dev
Yi Kong [Thu, 10 Mar 2016 16:57:38 +0000 (16:57 +0000)]
Merge "Track libcore change b695412b529c8dced105867c6d9d7fd463a67714" into nyc-dev

8 years agoMerge "Remove redundant twiddling of Settings.Secure.ACCESSIBILITY_ENABLED" into...
Tony Mantler [Thu, 10 Mar 2016 16:54:09 +0000 (16:54 +0000)]
Merge "Remove redundant twiddling of Settings.Secure.ACCESSIBILITY_ENABLED" into nyc-dev

8 years agorevert recent changes around system listener registrations
Chris Wren [Thu, 10 Mar 2016 16:41:10 +0000 (11:41 -0500)]
revert recent changes around system listener registrations

also guard against the ranker calling the self-service registration functions.
"why do we even have that lever?"

Bug: 27577115
Change-Id: I8a01cfdd801320e53d56bcbf515b9ba17e677166

8 years agoMerge "Added Talkback announcements for Data Saver switch." into nyc-dev
Felipe Leme [Thu, 10 Mar 2016 16:34:40 +0000 (16:34 +0000)]
Merge "Added Talkback announcements for Data Saver switch." into nyc-dev

8 years agoRemoving now-unnecessary forgetLoadedWallpaper().
Vadim Tryshev [Thu, 10 Mar 2016 16:23:10 +0000 (08:23 -0800)]
Removing now-unnecessary forgetLoadedWallpaper().

ag/882986 fixed problems including returning a cached
wallpaper after a user switch, making the 'forget...' call
unnecessary.

Bug: 25185253
Change-Id: I452ea8d097b1f248e1411a88b573e7242ed64290

8 years agoTrack libcore change b695412b529c8dced105867c6d9d7fd463a67714
Yi Kong [Thu, 10 Mar 2016 12:57:24 +0000 (12:57 +0000)]
Track libcore change b695412b529c8dced105867c6d9d7fd463a67714

Bug: 27427000
Change-Id: I6eecd1c5da1587435876a04f51e5a9424149fba1
(cherry picked from commit 40f79bb542c9028fe998a111555626af78bb86ce)
(cherry picked from commit bfd9479b2c2d5be670a530fd03dea48d47a1c318)

8 years agoTrack libcore change 45837f486a4fd1d0edc9bb5ab8f8cf0194204adc.
Narayan Kamath [Sat, 5 Mar 2016 11:04:19 +0000 (11:04 +0000)]
Track libcore change 45837f486a4fd1d0edc9bb5ab8f8cf0194204adc.

Also includes test-current.txt generated locally.

bug: 27426688

(cherry picked from commit 741ba661c445d9a101043660ac3a151c2c02133c)

Change-Id: I12d99b925335c8926e9c4257ee743d25fda9452d

8 years agoMerge "DO NOT MERGE: Initialize layoutlib variables before using them" into mnc-ub-dev
Diego Perez [Thu, 10 Mar 2016 16:15:09 +0000 (16:15 +0000)]
Merge "DO NOT MERGE: Initialize layoutlib variables before using them" into mnc-ub-dev
am: f2af68312b  -s ours

* commit 'f2af68312bdcbb19411df21553d514c6aa1989bf':
  DO NOT MERGE: Initialize layoutlib variables before using them

8 years agoMerge "Allow user to get his own icon." into nyc-dev
Oleksandr Peletskyi [Thu, 10 Mar 2016 16:09:05 +0000 (16:09 +0000)]
Merge "Allow user to get his own icon." into nyc-dev

8 years agoMerge "DO NOT MERGE: Initialize layoutlib variables before using them" into mnc-ub-dev
Diego Perez [Thu, 10 Mar 2016 16:06:39 +0000 (16:06 +0000)]
Merge "DO NOT MERGE: Initialize layoutlib variables before using them" into mnc-ub-dev

8 years agoMerge "Use compound drawable instead of image span." into nyc-dev
Sudheer Shanka [Thu, 10 Mar 2016 15:58:23 +0000 (15:58 +0000)]
Merge "Use compound drawable instead of image span." into nyc-dev

8 years agoTuning down wtf to warning for setting ro.device_owner property
Michal Karpinski [Wed, 9 Mar 2016 17:01:14 +0000 (17:01 +0000)]
Tuning down wtf to warning for setting ro.device_owner property

This was logged to often, especially while running CTS hostside tests
and looked too scary to people.

Bug: 27230864
Change-Id: I9e81d9efe87b4aed18aa473be647c560ff9cfa0d

8 years agoUpdate docs to make suspend then uninstall clear.
Kenny Guy [Wed, 9 Mar 2016 20:06:16 +0000 (20:06 +0000)]
Update docs to make suspend then uninstall clear.

Update docs to say suspending then unintalling an
app unsuspends the app. Point out admin can block
uninstall if they want.

Bug: 26935242
Change-Id: I4390fa20c9d8954b36ff80fc449b62891eee598c

8 years agoAllow user to get his own icon.
Oleksandr Peletskyi [Thu, 25 Feb 2016 15:28:39 +0000 (16:28 +0100)]
Allow user to get his own icon.

Fixed behavior in order to let user without MANAGE_USERS permission
to obtain his own icon or any icon of the user's 'user group'.

BUG: 27583869
Change-Id: I71a86b0816db1d9c4543db375de504395a726a8d

8 years agoMerge "Fine scale the decoded result to match the desired sampleSize." into nyc-dev
Anton Daubert [Thu, 10 Mar 2016 12:06:27 +0000 (12:06 +0000)]
Merge "Fine scale the decoded result to match the desired sampleSize." into nyc-dev

8 years agoMerge "ExifInterface: implement the serialzation for Exif IFD structures" into nyc-dev
Jaesung Chung [Thu, 10 Mar 2016 08:35:23 +0000 (08:35 +0000)]
Merge "ExifInterface: implement the serialzation for Exif IFD structures" into nyc-dev

8 years agoFallback to byte-by-byte copy/move if optimized fails.
Tomasz Mikolajewski [Wed, 2 Mar 2016 08:41:40 +0000 (17:41 +0900)]
Fallback to byte-by-byte copy/move if optimized fails.

Sometimes providers may refuse to do a provider-side copy/move
even though the documents had the SUPPORTS_COPY/MOVE flags set.

This is because optimized copy/move may be only supported within
the same root.

Since there is no easy way to check if documents are on the same
roots from DocumentsUI, as well as whether the provider can actually
copy/move efficiently between different roots, we should tolerate the
failure and do a fallback to byte-by-byte operation.

Bug: 27436368
Change-Id: Ia1a0fbdba26c06b2151afc25d8513c01d60d31db

8 years agoExifInterface: implement the serialzation for Exif IFD structures
Jaesung Chung [Fri, 4 Mar 2016 06:31:23 +0000 (15:31 +0900)]
ExifInterface: implement the serialzation for Exif IFD structures

One image can have multiple image file directories, which stores the
attributes of the image, in Exif specification to save metadata.
In the old version, the all attributes from several image file
directories were combined in a one hash map eventually and were served
without distinction of the original IFD group.

In order to keep the original data as much as possible, it loads/saves
the attributes based on the original IFD group internally.

Bug: 26044456, Bug: 11224701
Change-Id: I416e4e79fd47461c9aa83ce13591ed1a5d42f26e

8 years agoMerge "Annotate fonts.xml with intended scripts" into nyc-dev
Roozbeh Pournader [Thu, 10 Mar 2016 06:38:54 +0000 (06:38 +0000)]
Merge "Annotate fonts.xml with intended scripts" into nyc-dev

8 years agoAnnotate fonts.xml with intended scripts
Roozbeh Pournader [Thu, 10 Mar 2016 05:36:28 +0000 (21:36 -0800)]
Annotate fonts.xml with intended scripts

Add various ISO 15924 codes to fonts.xml, as a signal for better
font selection in Minikin.

Bug: 27582800
Bug: 26187231
Change-Id: Ie06c156e0179e79c15cf2d66d577c3d36571860d

8 years agoMerge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev
Adam Lesinski [Thu, 10 Mar 2016 05:05:14 +0000 (05:05 +0000)]
Merge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev

8 years agoMerge "ExifInterface: fix a bug in readExifEntryValue" into nyc-dev
Jaesung Chung [Thu, 10 Mar 2016 04:26:51 +0000 (04:26 +0000)]
Merge "ExifInterface: fix a bug in readExifEntryValue" into nyc-dev

8 years agoMerge "Fix Download Manager Functional test and enable for APCT" into nyc-dev
Md Haque [Thu, 10 Mar 2016 02:32:54 +0000 (02:32 +0000)]
Merge "Fix Download Manager Functional test and enable for APCT" into nyc-dev

8 years agoMerge "Fix regression when setting initial offset when docked." into nyc-dev
Winson Chung [Thu, 10 Mar 2016 02:32:15 +0000 (02:32 +0000)]
Merge "Fix regression when setting initial offset when docked." into nyc-dev

8 years agoFix regression when setting initial offset when docked.
Winson [Thu, 10 Mar 2016 02:30:32 +0000 (18:30 -0800)]
Fix regression when setting initial offset when docked.

Change-Id: Ide8e9eb2d97b5540186736fc73b093e4385613bd

8 years agoMerge "Revert "Apply transformations while offsetting focused rects"" into nyc-dev
Hyunyoung Song [Thu, 10 Mar 2016 02:22:56 +0000 (02:22 +0000)]
Merge "Revert "Apply transformations while offsetting focused rects"" into nyc-dev

8 years agoMerge "Fixing issue with animations not being cancelled." into nyc-dev
Winson Chung [Thu, 10 Mar 2016 02:21:05 +0000 (02:21 +0000)]
Merge "Fixing issue with animations not being cancelled." into nyc-dev

8 years agoFixing issue with animations not being cancelled.
Winson [Thu, 10 Mar 2016 01:44:54 +0000 (17:44 -0800)]
Fixing issue with animations not being cancelled.

Bug: 27533931
Change-Id: I724643ec8a2c6cdaa3cade72ae40abcf9d28bae5

8 years agoRevert "Apply transformations while offsetting focused rects"
Hyunyoung Song [Wed, 9 Mar 2016 22:51:02 +0000 (22:51 +0000)]
Revert "Apply transformations while offsetting focused rects"

b/27335262

This reverts commit 83e725da7aad97409d96eed784a076f6d4841b54.

Change-Id: I55079bbaab81610e9de3a8d68ed21cf352da5983

8 years agoImprove AlarmManager docs
Christopher Tate [Thu, 10 Mar 2016 01:42:52 +0000 (17:42 -0800)]
Improve AlarmManager docs

In particular, add some missing information about what
getNextAlarmClock() returns.

Bug 27562400

Change-Id: I8c76b0c4208082d4da8ea490518e023584da6440

8 years agoMerge "DO NOT MERGE: Add separate information about user whitelist." into nyc-dev
Dianne Hackborn [Thu, 10 Mar 2016 01:46:02 +0000 (01:46 +0000)]
Merge "DO NOT MERGE: Add separate information about user whitelist." into nyc-dev

8 years agoDO NOT MERGE: Add separate information about user whitelist.
Dianne Hackborn [Thu, 11 Feb 2016 00:28:29 +0000 (16:28 -0800)]
DO NOT MERGE: Add separate information about user whitelist.

Use this in the alarm manager to allow user whitelisted apps
to have free access to scheduling alarms.

Coming next: lifting sync/job restrictions.

Bug #26851107: Allow user whitelist apps more freedom

(Cherry-picked to nyc since it got lost in the branch from master.)

Change-Id: I4dc9f07514627ebdb6b6eff7c7a749f2c51a3797

8 years agoMerge "Skip MTP launch notification for devices having FEATURE_AUTOMOTIVE." into...
Daichi Hirono [Thu, 10 Mar 2016 01:35:27 +0000 (01:35 +0000)]
Merge "Skip MTP launch notification for devices having FEATURE_AUTOMOTIVE." into nyc-dev

8 years agoAssetManager: Cache a pre-filtered list of configurations
Adam Lesinski [Wed, 24 Feb 2016 01:49:53 +0000 (17:49 -0800)]
AssetManager: Cache a pre-filtered list of configurations

When we set the parameters for a ResTable, we can pre-filter which
resources match and only look at that smaller list when getting entries.
This helps A LOT with types that have many configurations, like strings
and all their various locales.

We must store the cached entries in a parallel data structure because parts
of the main Type object are shared with other ResTables, causing data races.

Bug:25499111
Change-Id: I63e37dcbd683fc9f1e7d0f3a6ed4c1c01e0fc575

8 years agoMerge "Fix description for the string disabled_by_admin." into nyc-dev
Sudheer Shanka [Thu, 10 Mar 2016 01:05:35 +0000 (01:05 +0000)]
Merge "Fix description for the string disabled_by_admin." into nyc-dev

8 years agoFix description for the string disabled_by_admin.
Sudheer Shanka [Thu, 10 Mar 2016 01:04:15 +0000 (17:04 -0800)]
Fix description for the string disabled_by_admin.

Change-Id: I229891fd6796521fc0b84f5ae5463b8697cf0934