OSDN Git Service

android-x86/frameworks-base.git
11 years agoAdd comments to new hidden API in LocationRequest.
David Christie [Fri, 16 Aug 2013 23:16:27 +0000 (16:16 -0700)]
Add comments to new hidden API in LocationRequest.
Document their purpose and permissions required in case
this is unhidden in a different code line.

Change-Id: I42f6f950157f488cf51b361e3411861ff98794e8

11 years agoMerge "Use default class loader when creating a LocationRequest from Parcel. This...
David Christie [Fri, 16 Aug 2013 22:55:20 +0000 (22:55 +0000)]
Merge "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)." into klp-dev

11 years agoMerge "Ensure LocationRequest's worksource defaults to null Helps to make sure the...
David Christie [Fri, 16 Aug 2013 22:45:34 +0000 (22:45 +0000)]
Merge "Ensure LocationRequest's worksource defaults to null Helps to make sure the service doesn't throw a SecurityException for not having the UPDATE_DEVICE_STATS permission." into klp-dev

11 years agoMerge "Fix NPE in DateFormat.is24HourFormat." into klp-dev
Elliott Hughes [Fri, 16 Aug 2013 22:14:42 +0000 (22:14 +0000)]
Merge "Fix NPE in DateFormat.is24HourFormat." into klp-dev

11 years agoMerge "Prevent ANR in apps using drawPath() Bug #10347089" into klp-dev
Romain Guy [Fri, 16 Aug 2013 21:56:39 +0000 (21:56 +0000)]
Merge "Prevent ANR in apps using drawPath() Bug #10347089" into klp-dev

11 years agoFix NPE in DateFormat.is24HourFormat.
Elliott Hughes [Fri, 16 Aug 2013 18:56:35 +0000 (11:56 -0700)]
Fix NPE in DateFormat.is24HourFormat.

In some cases, we end up being called by code that doesn't have a valid
Context. It got away with this historically because it wasn't formatting
times (just dates), so it never went down a path that tried to query the
user's 12/24-hour preference. This patch just ensures that we don't try
to get the preference unless we actually need it.

Bug: 10339015

(cherry picked from commit 8d8ef00c8276200f108433922761401817fd9a50)

Change-Id: If074a67fa52943c0ec7bb5c5bbe5a11f54fb1f97

11 years agoPrevent ANR in apps using drawPath()
Romain Guy [Fri, 16 Aug 2013 21:44:38 +0000 (14:44 -0700)]
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

11 years agoMerge "Fix old remaining i18n bugs on TimePicker:" into klp-dev
Fabrice Di Meglio [Fri, 16 Aug 2013 21:38:29 +0000 (21:38 +0000)]
Merge "Fix old remaining i18n bugs on TimePicker:" into klp-dev

11 years agoFix old remaining i18n bugs on TimePicker:
Fabrice Di Meglio [Fri, 16 Aug 2013 00:49:49 +0000 (17:49 -0700)]
Fix old remaining i18n bugs on TimePicker:

- put am/pm on the left side of hours for hu, zh, ja and ko Locales
- use the hours/minutes separator from the Locale (fi, sr, ...)
- updated layouts (better for Arabic, Farsi and Hebrew)
- support double digits format for 12h and single digit format for
24h (it, ja, vi, ...)
- fix setIs24HourView(boolean) behavior: do not lose the current hour
value when switching from 12h to 24h

Change-Id: If66cb6f802d894f0a2357b43eede6854791f3b67

11 years agoEnsure LocationRequest's worksource defaults to null
David Christie [Fri, 16 Aug 2013 21:12:59 +0000 (14:12 -0700)]
Ensure LocationRequest's worksource defaults to null
Helps to make sure the service doesn't throw a
SecurityException for not having the UPDATE_DEVICE_STATS
permission.

Change-Id: I9be0302f1378d2c4441e6b7d5ce472ed0d5fbd80

11 years agoMerge "media: Fix ImageReader only using maxImages=1 no matter what" into klp-dev
Igor Murashkin [Fri, 16 Aug 2013 21:02:11 +0000 (21:02 +0000)]
Merge "media: Fix ImageReader only using maxImages=1 no matter what" into klp-dev

11 years agoMerge "Clear FBO cache on full memory flush" into klp-dev
Romain Guy [Fri, 16 Aug 2013 20:56:59 +0000 (20:56 +0000)]
Merge "Clear FBO cache on full memory flush" into klp-dev

11 years agoClear FBO cache on full memory flush
Romain Guy [Fri, 16 Aug 2013 20:55:29 +0000 (13:55 -0700)]
Clear FBO cache on full memory flush

Change-Id: I44e06d5d15cd899a0522c62d7c0d042170665abb

11 years agomedia: Fix ImageReader only using maxImages=1 no matter what
Igor Murashkin [Thu, 15 Aug 2013 02:05:17 +0000 (19:05 -0700)]
media: Fix ImageReader only using maxImages=1 no matter what

- No longer return null when some bad error happens
- Throws OutOfResourcesException when images need to be closed
- Throws IllegalStateException when an unknown internal error happens

Bug: 10333400
Change-Id: Ia53a5dd33f9ce53abd036e080e6fcc4ded9b251d

11 years agoMerge "MediaFormat: added subtitle format" into klp-dev
Lajos Molnar [Fri, 16 Aug 2013 19:15:24 +0000 (19:15 +0000)]
Merge "MediaFormat: added subtitle format" into klp-dev

11 years agoMerge "Camera2: Add user tag to CaptureRequest" into klp-dev
Eino-Ville Talvala [Fri, 16 Aug 2013 19:14:15 +0000 (19:14 +0000)]
Merge "Camera2: Add user tag to CaptureRequest" into klp-dev

11 years agoMerge "Modify wifi BatchedScan." into klp-dev
Robert Greenwalt [Fri, 16 Aug 2013 18:17:51 +0000 (18:17 +0000)]
Merge "Modify wifi BatchedScan." into klp-dev

11 years agoCamera2: Add user tag to CaptureRequest
Eino-Ville Talvala [Thu, 8 Aug 2013 23:56:28 +0000 (16:56 -0700)]
Camera2: Add user tag to CaptureRequest

Bug: 10360518
Change-Id: I781341b4c598c28ee5dd7551b8e05ab19b8fff0d

11 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 16 Aug 2013 18:02:17 +0000 (18:02 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

11 years agoam 59616de7: am 8f5a76d2: am b4f96287: add latest Roboto fonts to DAC and update...
Scott Main [Fri, 16 Aug 2013 18:02:03 +0000 (11:02 -0700)]
am 59616de7: am 8f5a76d2: am b4f96287: add latest Roboto fonts to DAC and update download links

* commit '59616de7ea4719cc3a6f75f8d4ff80d7d735d8c1':
  add latest Roboto fonts to DAC and update download links

11 years agoMerge "Forward events to ListPopupWindow, highlight touched items" into klp-dev
Alan Viverette [Fri, 16 Aug 2013 17:56:42 +0000 (17:56 +0000)]
Merge "Forward events to ListPopupWindow, highlight touched items" into klp-dev

11 years agoam 8f5a76d2: am b4f96287: add latest Roboto fonts to DAC and update download links
Scott Main [Fri, 16 Aug 2013 17:58:52 +0000 (10:58 -0700)]
am 8f5a76d2: am b4f96287: add latest Roboto fonts to DAC and update download links

* commit '8f5a76d2bf011a7ae72d4c6845ee41fb63b21698':
  add latest Roboto fonts to DAC and update download links

11 years agoMerge "Update documentation for FastScroller and SectionIndexer" into klp-dev
Alan Viverette [Fri, 16 Aug 2013 17:56:40 +0000 (17:56 +0000)]
Merge "Update documentation for FastScroller and SectionIndexer" into klp-dev

11 years agoam b4f96287: add latest Roboto fonts to DAC and update download links
Scott Main [Fri, 16 Aug 2013 17:55:07 +0000 (10:55 -0700)]
am b4f96287: add latest Roboto fonts to DAC and update download links

* commit 'b4f96287285cd0886954d1576157b7a38995af88':
  add latest Roboto fonts to DAC and update download links

11 years agoadd latest Roboto fonts to DAC and update download links
Scott Main [Fri, 16 Aug 2013 17:41:31 +0000 (10:41 -0700)]
add latest Roboto fonts to DAC and update download links

Change-Id: I6232cf02486d5b82d503ebe8c6035a7da2a1093d

11 years agoMerge "Add an API supportsSwitchingToNextInput" into klp-dev
Satoshi Kataoka [Fri, 16 Aug 2013 07:08:51 +0000 (07:08 +0000)]
Merge "Add an API supportsSwitchingToNextInput" into klp-dev

11 years agoUpdate documentation for FastScroller and SectionIndexer
Alan Viverette [Fri, 16 Aug 2013 01:16:06 +0000 (18:16 -0700)]
Update documentation for FastScroller and SectionIndexer

BUG: 3341285
Change-Id: I0607031576eaaecaebe848437cfbacd0d1a4b161

11 years agoForward events to ListPopupWindow, highlight touched items
Alan Viverette [Fri, 16 Aug 2013 01:05:52 +0000 (18:05 -0700)]
Forward events to ListPopupWindow, highlight touched items

Moves most of the drag-to-open behavior into ListPopupWindow's
particular implementation of ListView. Uses hidden View API for
forwarding events between different windows.

Overflow menu opens on first touch, closes on touch end outside
the overflow button. Clicks that occur during drag-to-open mode
result in alpha animation of the selector drawable.

BUG: 9437139
Change-Id: I70f540555a03450638a27880b3ae3b031ca6e2ed

11 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Fri, 16 Aug 2013 00:28:16 +0000 (00:28 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

11 years agoMerge "Documents management mode; API adjustment." into klp-dev
Jeff Sharkey [Fri, 16 Aug 2013 00:08:05 +0000 (00:08 +0000)]
Merge "Documents management mode; API adjustment." into klp-dev

11 years agoDocuments management mode; API adjustment.
Jeff Sharkey [Thu, 15 Aug 2013 23:17:41 +0000 (16:17 -0700)]
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: 103299831033299310332952
Change-Id: I05f4fdf5b04041a38e1ba7fb30202a3b0c615bf6

11 years agoUse default class loader when creating a LocationRequest from Parcel.
David Christie [Thu, 15 Aug 2013 23:01:42 +0000 (16:01 -0700)]
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

11 years agoMerge "LE: Add support for the HID-over-GATT profile (2/3)" into klp-dev
Zhihai Xu [Thu, 15 Aug 2013 22:46:14 +0000 (22:46 +0000)]
Merge "LE: Add support for the HID-over-GATT profile (2/3)" into klp-dev

11 years agoMerge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev
John Spurlock [Thu, 15 Aug 2013 22:13:14 +0000 (22:13 +0000)]
Merge "Maintain TRANSIENT_*_BAR flags until transient bars hidden." into klp-dev

11 years agoLE: Add support for the HID-over-GATT profile (2/3)
Andre Eisenbach [Fri, 8 Mar 2013 02:07:35 +0000 (18:07 -0800)]
LE: Add support for the HID-over-GATT profile (2/3)

bug:8330048
Change-Id: I600563d81dec1638dc35e31e19f61d6c04f09ae8

11 years agoMerge "DocumentsUI handles GET_CONTENT; hinting, errors." into klp-dev
Jeff Sharkey [Thu, 15 Aug 2013 21:53:54 +0000 (21:53 +0000)]
Merge "DocumentsUI handles GET_CONTENT; hinting, errors." into klp-dev

11 years agoMaintain TRANSIENT_*_BAR flags until transient bars hidden.
John Spurlock [Wed, 14 Aug 2013 21:57:38 +0000 (17:57 -0400)]
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

11 years agoDocumentsUI handles GET_CONTENT; hinting, errors.
Jeff Sharkey [Thu, 15 Aug 2013 18:24:03 +0000 (11:24 -0700)]
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: 1033011210329976103407411033168910329971
Change-Id: Ieb8768a6d71201816046f4a4c48832061a313c28

11 years agoConvert 4444 bitmaps to 8888
Romain Guy [Thu, 15 Aug 2013 19:54:53 +0000 (12:54 -0700)]
Convert 4444 bitmaps to 8888
Bug #10206452

Change-Id: I928c9189b0d80741490b01a739959d8c2d5312a7
(cherry picked from commit a2cdb59b186d0ee51f110c1a7d358911573d48bf)

11 years agoMerge "wifi: Send event without prefix to p2p0" into klp-dev
Dmitry Shmidt [Thu, 15 Aug 2013 19:32:33 +0000 (19:32 +0000)]
Merge "wifi: Send event without prefix to p2p0" into klp-dev

11 years agoMerge "Bound touch and tool axes lengths below at 0" into klp-dev
Michael Wright [Thu, 15 Aug 2013 19:26:43 +0000 (19:26 +0000)]
Merge "Bound touch and tool axes lengths below at 0" into klp-dev

11 years agoGracefully handle missing directories.
Jeff Sharkey [Thu, 15 Aug 2013 18:50:02 +0000 (11:50 -0700)]
Gracefully handle missing directories.

Bug: 10295932
Change-Id: I9d18682d0ba57bf7f77d043ee8dab286ee80ba2a

11 years agoMediaFormat: added subtitle format
Lajos Molnar [Thu, 15 Aug 2013 18:35:14 +0000 (11:35 -0700)]
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

11 years agowifi: Send event without prefix to p2p0
Dmitry Shmidt [Wed, 14 Aug 2013 22:25:22 +0000 (15:25 -0700)]
wifi: Send event without prefix to p2p0

Bug: 9298955

Change-Id: I71037dd1cd60ee4efa75e1d6fab60a07bdf0626d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
11 years agoMerge "Root invalidation, write and grid flags, local." into klp-dev
Jeff Sharkey [Thu, 15 Aug 2013 16:44:15 +0000 (16:44 +0000)]
Merge "Root invalidation, write and grid flags, local." into klp-dev

11 years agoMerge "Recover tracking pointer going up mid-gesture in shade." into klp-dev
John Spurlock [Thu, 15 Aug 2013 16:38:45 +0000 (16:38 +0000)]
Merge "Recover tracking pointer going up mid-gesture in shade." into klp-dev

11 years agoMerge "Defend against NPE." into klp-dev
Daniel Sandler [Thu, 15 Aug 2013 16:06:49 +0000 (16:06 +0000)]
Merge "Defend against NPE." into klp-dev

11 years agoModify wifi BatchedScan.
Robert Greenwalt [Wed, 14 Aug 2013 23:07:44 +0000 (16:07 -0700)]
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

11 years agoRecover tracking pointer going up mid-gesture in shade.
John Spurlock [Thu, 15 Aug 2013 13:29:31 +0000 (09:29 -0400)]
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

11 years agoAdd an API supportsSwitchingToNextInput
Satoshi Kataoka [Thu, 15 Aug 2013 06:36:44 +0000 (15:36 +0900)]
Add an API supportsSwitchingToNextInput

To let the system know an IME supports switching to a next input method

Bug: 8364845
Change-Id: Iabf4f106893ee6a262ad0cd44dbec0c661bf0ff2

11 years agoRoot invalidation, write and grid flags, local.
Jeff Sharkey [Thu, 15 Aug 2013 01:29:19 +0000 (18:29 -0700)]
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: 10330069103301081033021010329976
Change-Id: I6ce6160f6ce6621e6ea05848a31bbbcb84587671

11 years agoBound touch and tool axes lengths below at 0
Michael Wright [Wed, 14 Aug 2013 20:44:23 +0000 (13:44 -0700)]
Bound touch and tool axes lengths below at 0

Change-Id: I75ca196312201773cfabb74ee5b28a7d80f6ba60

11 years agoMerge "Prevent refocus after entering touch mode" into klp-dev
Alan Viverette [Thu, 15 Aug 2013 00:01:02 +0000 (00:01 +0000)]
Merge "Prevent refocus after entering touch mode" into klp-dev

11 years agoMerge "Ensure LOW_PROFILE is always clear when bars are transient." into klp-dev
John Spurlock [Wed, 14 Aug 2013 23:50:38 +0000 (23:50 +0000)]
Merge "Ensure LOW_PROFILE is always clear when bars are transient." into klp-dev

11 years agoMerge "Add motion event forwarding hidden APIs to View" into klp-dev
Alan Viverette [Wed, 14 Aug 2013 23:01:56 +0000 (23:01 +0000)]
Merge "Add motion event forwarding hidden APIs to View" into klp-dev

11 years agoMerge "Throw exception in FragmentManager when queuing to a destroyed activity" into...
Alan Viverette [Wed, 14 Aug 2013 22:55:55 +0000 (22:55 +0000)]
Merge "Throw exception in FragmentManager when queuing to a destroyed activity" into klp-dev

11 years agoDateUtils should use the user's 12/24-hour preference, not the locale's.
Elliott Hughes [Wed, 14 Aug 2013 22:12:43 +0000 (15:12 -0700)]
DateUtils should use the user's 12/24-hour preference, not the locale's.

Bug: 10312832

(cherry picked from commit f0b79aeed36f0839e4effaa36893b7ca71292563)

Change-Id: I0d78725d47009553f9003ccfba06f70f178a6ec1

11 years agoAdd motion event forwarding hidden APIs to View
Alan Viverette [Wed, 14 Aug 2013 21:57:13 +0000 (14:57 -0700)]
Add motion event forwarding hidden APIs to View

Change-Id: Ia7ab5496f8064c96b34912b5f5e9af6fd0978b34

11 years agoMerge "Camera2: Add metadata keys and enum values" into klp-dev
Eino-Ville Talvala [Wed, 14 Aug 2013 20:20:43 +0000 (20:20 +0000)]
Merge "Camera2: Add metadata keys and enum values" into klp-dev

11 years agoEnsure LOW_PROFILE is always clear when bars are transient.
John Spurlock [Wed, 14 Aug 2013 20:08:45 +0000 (16:08 -0400)]
Ensure LOW_PROFILE is always clear when bars are transient.

Bug:10326361
Change-Id: I4d12c4973153aac72bc840840f061ec782e27a87

11 years agoMerge "Add GIDs to packages.list, update SD card perms." into klp-dev
Jeff Sharkey [Wed, 14 Aug 2013 20:08:36 +0000 (20:08 +0000)]
Merge "Add GIDs to packages.list, update SD card perms." into klp-dev

11 years agoam 04b40ee3: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release jb-mr2...
The Android Open Source Project [Wed, 14 Aug 2013 19:16:21 +0000 (12:16 -0700)]
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...

11 years agoReconcile with jb-mr2-release jb-mr2-zeroday-release jb-mr2-zeroday-deb-release ...
The Android Open Source Project [Wed, 14 Aug 2013 19:09:27 +0000 (12:09 -0700)]
Reconcile with jb-mr2-release jb-mr2-zeroday-release jb-mr2-zeroday-deb-release - do not merge

Change-Id: I498651fc3fa9b021570780e8b8848a806c31962f

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 14 Aug 2013 18:47:49 +0000 (11:47 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ibb2df782552963c6a3a39f57c8fd8cce6f2f7654
Auto-generated-cl: translation import

11 years agoam 30e9065c: am 8ab80f1a: am 1a5bb9d5: Update Typography design guide Bug: 6947941
Roman Nurik [Wed, 14 Aug 2013 18:32:13 +0000 (11:32 -0700)]
am 30e9065c: am 8ab80f1a: am 1a5bb9d5: Update Typography design guide Bug: 6947941

* commit '30e9065c2530d9db5e63807649f1054b4ee33033':
  Update Typography design guide Bug: 6947941

11 years agoam 8ab80f1a: am 1a5bb9d5: Update Typography design guide Bug: 6947941
Roman Nurik [Wed, 14 Aug 2013 18:24:11 +0000 (11:24 -0700)]
am 8ab80f1a: am 1a5bb9d5: Update Typography design guide Bug: 6947941

* commit '8ab80f1a02874a3bc4d9ec1272536e17a888bf3c':
  Update Typography design guide Bug: 6947941

11 years agoam 1a5bb9d5: Update Typography design guide Bug: 6947941
Roman Nurik [Wed, 14 Aug 2013 18:21:45 +0000 (11:21 -0700)]
am 1a5bb9d5: Update Typography design guide Bug: 6947941

* commit '1a5bb9d5cf13a2d2f9086926a7a020cfa08efd66':
  Update Typography design guide Bug: 6947941

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 14 Aug 2013 18:18:19 +0000 (11:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7b9539ca9b8988f87e4ca48b555725f6cd133284
Auto-generated-cl: translation import

11 years agoThrow exception in FragmentManager when queuing to a destroyed activity
Alan Viverette [Wed, 14 Aug 2013 18:17:25 +0000 (11:17 -0700)]
Throw exception in FragmentManager when queuing to a destroyed activity

Change-Id: I0522cf27fd423070f7578c1c43c1f05a335810bf

11 years agoUpdate Typography design guide
Roman Nurik [Wed, 14 Aug 2013 16:52:41 +0000 (09:52 -0700)]
Update Typography design guide
Bug: 6947941

Change-Id: I18a5c9cfd9de511c280d8aa7e410b5b9939c6774

11 years agoRemove comment that's only relevant for the underlying SkMatrix. Matrix has construc...
Mike Klein [Wed, 14 Aug 2013 17:13:30 +0000 (13:13 -0400)]
Remove comment that's only relevant for the underlying SkMatrix.  Matrix has constructors.

bug: 8470620

Change-Id: I00063dc03f752955c27c73e9c59b0496a1795924

11 years agoMerge "Expose MediaCodec.setParameters API to" into klp-dev
Andreas Huber [Wed, 14 Aug 2013 15:39:14 +0000 (15:39 +0000)]
Merge "Expose MediaCodec.setParameters API to" into klp-dev

11 years agoNormalize dream service dump check with other services.
John Spurlock [Wed, 14 Aug 2013 13:46:52 +0000 (09:46 -0400)]
Normalize dream service dump check with other services.

Bug:10310128
Change-Id: Ieeeccc01832b569cf7fb3d1633d7dde60fceb7b2

11 years agoMerge "LE: Add peripheral role support (1/4)" into klp-dev
Matthew Xie [Wed, 14 Aug 2013 08:14:08 +0000 (08:14 +0000)]
Merge "LE: Add peripheral role support (1/4)" into klp-dev

11 years agoLE: Add peripheral role support (1/4)
Andre Eisenbach [Wed, 7 Aug 2013 02:57:48 +0000 (19:57 -0700)]
LE: Add peripheral role support (1/4)

Initial stack support for the LE peripheral role.

Change-Id: I6222493488822b4289b90888ccc97ad9306f54d1

11 years agoMerge "LE: Add instance ID to descriptors (1/4)" into klp-dev
Matthew Xie [Wed, 14 Aug 2013 07:27:49 +0000 (07:27 +0000)]
Merge "LE: Add instance ID to descriptors (1/4)" into klp-dev

11 years agoMerge "Partial implementation for the favorite and available printer tracking." into...
Svetoslav [Wed, 14 Aug 2013 07:09:25 +0000 (07:09 +0000)]
Merge "Partial implementation for the favorite and available printer tracking." into klp-dev

11 years agoPartial implementation for the favorite and available printer tracking.
Svetoslav [Tue, 13 Aug 2013 05:36:50 +0000 (22:36 -0700)]
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

11 years agoMerge "Toward regularizing color & level across battery indicators." into klp-dev
Daniel Sandler [Wed, 14 Aug 2013 06:29:05 +0000 (06:29 +0000)]
Merge "Toward regularizing color & level across battery indicators." into klp-dev

11 years agoToward regularizing color & level across battery indicators.
Daniel Sandler [Fri, 12 Apr 2013 05:39:02 +0000 (01:39 -0400)]
Toward regularizing color & level across battery indicators.

Each of our existing assets is slightly incorrect in some
way: inconsistent pixel jumps from one percent to the next,
inconsistent color change, etc. The only way to get it
perfectly right is to draw it programmatically.

Bug: 8504254 // inconsistent color change threshold
-- previously --
Bug: 3136046 // in Gingerbread
Bug: 3387973 // Honeycomb
Bug: 5070948 // ICS
Change-Id: I6a3e7409ecec55e10328541ecb1e9d54aebdbe96

11 years agoMerge "How did that get there?" into klp-dev
Daniel Sandler [Wed, 14 Aug 2013 05:24:33 +0000 (05:24 +0000)]
Merge "How did that get there?" into klp-dev

11 years agoHow did that get there?
Daniel Sandler [Wed, 14 Aug 2013 05:19:45 +0000 (22:19 -0700)]
How did that get there?

Whoever checked this in: Turn in your badge and your gun.

Change-Id: I635dbc3bae6a58bf425241fb4105e26cc03a9869

11 years agoDefend against NPE.
Daniel Sandler [Wed, 14 Aug 2013 03:18:01 +0000 (20:18 -0700)]
Defend against NPE.

During SystemUI startup, populating accessibility for other
views can race with attaching SignalClusterView to its parent.

Bug: 9999664
Change-Id: Iba34a3edba403ae65ff3c37b953d0736068a67b9

11 years agoMerge "Drop simultaneous pointer events when tracking velocity." into klp-dev
Daniel Sandler [Wed, 14 Aug 2013 02:35:33 +0000 (02:35 +0000)]
Merge "Drop simultaneous pointer events when tracking velocity." into klp-dev

11 years agoLE: Add instance ID to descriptors (1/4)
Andre Eisenbach [Tue, 9 Jul 2013 06:58:16 +0000 (23:58 -0700)]
LE: Add instance ID to descriptors (1/4)

If a remote devices offers multiple descriptors with the same UUID, the
instance ID is used to differentiate between them.

Change-Id: I0c36494c980c86abd23f9647196af8d59ef663e9

11 years agoDrop simultaneous pointer events when tracking velocity.
Daniel Sandler [Wed, 14 Aug 2013 02:24:19 +0000 (19:24 -0700)]
Drop simultaneous pointer events when tracking velocity.

They're not really simultaneous, but within 1ms of one
another, which is too close for getEventTime() to
distinguish; these events were causing the velocity
computation to become (understandably) confused and
resulting in failed panel flings.

Bug: 10246454
Change-Id: I3829192cdf9ad2a222ec8deca031d772d58de0da

11 years agoMerge "MediaCodecInfo.java: Added isFeatureSupported method to CodecCapabilities...
Lajos Molnar [Wed, 14 Aug 2013 01:26:38 +0000 (01:26 +0000)]
Merge "MediaCodecInfo.java: Added isFeatureSupported method to CodecCapabilities" into klp-dev

11 years agoam 5ad480c8: am 965eb258: am 1c2cb653: am 999ddae7: am ae24c0d5: am bf15c7ce: am...
Kenny Root [Wed, 14 Aug 2013 01:26:06 +0000 (18:26 -0700)]
am 5ad480c8: am 965eb258: am 1c2cb653: am 999ddae7: am ae24c0d5: am bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit '5ad480c8fba9a7044d827c38db235cffd52fbc13':
  Use hostname verifier directly instead of instance

11 years agoMerge "Delay transient navigation confirmation prompt." into klp-dev
John Spurlock [Wed, 14 Aug 2013 01:05:38 +0000 (01:05 +0000)]
Merge "Delay transient navigation confirmation prompt." into klp-dev

11 years agoam 965eb258: am 1c2cb653: am 999ddae7: am ae24c0d5: am bf15c7ce: am dceda36b: am...
Kenny Root [Wed, 14 Aug 2013 00:59:31 +0000 (17:59 -0700)]
am 965eb258: am 1c2cb653: am 999ddae7: am ae24c0d5: am bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit '965eb258438619774d37cce0ccf9edc976c7a343':
  Use hostname verifier directly instead of instance

11 years agoam 1c2cb653: am 999ddae7: am ae24c0d5: am bf15c7ce: am dceda36b: am 1c5e33d3: am...
Kenny Root [Wed, 14 Aug 2013 00:57:10 +0000 (17:57 -0700)]
am 1c2cb653: am 999ddae7: am ae24c0d5: am bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit '1c2cb6533bfebf8b930850215e24327420e34a4b':
  Use hostname verifier directly instead of instance

11 years agoam 999ddae7: am ae24c0d5: am bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am...
Kenny Root [Wed, 14 Aug 2013 00:54:18 +0000 (17:54 -0700)]
am 999ddae7: am ae24c0d5: am bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit '999ddae70360fc99e804d0b176af487582cd37c8':
  Use hostname verifier directly instead of instance

11 years agoam ae24c0d5: am bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am...
Kenny Root [Wed, 14 Aug 2013 00:51:15 +0000 (17:51 -0700)]
am ae24c0d5: am bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit 'ae24c0d539414805a6c979f9318d0765506221ae':
  Use hostname verifier directly instead of instance

11 years agoam bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use...
Kenny Root [Wed, 14 Aug 2013 00:48:20 +0000 (17:48 -0700)]
am bf15c7ce: am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit 'bf15c7cecefba8fdb3070c389a4966f11a8d8656':
  Use hostname verifier directly instead of instance

11 years agoam dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifie...
Kenny Root [Wed, 14 Aug 2013 00:44:27 +0000 (17:44 -0700)]
am dceda36b: am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit 'dceda36b0052aca7a93a265ea6eb8e8fb71cd322':
  Use hostname verifier directly instead of instance

11 years agoam 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly...
Kenny Root [Wed, 14 Aug 2013 00:42:45 +0000 (17:42 -0700)]
am 1c5e33d3: am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit '1c5e33d37dd4f8c68ccc16758e21572f193a8eb2':
  Use hostname verifier directly instead of instance

11 years agoam 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of...
Kenny Root [Wed, 14 Aug 2013 00:36:42 +0000 (17:36 -0700)]
am 3bc3240f: am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit '3bc3240ffb51358fa706099cfc5e120cf0f1b60d':
  Use hostname verifier directly instead of instance

11 years agoDelay transient navigation confirmation prompt.
John Spurlock [Wed, 14 Aug 2013 00:02:46 +0000 (20:02 -0400)]
Delay transient navigation confirmation prompt.

Ensure the nav bar is hidden, then wait about the same amount
of time before showing the prompt.

Bug:10312565
Change-Id: Ifbbbc55edf2e40844296e3e96fcc5b491f1b246f

11 years agoam a6226a2d: am 32c99004: Use hostname verifier directly instead of instance
Kenny Root [Wed, 14 Aug 2013 00:31:32 +0000 (17:31 -0700)]
am a6226a2d: am 32c99004: Use hostname verifier directly instead of instance

* commit 'a6226a2d202619ddb7e3e9765a3dc9f20241f853':
  Use hostname verifier directly instead of instance

11 years agoam 32c99004: Use hostname verifier directly instead of instance
Kenny Root [Wed, 14 Aug 2013 00:27:49 +0000 (17:27 -0700)]
am 32c99004: Use hostname verifier directly instead of instance

* commit '32c990044f027542a034a7606cf010dca6df252f':
  Use hostname verifier directly instead of instance