110490 Commits

Author SHA1 Message Date
Romain Guy
46bfc48110 Fix hardware layers lifecycle
Bug #10075732

Hardware layers could survive across EGL terminate events.

Change-Id: Ie8565d55cb29fe6625fa1584d695edfecd37ab5e
2013-08-16 18:38:29 -07:00
Romain Guy
b0a41ed3dc Prevent ANR in apps using drawPath()
Bug #10347089

If an app clears its path cache before stopping background tasks, it could
get into an infinite loop in PathCache::trim().

Change-Id: Ieb865b762e7b00aebaba0c023769c2db286a94f5
2013-08-16 14:44:38 -07:00
Romain Guy
b746371de7 Clear FBO cache on full memory flush
Change-Id: I44e06d5d15cd899a0522c62d7c0d042170665abb
2013-08-16 13:55:29 -07:00
Satoshi Kataoka
0a94b9ce27 Merge "Add an API supportsSwitchingToNextInput" into klp-dev 2013-08-16 07:08:52 +00:00
Baligh Uddin
6f2883c9ac Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-16 00:28:16 +00:00
Jeff Sharkey
3aa2d9f553 Merge "Documents management mode; API adjustment." into klp-dev 2013-08-16 00:08:05 +00: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
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
1d5ac15974 Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev 2013-08-15 22:13:14 +00: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
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
0d8afa2ea3 Merge "wifi: Send event without prefix to p2p0" into klp-dev 2013-08-15 19:32:33 +00: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
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
2241d45c68 Merge "Root invalidation, write and grid flags, local." into klp-dev 2013-08-15 16:44:15 +00: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
Daniel Sandler
da68124da2 Merge "Defend against NPE." into klp-dev 2013-08-15 16:06:49 +00: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
70e907f51f Merge "Prevent refocus after entering touch mode" into klp-dev 2013-08-15 00:01:03 +00:00
John Spurlock
63169fb9a6 Merge "Ensure LOW_PROFILE is always clear when bars are transient." into klp-dev 2013-08-14 23:50:39 +00:00
Alan Viverette
76e696f6d2 Merge "Add motion event forwarding hidden APIs to View" into klp-dev 2013-08-14 23:01:56 +00:00
Alan Viverette
5482ab01e3 Merge "Throw exception in FragmentManager when queuing to a destroyed activity" into klp-dev 2013-08-14 22:55:55 +00:00
Elliott Hughes
12285f3d9f DateUtils should use the user's 12/24-hour preference, not the locale's.
Bug: 10312832

(cherry picked from commit f0b79aeed36f0839e4effaa36893b7ca71292563)

Change-Id: I0d78725d47009553f9003ccfba06f70f178a6ec1
2013-08-14 15:27:17 -07:00
Alan Viverette
6fb3b9eb28 Add motion event forwarding hidden APIs to View
Change-Id: Ia7ab5496f8064c96b34912b5f5e9af6fd0978b34
2013-08-14 14:57:13 -07:00
Eino-Ville Talvala
66a83ae650 Merge "Camera2: Add metadata keys and enum values" into klp-dev 2013-08-14 20:20:43 +00:00
John Spurlock
2617006950 Ensure LOW_PROFILE is always clear when bars are transient.
Bug:10326361
Change-Id: I4d12c4973153aac72bc840840f061ec782e27a87
2013-08-14 16:08:45 -04:00
Jeff Sharkey
7d56ef2d80 Merge "Add GIDs to packages.list, update SD card perms." into klp-dev 2013-08-14 20:08:36 +00:00
The Android Open Source Project
80f7ec06d0 am 04b40ee3: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release jb-mr2-zeroday-deb-release - do not merge
* commit '04b40ee33e0f1649bedc9b0b9b3e277b6b37f164':
  Use hostname verifier directly instead of instance DO NOT MERGE
  If in a mobile captive portal is detected enable fail fast.
  Have CaptivePortalTracker use gservices updateable provisioning urls.
  In CaptiviePortalTracker a socket timeout is probably a captive portal.
  Check that hipri has started.
  Fix issue #10226007: Reset apps restores most of the changed settings...
  Fix issue #10226007: Reset apps restores most of the changed settings...
2013-08-14 12:16:21 -07:00
The Android Open Source Project
04b40ee33e Reconcile with jb-mr2-release jb-mr2-zeroday-release jb-mr2-zeroday-deb-release - do not merge
Change-Id: I498651fc3fa9b021570780e8b8848a806c31962f
2013-08-14 12:09:27 -07:00
Roman Nurik
c11cb1497d am 30e9065c: am 8ab80f1a: am 1a5bb9d5: Update Typography design guide Bug: 6947941
* commit '30e9065c2530d9db5e63807649f1054b4ee33033':
  Update Typography design guide Bug: 6947941
2013-08-14 11:32:13 -07:00
Roman Nurik
30e9065c25 am 8ab80f1a: am 1a5bb9d5: Update Typography design guide Bug: 6947941
* commit '8ab80f1a02874a3bc4d9ec1272536e17a888bf3c':
  Update Typography design guide Bug: 6947941
2013-08-14 11:24:11 -07:00
Roman Nurik
8ab80f1a02 am 1a5bb9d5: Update Typography design guide Bug: 6947941
* commit '1a5bb9d5cf13a2d2f9086926a7a020cfa08efd66':
  Update Typography design guide Bug: 6947941
2013-08-14 11:21:45 -07:00
Baligh Uddin
7c651c7f1d Import translations. DO NOT MERGE
Change-Id: I7b9539ca9b8988f87e4ca48b555725f6cd133284
Auto-generated-cl: translation import
2013-08-14 11:18:19 -07:00
Alan Viverette
95a4609b90 Throw exception in FragmentManager when queuing to a destroyed activity
Change-Id: I0522cf27fd423070f7578c1c43c1f05a335810bf
2013-08-14 11:17:25 -07:00
Roman Nurik
1a5bb9d5cf Update Typography design guide
Bug: 6947941

Change-Id: I18a5c9cfd9de511c280d8aa7e410b5b9939c6774
2013-08-14 10:48:26 -07:00
Mike Klein
be925721a5 Remove comment that's only relevant for the underlying SkMatrix. Matrix has constructors.
bug: 8470620

Change-Id: I00063dc03f752955c27c73e9c59b0496a1795924
2013-08-14 13:13:51 -04:00
Andreas Huber
ca2fb9158e Merge "Expose MediaCodec.setParameters API to" into klp-dev 2013-08-14 15:39:17 +00:00
John Spurlock
da5b6f2dc4 Normalize dream service dump check with other services.
Bug:10310128
Change-Id: Ieeeccc01832b569cf7fb3d1633d7dde60fceb7b2
2013-08-14 09:49:02 -04:00
Matthew Xie
a5c81e8636 Merge "LE: Add peripheral role support (1/4)" into klp-dev 2013-08-14 08:14:09 +00:00
Andre Eisenbach
f46b21aa99 LE: Add peripheral role support (1/4)
Initial stack support for the LE peripheral role.

Change-Id: I6222493488822b4289b90888ccc97ad9306f54d1
2013-08-14 00:48:24 -07:00
Matthew Xie
08c34c326f Merge "LE: Add instance ID to descriptors (1/4)" into klp-dev 2013-08-14 07:27:49 +00:00
Svetoslav
59703c7186 Merge "Partial implementation for the favorite and available printer tracking." into klp-dev 2013-08-14 07:09:25 +00:00
Svetoslav
66160bb881 Partial implementation for the favorite and available printer tracking.
1. Added a dedicated class that keeps track of the user's favorite printers
   based on past usage. We keep the last 50 uses and assign a decreasing weight
   to older historical use records. The printer whose records' sum is the
   largest is considered the favorite for the user and so on.

2. Factored out the printer discovery logic from the print job config activity
   into a separate available printers provider class. It encapsulates all the
   logic to communicated with the remote print services to discover printers,
   keep track of added, updated, and removed printers.

3. Preliminary scetch of the printer chooser acitivty that will show all the
   printers.

Change-Id: I5524665f2a9a565f186db85214d5e41a44f4812e
2013-08-14 00:06:53 -07:00