111133 Commits

Author SHA1 Message Date
Jeff Sharkey
3aa2d9f553 Merge "Documents management mode; API adjustment." into klp-dev 2013-08-16 00:08:05 +00:00
Romain Guy
3380cfdc77 Replace float arrays with readable names
Change-Id: I32a8be560b60a4ac5cbee2fec4574b2c5df9f825
2013-08-15 17:00:10 -07:00
Jeff Sharkey
a5599ef636 Documents management mode; API adjustment.
Create documents manage mode to support Downloads and transient
storage devices.  Locks user into requested backend root, and forces
file sizes on and sorting by last modified.

Separate API constants for Documents versus Roots, and give concrete
MIME types for roots.

Treat null sizes as unknown.  Documents are always enabled in list
so that divider is drawn.  Mark external storage file as writable.

Bug: 10329983, 10332993, 10332952
Change-Id: I05f4fdf5b04041a38e1ba7fb30202a3b0c615bf6
2013-08-15 16:25:30 -07:00
David Christie
def20a3350 Use default class loader when creating a LocationRequest from Parcel.
This seems to be the standard usage, and there are rare reports of
requestLocationUpdates giving NullPointerExceptions on the first call
to requestLocationUpdates but not on subsequent calls (b/10207898).

Change-Id: If7a873fba5a2cd77b836ff3fda89105da20104ac
2013-08-15 16:01:42 -07:00
Zhihai Xu
728a8d08c5 am 12f35cc6: am 6bab49de: Merge "LE: Add support for the HID-over-GATT profile (2/3)" into klp-dev
* commit '12f35cc69667aa302a6f49889aad63dfef7a8139':
  LE: Add support for the HID-over-GATT profile (2/3)
2013-08-15 15:54:09 -07:00
Zhihai Xu
12f35cc696 am 6bab49de: Merge "LE: Add support for the HID-over-GATT profile (2/3)" into klp-dev
* commit '6bab49deaa96ddb0c427c1e2ab127608e5a8d93b':
  LE: Add support for the HID-over-GATT profile (2/3)
2013-08-15 15:50:38 -07:00
Zhihai Xu
6bab49deaa Merge "LE: Add support for the HID-over-GATT profile (2/3)" into klp-dev 2013-08-15 22:46:15 +00:00
John Spurlock
869ab8bef4 am 99df31a2: am 1d5ac159: Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev
* commit '99df31a254d9f2f11cb4291f0a53bac374f12fba':
  Maintain TRANSIENT_*_BAR flags until transient bars hidden.
2013-08-15 15:21:48 -07:00
John Spurlock
99df31a254 am 1d5ac159: Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev
* commit '1d5ac159745234d54fd6aa63fa43c85741bcaf6d':
  Maintain TRANSIENT_*_BAR flags until transient bars hidden.
2013-08-15 15:18:07 -07:00
John Spurlock
1d5ac15974 Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev 2013-08-15 22:13:14 +00:00
Jeff Sharkey
36fd608aec am 24ccfaf3: am 09400249: Merge "DocumentsUI handles GET_CONTENT; hinting, errors." into klp-dev
* commit '24ccfaf3247983582dbad2f2b78ff16a2de82f0e':
  DocumentsUI handles GET_CONTENT; hinting, errors.
2013-08-15 15:05:54 -07:00
Jeff Sharkey
24ccfaf324 am 09400249: Merge "DocumentsUI handles GET_CONTENT; hinting, errors." into klp-dev
* commit '0940024980a9e7a96ab28612c2331d31741f0199':
  DocumentsUI handles GET_CONTENT; hinting, errors.
2013-08-15 15:02:11 -07:00
Andre Eisenbach
c60bed487e LE: Add support for the HID-over-GATT profile (2/3)
bug:8330048
Change-Id: I600563d81dec1638dc35e31e19f61d6c04f09ae8
2013-08-15 15:01:10 -07:00
Jeff Sharkey
0940024980 Merge "DocumentsUI handles GET_CONTENT; hinting, errors." into klp-dev 2013-08-15 21:53:54 +00:00
Romain Guy
44dd3ed2e8 am 2a9195d5: am 3ed72781: Convert 4444 bitmaps to 8888 Bug #10206452
* commit '2a9195d53daeee464cc07bb30135c38fa8121c7b':
  Convert 4444 bitmaps to 8888 Bug #10206452
2013-08-15 14:47:12 -07:00
Romain Guy
2a9195d53d am 3ed72781: Convert 4444 bitmaps to 8888 Bug #10206452
* commit '3ed72781a0b155a88e52c8d295f50daab8cfb9ae':
  Convert 4444 bitmaps to 8888 Bug #10206452
2013-08-15 14:42:49 -07:00
John Spurlock
27735a4ba5 Maintain TRANSIENT_*_BAR flags until transient bars hidden.
Also factor common bar-management code into a separate helper
class called BarController instead of continuing to pollute
PhoneWindowManager with duplicate logic.

Bug:10345412
Change-Id: I880900e61daa6c2c53b169e4885e68ebc62ecb6c
2013-08-15 17:16:28 -04:00
Jeff Sharkey
54ca29a5b9 DocumentsUI handles GET_CONTENT; hinting, errors.
Document browser now takes over all GET_CONTENT requests that request
openable Uris. It shows both storage backends and includes other apps
that respond to GET_CONTENT. Only grants transient read permissions.

Better guarding against throwing storage backends. Send sort order
and local-only hinting to backends.

Require that OPEN/CREATE_DOC users include openable category.

Bug: 10330112, 10329976, 10340741, 10331689, 10329971
Change-Id: Ieb8768a6d71201816046f4a4c48832061a313c28
2013-08-15 14:14:48 -07:00
Romain Guy
3ed72781a0 Convert 4444 bitmaps to 8888
Bug #10206452

Change-Id: I928c9189b0d80741490b01a739959d8c2d5312a7
(cherry picked from commit a2cdb59b186d0ee51f110c1a7d358911573d48bf)
2013-08-15 19:56:05 +00:00
Dmitry Shmidt
ccd62392f9 am db7f9f38: am 0d8afa2e: Merge "wifi: Send event without prefix to p2p0" into klp-dev
* commit 'db7f9f38428db55cd00554016f58fe78c714059e':
  wifi: Send event without prefix to p2p0
2013-08-15 12:39:49 -07:00
Dmitry Shmidt
db7f9f3842 am 0d8afa2e: Merge "wifi: Send event without prefix to p2p0" into klp-dev
* commit '0d8afa2ea314c142320bf921f81540a37561f6eb':
  wifi: Send event without prefix to p2p0
2013-08-15 12:36:43 -07:00
Michael Wright
77d716fc47 am f4e2e651: am cf770f41: Merge "Bound touch and tool axes lengths below at 0" into klp-dev
* commit 'f4e2e651b37e4bf2bcd1dfb19b02ee892ed263e7':
  Bound touch and tool axes lengths below at 0
2013-08-15 12:33:15 -07:00
Dmitry Shmidt
0d8afa2ea3 Merge "wifi: Send event without prefix to p2p0" into klp-dev 2013-08-15 19:32:33 +00:00
Michael Wright
f4e2e651b3 am cf770f41: Merge "Bound touch and tool axes lengths below at 0" into klp-dev
* commit 'cf770f41ad9fdeadb5d5000071a6f7ee8818f212':
  Bound touch and tool axes lengths below at 0
2013-08-15 12:31:11 -07:00
Jeff Sharkey
8d1f91e0b2 am 40faf8dc: am e0475c82: Gracefully handle missing directories.
* commit '40faf8dc65e1745a7e64314f6e06aa5a4292e8e6':
  Gracefully handle missing directories.
2013-08-15 12:29:44 -07:00
Jeff Sharkey
40faf8dc65 am e0475c82: Gracefully handle missing directories.
* commit 'e0475c828773aae42bf6bf54422df996d6b0fcef':
  Gracefully handle missing directories.
2013-08-15 12:27:38 -07:00
Michael Wright
cf770f41ad Merge "Bound touch and tool axes lengths below at 0" into klp-dev 2013-08-15 19:26:43 +00:00
Jeff Sharkey
e0475c8287 Gracefully handle missing directories.
Bug: 10295932
Change-Id: I9d18682d0ba57bf7f77d043ee8dab286ee80ba2a
2013-08-15 12:04:37 -07:00
Lajos Molnar
dc775c66bf MediaFormat: added subtitle format
Added KEY_LANGUAGE that for now only refers to subtitles.
Added createSubtitleFormat() method to create base format.

Signed-off-by: Lajos Molnar <lajos@google.com>
Change-Id: I344c36a3fd0d88c285cdebf3f67e549553b37a8e
Bug: 10326117
2013-08-15 11:43:02 -07:00
Dmitry Shmidt
bbabe14333 wifi: Send event without prefix to p2p0
Bug: 9298955

Change-Id: I71037dd1cd60ee4efa75e1d6fab60a07bdf0626d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2013-08-15 11:13:03 -07:00
Jeff Sharkey
b3698abc3d am fa1225d0: am 2241d45c: Merge "Root invalidation, write and grid flags, local." into klp-dev
* commit 'fa1225d0219e769b0c35e44f90f4ced0604304e4':
  Root invalidation, write and grid flags, local.
2013-08-15 09:51:12 -07:00
Jeff Sharkey
fa1225d021 am 2241d45c: Merge "Root invalidation, write and grid flags, local." into klp-dev
* commit '2241d45c68739e5bdf187ba3325ee237ef143e21':
  Root invalidation, write and grid flags, local.
2013-08-15 09:49:37 -07:00
John Spurlock
50e54a5df6 am 2b5d0264: am ac0a1ea0: Merge "Recover tracking pointer going up mid-gesture in shade." into klp-dev
* commit '2b5d0264b284e8de446c20d3a61aa454bcf62066':
  Recover tracking pointer going up mid-gesture in shade.
2013-08-15 09:47:38 -07:00
Jeff Sharkey
2241d45c68 Merge "Root invalidation, write and grid flags, local." into klp-dev 2013-08-15 16:44:15 +00:00
John Spurlock
2b5d0264b2 am ac0a1ea0: Merge "Recover tracking pointer going up mid-gesture in shade." into klp-dev
* commit 'ac0a1ea06f4a11550e3ee476bbb89ece2984e826':
  Recover tracking pointer going up mid-gesture in shade.
2013-08-15 09:42:47 -07:00
John Spurlock
ac0a1ea06f Merge "Recover tracking pointer going up mid-gesture in shade." into klp-dev 2013-08-15 16:38:46 +00:00
Ying Wang
3f1c44a066 Merge "Run rmtypedefs on framework.jar." 2013-08-15 16:16:40 +00:00
Daniel Sandler
e0e9026fc9 am f9310baf: am da68124d: Merge "Defend against NPE." into klp-dev
* commit 'f9310baf2ec9e89134dcfe3cb9f3a7ef1dc158aa':
  Defend against NPE.
2013-08-15 09:14:24 -07:00
Daniel Sandler
f9310baf2e am da68124d: Merge "Defend against NPE." into klp-dev
* commit 'da68124da23acadc192ba996d0e64f6d362a9a26':
  Defend against NPE.
2013-08-15 09:11:57 -07:00
Daniel Sandler
da68124da2 Merge "Defend against NPE." into klp-dev 2013-08-15 16:06:49 +00:00
Robert Greenwalt
8e628dadc3 Modify wifi BatchedScan.
Add pollBatchedScan API to allow forced retrieval.
Modified driver API, adding MSCAN, removing nextCount and making
the results look more like normal manual scan results.

bug:9301872
Change-Id: I58bce0624c36e2ad8d3c3f5defcb4d4e155dc8f9
2013-08-15 08:39:13 -07:00
John Spurlock
48fa91a818 Recover tracking pointer going up mid-gesture in shade.
Keep track of the pointer id used in driving the gesture. If
it happens to go up mid-gesture (another pointer is still down),
continue the gesture with another down pointer, instead of
abruptly jumping on next ACTION_MOVE.

Bug:10246050
Change-Id: Ia6e59658635fd696974fe415f37811d27da80519
2013-08-15 09:29:31 -04:00
Satoshi Kataoka
69da2690e5 Add an API supportsSwitchingToNextInput
To let the system know an IME supports switching to a next input method

Bug: 8364845
Change-Id: Iabf4f106893ee6a262ad0cd44dbec0c661bf0ff2
2013-08-15 16:11:41 +09:00
Jeff Sharkey
5b83f854d9 Root invalidation, write and grid flags, local.
Flags to indicate write support, and to indicate that a grid view is
preferred.  Method to inform system that any root caches should be
invalidated.  Methods to mark a Uri as requesting "local only" data.

Helper method for document creation.

Bug: 10330069, 10330108, 10330210, 10329976
Change-Id: I6ce6160f6ce6621e6ea05848a31bbbcb84587671
2013-08-14 21:52:37 -07:00
Michael Wright
eeadb32488 Bound touch and tool axes lengths below at 0
Change-Id: I75ca196312201773cfabb74ee5b28a7d80f6ba60
2013-08-14 17:33:27 -07:00
Alan Viverette
9e2b07023b am cd63115e: am 70e907f5: Merge "Prevent refocus after entering touch mode" into klp-dev
* commit 'cd63115ebc73b257a73ebf03eb3a8463532eb260':
  Prevent refocus after entering touch mode
2013-08-14 17:09:31 -07:00
Alan Viverette
cd63115ebc am 70e907f5: Merge "Prevent refocus after entering touch mode" into klp-dev
* commit '70e907f51f75bf8d481e11e0d6411e2974b83b06':
  Prevent refocus after entering touch mode
2013-08-14 17:07:35 -07:00
Ying Wang
96076c9c08 Run rmtypedefs on framework.jar.
Bug: 10330586
Change-Id: I3063390c6da543a8e17957dedc758de0f79ab9a5
2013-08-14 17:01:33 -07:00
Alan Viverette
70e907f51f Merge "Prevent refocus after entering touch mode" into klp-dev 2013-08-15 00:01:03 +00:00
John Spurlock
411a9fbb34 am 6d59c85c: am 63169fb9: Merge "Ensure LOW_PROFILE is always clear when bars are transient." into klp-dev
* commit '6d59c85c09a9eaf770c342a1751b760315ccb95d':
  Ensure LOW_PROFILE is always clear when bars are transient.
2013-08-14 16:57:23 -07:00