221206 Commits

Author SHA1 Message Date
Tomasz Mikolajewski
2273e0f095 Implement efficient move on Internal Storage.
Bug:24884813
Change-Id: I5a8dfeb13313a3e60ba2993643eb547adca7b851
2015-11-05 13:12:32 +09:00
Tomasz Mikolajewski
b29cb7c9ae Merge "Remove TRANSFER_MODE_NONE from CopyManager." 2015-11-05 04:02:36 +00:00
Chong Zhang
1b2c41cd6c Merge "fix missing dim layer surface" 2015-11-05 03:55:51 +00:00
Chong Zhang
9263a045ba fix missing dim layer surface
bug: 24913379
Change-Id: Id3280ba9cccea57ca9cf0274cea589cd58e71a56
2015-11-04 18:39:08 -08:00
Tomasz Mikolajewski
261b6bdd36 Remove TRANSFER_MODE_NONE from CopyManager.
This field is not necessary, as an operation is always either copy or move.

Change-Id: Ide68bb2bf5d237ed4c9abe8c443edd8e12dd82dd
2015-11-05 11:31:32 +09:00
Tomasz Mikolajewski
35534d97c6 Merge "Wire copyDocument and moveDocument to CopyService." 2015-11-05 02:25:23 +00:00
Tomasz Mikolajewski
54c14948ee Wire copyDocument and moveDocument to CopyService.
Bug:24884665
Change-Id: Iaeac9ffa468150853f0f36c439f98df53937e519
2015-11-05 11:24:37 +09:00
Felipe Leme
46475e4028 Merge "Clarified usage of onDetach() and onCreate() when setRetainInstance() is set to true. BUG: 25455734" 2015-11-05 02:19:06 +00:00
Chris Tate
adf0698b40 Merge "Make WorkSource version of alarm listener API @SystemApi" 2015-11-05 02:02:49 +00:00
Winson Chung
986739a65d Merge "Adding dnd to/from freeform workspaces." 2015-11-05 01:59:57 +00:00
Winson
eca4ab6e99 Adding dnd to/from freeform workspaces.
Change-Id: I5b75fe5a942e9a2e344e62229e860b5108f9872e
2015-11-04 17:56:36 -08:00
Winson
5da4347b41 Fixing regression in alt-tab task.
Change-Id: Iee73baded04616ee92046609c37257d1551520fb
2015-11-05 01:53:38 +00:00
Chris Tate
e6ae842365 Merge "Docs: be explicit about oldState contract for backup helpers" 2015-11-05 01:49:24 +00:00
John Reck
41925b1ccd Merge "Revert "add DeviceInfo"" 2015-11-05 01:39:37 +00:00
Chong Zhang
f0ac93a705 Merge "Discard input events sent to dead window" 2015-11-05 01:38:32 +00:00
John Reck
096895550b Revert "add DeviceInfo"
This reverts commit b2442896e3a226c7ebe9d47fa80b257e98a6a34d.

Change-Id: I50f6555451f71067505245333c8e558b5e3b2b3b
2015-11-05 01:38:25 +00:00
Christopher Tate
1203aa05f8 Docs: be explicit about oldState contract for backup helpers
Call out specifically that each helper must only consume the
prior-state data that it produced in the first place, not reading
beyond its own part of the state file.

Bug 25473872

Change-Id: I1f24a5738a799eb21d966510372a0f3852436166
2015-11-04 17:35:17 -08:00
Ben Kwa
1046cfa517 Merge "Move DirectoryFragment and family to dirlist pkg." 2015-11-05 01:01:15 +00:00
Chong Zhang
acf11408fd Discard input events sent to dead window
And add a check to skip repositioning if window doesn't have a
valid input channel.

bug: 25345787
Change-Id: I555eb9a2ce258d77cd69c53c323dc3db646c773f
2015-11-04 16:23:10 -08:00
Tomasz Mikolajewski
0c55387059 Merge "Add support for opening files in specified MIME type to DocumentsProvider." 2015-11-04 23:17:14 +00:00
Steve McKay
f862155e34 Move DirectoryFragment and family to dirlist pkg.
Stuff was getting out of control in the main package.

Change-Id: Ia06ba96f5bbe13388d51e6ad52a9dac76af97cc0
2015-11-04 15:04:57 -08:00
John Reck
5655c7cdd3 Merge "add DeviceInfo" 2015-11-04 21:50:36 +00:00
John Reck
b2442896e3 add DeviceInfo
Change-Id: I4c122278a7e88b6f47c4dd3c5fc553df7d3c900d
2015-11-04 13:46:49 -08:00
Chris Tate
49ab8dd5f3 Merge "Fix BlobBackupHelper state tracking" 2015-11-04 21:42:55 +00:00
Jason Monk
2cf0995439 Merge "Settings Drawer: Handle multi-profile/user correctly" 2015-11-04 21:10:21 +00:00
Riley Andrews
29869c3893 Merge "Convert ashmem bitmap thresholds to constants." into mnc-dr-dev am: c8bb39d98d am: 2c740f1dcf am: 6c1144dc0f
am: 132bb1e4b1

* commit '132bb1e4b10755d2bc0810135511fd999badbe4b':
  Convert ashmem bitmap thresholds to constants.
2015-11-04 20:43:38 +00:00
Riley Andrews
132bb1e4b1 Merge "Convert ashmem bitmap thresholds to constants." into mnc-dr-dev am: c8bb39d98d am: 2c740f1dcf
am: 6c1144dc0f

* commit '6c1144dc0f8b2452ca2a204ca471e2d23339d5a3':
  Convert ashmem bitmap thresholds to constants.
2015-11-04 20:37:18 +00:00
Riley Andrews
6c1144dc0f Merge "Convert ashmem bitmap thresholds to constants." into mnc-dr-dev am: c8bb39d98d
am: 2c740f1dcf

* commit '2c740f1dcf7bfd75a1dde2f7403cb25ae6559556':
  Convert ashmem bitmap thresholds to constants.
2015-11-04 20:30:48 +00:00
Riley Andrews
2c740f1dcf Merge "Convert ashmem bitmap thresholds to constants." into mnc-dr-dev
am: c8bb39d98d

* commit 'c8bb39d98d7c2a07f1a5c745f6e89e379e4a25f0':
  Convert ashmem bitmap thresholds to constants.
2015-11-04 20:24:36 +00:00
Chris Craik
5f763ead70 Merge "Early return when the scale is 0." into mnc-dr-dev am: 10eb6ab94b am: 8b581e2bc7 am: a853bb450c
am: 34e9b5b2e4

* commit '34e9b5b2e418dd43e374dcbb3be27710c53d4b9c':
  Early return when the scale is 0.
2015-11-04 20:21:13 +00:00
Jason Monk
48237a76fc Merge "First pass at drawer support for SettingsLib" 2015-11-04 20:19:18 +00:00
Riley Andrews
c8bb39d98d Merge "Convert ashmem bitmap thresholds to constants." into mnc-dr-dev 2015-11-04 20:18:35 +00:00
Chris Craik
99a6375c69 Merge "Remove -ffast-math from libhwui makefile" into mnc-dr-dev am: c4aaf0f4b8 am: 62b16e2e10 am: 1938c39f77
am: 289c3ba2c4  -s ours

* commit '289c3ba2c4b4d97108fc79977339e7bf7b585f7f':
  Remove -ffast-math from libhwui makefile
2015-11-04 20:17:15 +00:00
Jason Monk
0d72d20c2f Settings Drawer: Handle multi-profile/user correctly
Change-Id: Ibef3cb38325415d514dc86fcd4ce7b95825361f8
2015-11-04 15:04:45 -05:00
Jason Monk
744b63632a First pass at drawer support for SettingsLib
Change-Id: I9669bd511dd3c4b7f59b8600a5af65d9837af015
2015-11-04 15:02:55 -05:00
Chris Craik
34e9b5b2e4 Merge "Early return when the scale is 0." into mnc-dr-dev am: 10eb6ab94b am: 8b581e2bc7
am: a853bb450c

* commit 'a853bb450ce7e6f06220a86dcc171a837d30511b':
  Early return when the scale is 0.
2015-11-04 19:46:47 +00:00
Julia Reynolds
f3d8f26034 Merge changes I49660236,I56a7970a
* changes:
  Delete unused code.
  Unhide setting for CTS testing.
2015-11-04 19:44:49 +00:00
Chris Craik
289c3ba2c4 Merge "Remove -ffast-math from libhwui makefile" into mnc-dr-dev am: c4aaf0f4b8 am: 62b16e2e10
am: 1938c39f77

* commit '1938c39f77a52c1058e7b2434bdc5d08ed9053b9':
  Remove -ffast-math from libhwui makefile
2015-11-04 19:40:04 +00:00
Chris Craik
a853bb450c Merge "Early return when the scale is 0." into mnc-dr-dev am: 10eb6ab94b
am: 8b581e2bc7

* commit '8b581e2bc797d3b470ad7ff3d362a998b42da4ea':
  Early return when the scale is 0.
2015-11-04 19:40:02 +00:00
Chris Craik
8b581e2bc7 Merge "Early return when the scale is 0." into mnc-dr-dev
am: 10eb6ab94b

* commit '10eb6ab94b932c33a708e007b0681b26930260e3':
  Early return when the scale is 0.
2015-11-04 19:33:11 +00:00
Chris Craik
1938c39f77 Merge "Remove -ffast-math from libhwui makefile" into mnc-dr-dev am: c4aaf0f4b8
am: 62b16e2e10

* commit '62b16e2e10e488eb69ae0d11d43c7693ad809ec2':
  Remove -ffast-math from libhwui makefile
2015-11-04 19:33:11 +00:00
Christopher Tate
f2d753ec46 Make WorkSource version of alarm listener API @SystemApi
WorkSource is not public API but this should be available to
system support modules.

Change-Id: I7283ab8aa5c5e298959d21a5c8fe55ed119bc6a3
2015-11-04 11:30:52 -08:00
Chris Craik
10eb6ab94b Merge "Early return when the scale is 0." into mnc-dr-dev 2015-11-04 19:28:39 +00:00
Chris Craik
62b16e2e10 Merge "Remove -ffast-math from libhwui makefile" into mnc-dr-dev
am: c4aaf0f4b8

* commit 'c4aaf0f4b853e7df1eaffc350618e07474d0bad1':
  Remove -ffast-math from libhwui makefile
2015-11-04 19:27:19 +00:00
Chris Craik
c4aaf0f4b8 Merge "Remove -ffast-math from libhwui makefile" into mnc-dr-dev 2015-11-04 19:20:52 +00:00
Christopher Tate
e491d142b2 Fix BlobBackupHelper state tracking
The disk-friendly use of BufferedInputStream in state parsing was
actually breaking the state management system when multiple helpers
are involved in backup.  The BufferedInputStream would blithely
pre-fetch 8K from the state file -- but that would consume some
state data that the dispatcher and subsequent helpers needed to see
in order to properly evaluate prior state themselves.  The contract
here is that when using the helper mechanism, state-data consumption
must *only* consume as much data as the helper originally stored
into the file.

Switching to a direct-read stream instead fixes the problem by
avoiding read overrun.  The rest of the changes are expanded
debugging output that made diagnosis possible.

Bug 25473872

Change-Id: I91de38dfec96f589700479f41ac26f144ba4463c
2015-11-04 10:57:37 -08:00
Chong Zhang
d564792383 Merge "Construct ActivityOptions near top level" 2015-11-04 18:56:34 +00:00
Filip Gruszczynski
3958658c71 Merge "Remove blink during the freeform -> recents transition." 2015-11-04 18:55:06 +00:00
Adam Lesinski
b68f9834bd Merge "Use wakeup reason when FingerPrint sensor wakes up the device" 2015-11-04 18:50:27 +00:00
Geoff Mendal
5a317c446b Merge "Import translations. DO NOT MERGE" into mnc-dr-dev am: 8e7ab07ce7 -s ours am: cbe037b01a -s ours am: c5b905f500 -s ours
am: 6df893939e  -s ours

* commit '6df893939e765d910748cfd8a42473793919e9f3':
  Import translations. DO NOT MERGE
2015-11-04 18:44:31 +00:00