114741 Commits

Author SHA1 Message Date
Raph Levien
7c1b10872f Merge "Fix for "Can't place cursor after combining accent"" into klp-dev 2013-09-20 23:27:57 +00:00
Igor Murashkin
c94a8322cb am 5b65ad41: am ab98a0b1: Merge "camera2: Add more camera device states, make #openCamera async." into klp-dev
* commit '5b65ad41b2a748fe5c3c24107ffe767ce8a8d8dc':
  camera2: Add more camera device states, make #openCamera async.
2013-09-20 16:26:36 -07:00
destradaa
fb339b8a0f am 93d3bdb6: am 47d620ac: Merge "Ensure access to the map of geofence callbacks is synchronized in all cases Fix Java reference leak in the JNI layer" into klp-dev
* commit '93d3bdb61a7c868d41a259b56af0914d2f6b2303':
  Ensure access to the map of geofence callbacks is synchronized in all cases Fix Java reference leak in the JNI layer
2013-09-20 16:26:33 -07:00
Igor Murashkin
5b65ad41b2 am ab98a0b1: Merge "camera2: Add more camera device states, make #openCamera async." into klp-dev
* commit 'ab98a0b116884aae3c5a90ddf87fe677e2a351a1':
  camera2: Add more camera device states, make #openCamera async.
2013-09-20 16:24:01 -07:00
destradaa
93d3bdb61a am 47d620ac: Merge "Ensure access to the map of geofence callbacks is synchronized in all cases Fix Java reference leak in the JNI layer" into klp-dev
* commit '47d620ac282870f1f7142bd86ab32d14ad9ee91f':
  Ensure access to the map of geofence callbacks is synchronized in all cases Fix Java reference leak in the JNI layer
2013-09-20 16:23:58 -07:00
Igor Murashkin
ab98a0b116 Merge "camera2: Add more camera device states, make #openCamera async." into klp-dev 2013-09-20 23:21:51 +00:00
destradaa
47d620ac28 Merge "Ensure access to the map of geofence callbacks is synchronized in all cases Fix Java reference leak in the JNI layer" into klp-dev 2013-09-20 23:18:15 +00:00
Adam Lesinski
5fc67f98b9 am a35ff661: am d473ebb7: Merge "Surfaces ParcelFileDescriptor#parseMode() as API" into klp-dev
* commit 'a35ff66127d07117e93268482d7e9719abfd58c3':
  Surfaces ParcelFileDescriptor#parseMode() as API
2013-09-20 16:05:21 -07:00
Jeff Sharkey
f439bcd953 am 578f67c2: am dfed2448: Merge "Delegate mkdirs() to vold when lacking perms." into klp-dev
* commit '578f67c25c6bb160cf30bf39b7e41bc039000a5c':
  Delegate mkdirs() to vold when lacking perms.
2013-09-20 16:05:16 -07:00
Adam Lesinski
a35ff66127 am d473ebb7: Merge "Surfaces ParcelFileDescriptor#parseMode() as API" into klp-dev
* commit 'd473ebb7c4f212cb9f74fe748bb8b95d7d126417':
  Surfaces ParcelFileDescriptor#parseMode() as API
2013-09-20 16:01:34 -07:00
Jeff Sharkey
578f67c25c am dfed2448: Merge "Delegate mkdirs() to vold when lacking perms." into klp-dev
* commit 'dfed244876d6c0ddd8d8bd2b8f3b970cd0a1ab95':
  Delegate mkdirs() to vold when lacking perms.
2013-09-20 16:01:28 -07:00
Adam Lesinski
d473ebb7c4 Merge "Surfaces ParcelFileDescriptor#parseMode() as API" into klp-dev 2013-09-20 22:59:12 +00:00
Jeff Sharkey
dfed244876 Merge "Delegate mkdirs() to vold when lacking perms." into klp-dev 2013-09-20 22:56:07 +00:00
Glenn Kasten
f045a893ca am dd47d78a: am 543de874: Merge "Revert "Workaround for slow AudioRecord destructor"" into klp-dev
* commit 'dd47d78a5e2b8d6f383e79fd4531fd38403d5614':
  Revert "Workaround for slow AudioRecord destructor"
2013-09-20 15:44:21 -07:00
Glenn Kasten
dd47d78a5e am 543de874: Merge "Revert "Workaround for slow AudioRecord destructor"" into klp-dev
* commit '543de8746e1c238f81a863f687d258ad86f5ef95':
  Revert "Workaround for slow AudioRecord destructor"
2013-09-20 15:41:00 -07:00
Glenn Kasten
543de8746e Merge "Revert "Workaround for slow AudioRecord destructor"" into klp-dev 2013-09-20 22:38:19 +00:00
Robert Greenwalt
13820af302 Fix BatchScan request coalesing
bug:10407896
Change-Id: Ic22c7d8b2a80d490d208570782a12e42d4690f5c
2013-09-20 15:30:17 -07:00
Raph Levien
373b7a8d4e Fix for "Can't place cursor after combining accent"
This patch fixes behavior where attempting to place the cursor at
the end of a string where the last character is a combining accent
actually placed it before that accent. This was especially annoying
for editing Thai text, because it made it difficult to delete a
trailing tone mark.

Fixes bug 8947569 "Can't place cursor after combining accent" and bug
10398332 "[Thailand] Thai Language(IME) -- Can't delete Thai tone mark
while writing message"

Change-Id: Ida1933c8f0ab6cdb0200db39891e9389e4bdba86
2013-09-20 15:21:47 -07:00
Vinit Deshapnde
2871588101 Allow yet another combination of key management options
Framework sets allowedKeyManagement to WPA_EAP + WPA_PSK, if
WifiConfiguration didn't supply any value for it. It should probably
change to NONE; but that is post K thing. I am allowing that
combination for now.

Bug: 10843500
Change-Id: Id0c28f4aaf32c6a7e7dca07114a2452ce194a798
2013-09-20 15:21:33 -07:00
destradaa
7f02eb2c84 Ensure access to the map of geofence callbacks is synchronized in all cases
Fix Java reference leak in the JNI layer

Bug: 10624887
Change-Id: I656973653d82c73a7ba2b51f22989ffed144c5df
2013-09-20 15:19:00 -07:00
Adam Lesinski
eb8c3f93ed Surfaces ParcelFileDescriptor#parseMode() as API
Moves ContentResolver#modeToMode() to ParcelFileDescriptor#parseMode()

bug:10711271
Change-Id: I28a5de4ca70adfbec4caf739863b77f0fd7fd9a4
2013-09-20 14:59:34 -07:00
Craig Mautner
7538f8ba02 am 83103184: am 04476691: Merge "Remove over-aggressive stack movement." into klp-dev
* commit '83103184be048580673c8e2c3358f6bdd4cfd205':
  Remove over-aggressive stack movement.
2013-09-20 14:34:49 -07:00
Jeff Sharkey
2d8b4e8013 Delegate mkdirs() to vold when lacking perms.
Apps without sdcard_r or sdcard_rw are still able to write to
their package-specific directory, but someone needs to first make
that directory on their behalf.  This change will delegate the
mkdirs() call through to vold when an app fails to create directly.

MountService validates that the path belongs to the calling user, and
that it's actually on external storage, before passing to vold.

Update Environment to make app-vs-vold paths clearer.

Bug: 10577808
Change-Id: I43b4a77fd6d2b9af2a0d899790da8d9d89386776
2013-09-20 14:34:02 -07:00
Craig Mautner
83103184be am 04476691: Merge "Remove over-aggressive stack movement." into klp-dev
* commit '04476691424811f5029194410519f49f913b672d':
  Remove over-aggressive stack movement.
2013-09-20 14:31:25 -07:00
Craig Mautner
0447669142 Merge "Remove over-aggressive stack movement." into klp-dev 2013-09-20 21:28:14 +00:00
Svetoslav
2acb4e477d am 95aa013f: am 27de674c: Merge "PrintDocumentAdapter contract not followed on print." into klp-dev
* commit '95aa013f126662c3e1cc2e64f523d611d62e486c':
  PrintDocumentAdapter contract not followed on print.
2013-09-20 14:18:23 -07:00
Svetoslav
95aa013f12 am 27de674c: Merge "PrintDocumentAdapter contract not followed on print." into klp-dev
* commit '27de674c698a82c0195ee1d60ab1d629a5201297':
  PrintDocumentAdapter contract not followed on print.
2013-09-20 14:15:05 -07:00
Svetoslav
27de674c69 Merge "PrintDocumentAdapter contract not followed on print." into klp-dev 2013-09-20 21:12:54 +00:00
Craig Mautner
8916aadd1e Remove over-aggressive stack movement.
Moving a task to the bottom was also moving its stack to the back.
Since chrome always finishes by calling moveTaskToBack this put
the home stack in front of the application stack and would cause
bizarre window layering effects.

Definitely fixes 10764463.
Maybe fixes 10678010.

Change-Id: Ic202ae4fad44b36a8444255764d2135fccd4743d
2013-09-20 13:42:49 -07:00
David Christie
2875fb8586 am 0e500803: am f31a7897: Merge "Clear names from externally supplied WorkSources to WifiManager (b/10733757)" into klp-dev
* commit '0e50080395d2ed9e3c703f769ea3fb84706f989a':
  Clear names from externally supplied WorkSources to WifiManager (b/10733757)
2013-09-20 13:13:54 -07:00
David Christie
0e50080395 am f31a7897: Merge "Clear names from externally supplied WorkSources to WifiManager (b/10733757)" into klp-dev
* commit 'f31a78977401b155c0781dfe7d7cb6b7b38543c0':
  Clear names from externally supplied WorkSources to WifiManager (b/10733757)
2013-09-20 13:06:49 -07:00
David Christie
f31a789774 Merge "Clear names from externally supplied WorkSources to WifiManager (b/10733757)" into klp-dev 2013-09-20 20:04:04 +00:00
Nick Kralevich
69527ad1de am ac219aa5: am 662b3bbe: am effefbc4: Merge "Proper security labeling of multi-user data directories."
* commit 'ac219aa5a3249fb0797a8bca474794b7a81b5ce0':
  Proper security labeling of multi-user data directories.
2013-09-20 12:56:40 -07:00
Nick Kralevich
ac219aa5a3 am 662b3bbe: am effefbc4: Merge "Proper security labeling of multi-user data directories."
* commit '662b3bbe08c03de77c0676b4fdc1587723863f1b':
  Proper security labeling of multi-user data directories.
2013-09-20 12:51:47 -07:00
Nick Kralevich
662b3bbe08 am effefbc4: Merge "Proper security labeling of multi-user data directories."
* commit 'effefbc48f41fa484910e66c78a79a34817c345b':
  Proper security labeling of multi-user data directories.
2013-09-20 12:38:52 -07:00
Nick Kralevich
effefbc48f Merge "Proper security labeling of multi-user data directories." 2013-09-20 19:35:17 +00:00
Vinit Deshapnde
ce34f22b69 am 27271f67: am a5fb1204: Merge "Fix incorrect exception being thrown from WifiConfiguration" into klp-dev
* commit '27271f673546faa973d7a24c594da626ebdbd337':
  Fix incorrect exception being thrown from WifiConfiguration
2013-09-20 12:34:58 -07:00
Vinit Deshapnde
27271f6735 am a5fb1204: Merge "Fix incorrect exception being thrown from WifiConfiguration" into klp-dev
* commit 'a5fb1204385be2ab58bb4b653fbffae4f365b98c':
  Fix incorrect exception being thrown from WifiConfiguration
2013-09-20 12:32:22 -07:00
Vinit Deshapnde
a5fb120438 Merge "Fix incorrect exception being thrown from WifiConfiguration" into klp-dev 2013-09-20 19:30:26 +00:00
Svetoslav
5559c368a9 PrintDocumentAdapter contract not followed on print.
1. Layout was not called after pressing the print button if the
   print attributes did not change. This is not correct since the
   previous layout calls were for preview purposes and the one
   after pressing print is not for preview. Hence, we always have
   to do this layout.

2. After layout we decide whether to ask the app to write some
   pages. We ask for a write if we do not have the pages selected
   by the user or the document changed (if the page count changed,
   the document type changed, or the app told us that the content
   changed). We were not computing correctly whether the document
   changed since we compared the size but the document info the
   app passes in after a layout does not have the size yet. We set
   the size after a write. So for layout purposes we should ignore
   the size. We only care if the page count, document type, or
   content changed where the latter is reported by the app in
   the layout callback.

3. We were not updating the PrintJob after setting the data
   size of the printed document.

4. Disabled debugging.

bug:10835370

Change-Id: Ic3b2871b4e954cdf610f8cf806de5fc6588a6bec
2013-09-20 12:15:22 -07:00
Svetoslav
3df66d2758 am a7055b01: am 5006eb75: Merge "Null not handled when parsing media size resource id attribute." into klp-dev
* commit 'a7055b01ec6d9931e4eb06b8a9fd76e5a9e165da':
  Null not handled when parsing media size resource id attribute.
2013-09-20 12:04:41 -07:00
Svetoslav
a7055b01ec am 5006eb75: Merge "Null not handled when parsing media size resource id attribute." into klp-dev
* commit '5006eb75e6d42ac107734fa8134a726158d768d8':
  Null not handled when parsing media size resource id attribute.
2013-09-20 12:02:12 -07:00
Svetoslav
5006eb75e6 Merge "Null not handled when parsing media size resource id attribute." into klp-dev 2013-09-20 18:59:39 +00:00
Dirk Dougherty
5039a12868 am f203a625: am 0bab400b: am 53b2a957: am 8ea8ff81: am 78ec732f: Doc change: Update Google Play Services reference docs.
* commit 'f203a6253776fdea3c7b094251ac3f284a35af19':
  Doc change: Update Google Play Services reference docs.
2013-09-20 11:57:51 -07:00
Dirk Dougherty
f203a62537 am 0bab400b: am 53b2a957: am 8ea8ff81: am 78ec732f: Doc change: Update Google Play Services reference docs.
* commit '0bab400b3819c1ca61c9d1275d5f511aee222f70':
  Doc change: Update Google Play Services reference docs.
2013-09-20 11:54:22 -07:00
Dirk Dougherty
0bab400b38 am 53b2a957: am 8ea8ff81: am 78ec732f: Doc change: Update Google Play Services reference docs.
* commit '53b2a957d19f21cd377d5f93225820d63c6b51d9':
  Doc change: Update Google Play Services reference docs.
2013-09-20 11:51:37 -07:00
Dirk Dougherty
53b2a957d1 am 8ea8ff81: am 78ec732f: Doc change: Update Google Play Services reference docs.
* commit '8ea8ff81a93f367af59e328bb365ca9560e264ec':
  Doc change: Update Google Play Services reference docs.
2013-09-20 11:48:52 -07:00
Dirk Dougherty
8ea8ff81a9 am 78ec732f: Doc change: Update Google Play Services reference docs.
* commit '78ec732f73aedc6afd79c4f924345a5adb61dc54':
  Doc change: Update Google Play Services reference docs.
2013-09-20 11:46:23 -07:00
David Christie
a31510e47a Clear names from externally supplied WorkSources to WifiManager (b/10733757)
Change-Id: I36102f13962df2093c1e35fb40081ead647eff32
2013-09-20 11:41:41 -07:00
Dirk Dougherty
78ec732f73 Doc change: Update Google Play Services reference docs.
Change-Id: Iaed2e01a18263000509f243e66a6b6b33037d6b9
2013-09-20 11:30:46 -07:00