OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "SurfaceTexture: update API docs"
Jamie Gennis [Sat, 14 Apr 2012 01:02:28 +0000 (18:02 -0700)]
Merge "SurfaceTexture: update API docs"

12 years agoam 6a9835a2: am 08135aa1: am 38e09c3d: docs: Android Training: Creating Backward...
Roman Nurik [Sat, 14 Apr 2012 00:57:18 +0000 (17:57 -0700)]
am 6a9835a2: am 08135aa1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '6a9835a2cdd95826ce0e4b9cb88c45b2e8277baf':

12 years agoam 4d7038cb: am 3fc245a1: am 38e09c3d: docs: Android Training: Creating Backward...
Roman Nurik [Sat, 14 Apr 2012 00:55:08 +0000 (17:55 -0700)]
am 4d7038cb: am 3fc245a1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '4d7038cb96690c93c6ca407d338159ea062424fb':

12 years agoam 273ad179: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs...
Roman Nurik [Sat, 14 Apr 2012 00:54:15 +0000 (17:54 -0700)]
am 273ad179: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '273ad17995679c5cdcf45b1458efb221889a9e90':
  docs: Android Training: Creating Backward-Compatible UIs class

12 years agoam 08135aa1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs...
Roman Nurik [Sat, 14 Apr 2012 00:53:47 +0000 (17:53 -0700)]
am 08135aa1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '08135aa17fc5e5e8ecfebf04c10911fb083c3660':

12 years agoam 3fc245a1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs...
Roman Nurik [Sat, 14 Apr 2012 00:53:17 +0000 (17:53 -0700)]
am 3fc245a1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '3fc245a181269c5e425698d8ad212015812ebd8d':
  docs: Android Training: Creating Backward-Compatible UIs class

12 years agoam 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class
Roman Nurik [Sat, 14 Apr 2012 00:51:40 +0000 (17:51 -0700)]
am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '38e09c3ddb7da47a23bf4221ab678e058c7e923a':
  docs: Android Training: Creating Backward-Compatible UIs class

12 years agoam 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class
Roman Nurik [Sat, 14 Apr 2012 00:51:34 +0000 (17:51 -0700)]
am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '38e09c3ddb7da47a23bf4221ab678e058c7e923a':
  docs: Android Training: Creating Backward-Compatible UIs class

12 years agoam 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class
Roman Nurik [Sat, 14 Apr 2012 00:51:16 +0000 (17:51 -0700)]
am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '38e09c3ddb7da47a23bf4221ab678e058c7e923a':
  docs: Android Training: Creating Backward-Compatible UIs class

12 years agoMerge "Add support for input devices that have vibrators."
Jeff Brown [Sat, 14 Apr 2012 00:34:20 +0000 (17:34 -0700)]
Merge "Add support for input devices that have vibrators."

12 years agoam 509efe16: am 29934896: am 19266f7b: docs: Android Training: Implementing Effective...
Roman Nurik [Sat, 14 Apr 2012 00:29:11 +0000 (17:29 -0700)]
am 509efe16: am 29934896: am 19266f7b: docs: Android Training: Implementing Effective Navigation class

* commit '509efe16a1e191ac8e65709feed20eaae2894343':

12 years agoam 88b5b983: am f872e0b9: am 19266f7b: docs: Android Training: Implementing Effective...
Roman Nurik [Sat, 14 Apr 2012 00:29:03 +0000 (17:29 -0700)]
am 88b5b983: am f872e0b9: am 19266f7b: docs: Android Training: Implementing Effective Navigation class

* commit '88b5b983acfe1caf8c584a20f98b4e48af76d1fe':

12 years agoam c07e9d0c: am 19266f7b: docs: Android Training: Implementing Effective Navigation...
Roman Nurik [Sat, 14 Apr 2012 00:27:43 +0000 (17:27 -0700)]
am c07e9d0c: am 19266f7b: docs: Android Training: Implementing Effective Navigation class

* commit 'c07e9d0c67e4481caef22dcd8de60c90afe97d63':
  docs: Android Training: Implementing Effective Navigation class

12 years agodocs: Android Training: Creating Backward-Compatible UIs class
Roman Nurik [Thu, 29 Mar 2012 00:55:24 +0000 (17:55 -0700)]
docs: Android Training: Creating Backward-Compatible UIs class

Change-Id: I9a3038839c7849ecbb144b218ce5a08bdcd35886

12 years agoam 29934896: am 19266f7b: docs: Android Training: Implementing Effective Navigation...
Roman Nurik [Sat, 14 Apr 2012 00:26:39 +0000 (17:26 -0700)]
am 29934896: am 19266f7b: docs: Android Training: Implementing Effective Navigation class

* commit '299348968aae3fa29dca167bfcc847ed5c65927b':

12 years agoam f872e0b9: am 19266f7b: docs: Android Training: Implementing Effective Navigation...
Roman Nurik [Sat, 14 Apr 2012 00:26:03 +0000 (17:26 -0700)]
am f872e0b9: am 19266f7b: docs: Android Training: Implementing Effective Navigation class

* commit 'f872e0b959877d2685bf5bf0e83c4e6865163203':
  docs: Android Training: Implementing Effective Navigation class

12 years agoam 19266f7b: docs: Android Training: Implementing Effective Navigation class
Roman Nurik [Sat, 14 Apr 2012 00:23:54 +0000 (17:23 -0700)]
am 19266f7b: docs: Android Training: Implementing Effective Navigation class

* commit '19266f7b02c91d21d630c99d593f83cc427cd40b':
  docs: Android Training: Implementing Effective Navigation class

12 years agoam 19266f7b: docs: Android Training: Implementing Effective Navigation class
Roman Nurik [Sat, 14 Apr 2012 00:23:53 +0000 (17:23 -0700)]
am 19266f7b: docs: Android Training: Implementing Effective Navigation class

* commit '19266f7b02c91d21d630c99d593f83cc427cd40b':
  docs: Android Training: Implementing Effective Navigation class

12 years agoam 19266f7b: docs: Android Training: Implementing Effective Navigation class
Roman Nurik [Sat, 14 Apr 2012 00:23:40 +0000 (17:23 -0700)]
am 19266f7b: docs: Android Training: Implementing Effective Navigation class

* commit '19266f7b02c91d21d630c99d593f83cc427cd40b':
  docs: Android Training: Implementing Effective Navigation class

12 years agodocs: Android Training: Implementing Effective Navigation class
Roman Nurik [Tue, 13 Mar 2012 04:48:47 +0000 (21:48 -0700)]
docs: Android Training: Implementing Effective Navigation class

Change-Id: Ife2f666e78e3fc0b28ad23321fd98926973e037b

12 years agoMerge "Import translations. DO NOT MERGE"
Eric Fischer [Sat, 14 Apr 2012 00:08:44 +0000 (17:08 -0700)]
Merge "Import translations. DO NOT MERGE"

12 years agoMerge "Import translations. DO NOT MERGE"
Eric Fischer [Sat, 14 Apr 2012 00:06:32 +0000 (17:06 -0700)]
Merge "Import translations. DO NOT MERGE"

12 years agoMerge "Extract Vibrator implementation from interface."
Jeff Brown [Sat, 14 Apr 2012 00:03:05 +0000 (17:03 -0700)]
Merge "Extract Vibrator implementation from interface."

12 years agoAdd support for input devices that have vibrators.
Jeff Brown [Fri, 13 Apr 2012 11:09:27 +0000 (04:09 -0700)]
Add support for input devices that have vibrators.

Added a getVibrator() method to InputDevice which returns a Vibrator
associated with that input device.  Its uses the same API as the
system vibrator which makes it easy for applications to be modified
to use one or the other.

Bug: 6334179
Change-Id: Ifc7f13dbcb778670f3f1c07ccc562334e6109d2e

12 years agoMerge "Improve lock screen hide animation."
Dianne Hackborn [Fri, 13 Apr 2012 23:55:00 +0000 (16:55 -0700)]
Merge "Improve lock screen hide animation."

12 years agoMerge "Enhance the debug output for StateMachines."
Wink Saville [Fri, 13 Apr 2012 23:52:04 +0000 (16:52 -0700)]
Merge "Enhance the debug output for StateMachines."

12 years agoMerge "Add direct support for HTML formatted text in ClipData etc."
Dianne Hackborn [Fri, 13 Apr 2012 23:47:38 +0000 (16:47 -0700)]
Merge "Add direct support for HTML formatted text in ClipData etc."

12 years agoEnhance the debug output for StateMachines.
Wink Saville [Fri, 13 Apr 2012 23:11:20 +0000 (16:11 -0700)]
Enhance the debug output for StateMachines.

Allow some messages to be ignored and allow the subclass to
add additional information. In particular, the information
can be used to decode the msg.what to a string.

Change-Id: I4f53becc6f0cb77399f99702084efef9d8785d67

12 years agoSurfaceTexture: update API docs
Jamie Gennis [Fri, 13 Apr 2012 21:48:22 +0000 (14:48 -0700)]
SurfaceTexture: update API docs

This change updates the SurfaceTexture API docs and modifies the behavior of
the updateTexImage to produce an IllegalStateException when not attached to a
GLES context.

Change-Id: I5a0875927785108960985c567d571d5f7033256a

12 years agoAdd direct support for HTML formatted text in ClipData etc.
Dianne Hackborn [Fri, 13 Apr 2012 22:36:06 +0000 (15:36 -0700)]
Add direct support for HTML formatted text in ClipData etc.

When using the clipboard, ACTION_SEND, etc., you can now supply
HTML formatted text as one of the representations.  This is exposed
as a set of methods on ClipData for building items with HTML
formatted text, and retrieving and coercing to HTML (and styled)
text.  In addtion, there is a new EXTRA_HTML_TEXT for interoperating
with the old ACTION_SEND protocol.

Change-Id: I8846520a480c8a5f829ec1e693aeebd425ac170d

12 years agoMerge "Unhide new Beam push APIs."
Martijn Coenen [Fri, 13 Apr 2012 22:22:11 +0000 (15:22 -0700)]
Merge "Unhide new Beam push APIs."

12 years agoMerge "Introduce new URI to clear data usage information"
Makoto Onuki [Fri, 13 Apr 2012 22:22:05 +0000 (15:22 -0700)]
Merge "Introduce new URI to clear data usage information"

12 years agoMerge "Include ALL the audio packages"
Jean-Baptiste Queru [Fri, 13 Apr 2012 22:14:55 +0000 (15:14 -0700)]
Merge "Include ALL the audio packages"

12 years agoMerge "Mapping from DownloadManager status to string."
Jeff Sharkey [Fri, 13 Apr 2012 21:47:23 +0000 (14:47 -0700)]
Merge "Mapping from DownloadManager status to string."

12 years agoMapping from DownloadManager status to string.
Jeff Sharkey [Fri, 13 Apr 2012 21:42:50 +0000 (14:42 -0700)]
Mapping from DownloadManager status to string.

Change-Id: I159aa5f9c7289d6935436d78523b0628482bdc91

12 years agoMerge "Depcrecate increment function (should have been done back in ICS)"
Daniel Lehmann [Fri, 13 Apr 2012 20:36:22 +0000 (13:36 -0700)]
Merge "Depcrecate increment function (should have been done back in ICS)"

12 years agoDepcrecate increment function (should have been done back in ICS)
Daniel Lehmann [Fri, 13 Apr 2012 20:29:49 +0000 (13:29 -0700)]
Depcrecate increment function (should have been done back in ICS)

Change-Id: I5c7d4d80a5d10b6ed2460f6dac30e53cc2714521

12 years agoMerge "Set initial focus"
John Reck [Fri, 13 Apr 2012 20:25:41 +0000 (13:25 -0700)]
Merge "Set initial focus"

12 years agoIntroduce new URI to clear data usage information
Makoto Onuki [Fri, 13 Apr 2012 19:56:42 +0000 (12:56 -0700)]
Introduce new URI to clear data usage information

We were going to piggyback existing DataUsageFeedback.FEEDBACK_URI,
but decided to introduce a new URI for this.

Bug 5475575

Change-Id: I6d467e5342f551142f047aa1b0b3503c5bf9b7fd

12 years agoWait for zoom manager to update before sending new picture event.
George Mount [Tue, 10 Apr 2012 19:29:59 +0000 (12:29 -0700)]
Wait for zoom manager to update before sending new picture event.

 Bug 6315070

Change-Id: I80be7680499705f7865abc8ef753db1bb63ef44f

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 13 Apr 2012 19:56:38 +0000 (12:56 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0e4e1a2f1e2af07143ea621cb4f35f1df5190484

12 years agoInclude ALL the audio packages
Jean-Baptiste Queru [Fri, 13 Apr 2012 19:47:10 +0000 (12:47 -0700)]
Include ALL the audio packages

Change-Id: I4a7bedcaf8a9eccbabdfef4ebee46ee4e356b04e

12 years agoMerge "Fix full backup/restore detection of encrypted devices"
Christopher Tate [Fri, 13 Apr 2012 19:46:54 +0000 (12:46 -0700)]
Merge "Fix full backup/restore detection of encrypted devices"

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 13 Apr 2012 19:46:16 +0000 (12:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6c9944f6c0968d076210839b415dca80722cd80d

12 years agoSet initial focus
John Reck [Fri, 13 Apr 2012 19:42:32 +0000 (12:42 -0700)]
Set initial focus

 Bug: 6108927

Change-Id: I8f9356c41700b05ca36d106b1db34e3a7630b125

12 years agoMerge "Ignore the result of the on share callback in ShareActionProvider."
Svetoslav Ganov [Fri, 13 Apr 2012 19:35:31 +0000 (12:35 -0700)]
Merge "Ignore the result of the on share callback in ShareActionProvider."

12 years agoIgnore the result of the on share callback in ShareActionProvider.
Svetoslav Ganov [Fri, 13 Apr 2012 19:32:17 +0000 (12:32 -0700)]
Ignore the result of the on share callback in ShareActionProvider.

1. The reason for having this callback on the ShareActionProvider
   is to notify the client that a share happened so he can update
   the UI.

Change-Id: I65e8a8db8d4add0cd23d53be0286b14b4b4640b4

12 years agoImprove lock screen hide animation.
Dianne Hackborn [Fri, 13 Apr 2012 18:14:09 +0000 (11:14 -0700)]
Improve lock screen hide animation.

Fade the alpha quicker, to reduce the amount of dimming to
black we see in the middle.  Also start scaled a little
farther back; since in this case the lock screen is fully
opaque, we won't see the early part of the window animation
behind.

Change-Id: I65fcfbf2f27860abf6a1b225a44428d8a20cfb34

12 years agoMerge "Add simple method to dump key/value pairs."
Jeff Sharkey [Fri, 13 Apr 2012 19:19:00 +0000 (12:19 -0700)]
Merge "Add simple method to dump key/value pairs."

12 years agoAdd simple method to dump key/value pairs.
Jeff Sharkey [Fri, 13 Apr 2012 19:18:13 +0000 (12:18 -0700)]
Add simple method to dump key/value pairs.

Change-Id: I26ebf7e1a1667298c6deca742c104685c52955f7

12 years agoMerge "Accessibility query APIs report invisible views."
Svetoslav Ganov [Fri, 13 Apr 2012 19:07:09 +0000 (12:07 -0700)]
Merge "Accessibility query APIs report invisible views."

12 years agoAccessibility query APIs report invisible views.
Svetoslav Ganov [Fri, 13 Apr 2012 19:05:51 +0000 (12:05 -0700)]
Accessibility query APIs report invisible views.

1. The accessibility querying APIs failed to check whether
   all predecessors of a view are visible before reporting it.

bug:6291855

Change-Id: I364a6f08e8d02c7105c00c9fdff0fec033829554

12 years agoAdd user confirmation dialog before sending SMS to short code.
Jake Hamby [Mon, 2 Jan 2012 23:34:39 +0000 (15:34 -0800)]
Add user confirmation dialog before sending SMS to short code.

Non-system apps now require user confirmation before sending an SMS
to a short code that may potentially cost the user money. The number
is tested against regex patterns for short codes for the country
matching the user's SIM card or network. The user is warned if the
phone number is potentially or definitely a premium SMS number.

The regex patterns are loaded from core/res/res/xml/sms_short_codes.xml.
If the user's country is not found, then phone numbers of 5 digits or less
(excluding known emergency phone numbers) are considered to be potential
SMS short codes.

Command to run test cases:
$ runtest -c com.android.internal.telephony.SmsUsageMonitorShortCodeTest frameworks-telephony

Bug: 5513975
Change-Id: Ic0b483153390e974c632302f3061300bc2a2274a

12 years agoUnhide some new Notification APIs.
Daniel Sandler [Wed, 11 Apr 2012 18:51:46 +0000 (14:51 -0400)]
Unhide some new Notification APIs.

Bug: 6318391
Change-Id: Ie51f373cc84d845fa4aababab702c115fcc9e2e5

12 years agoMerge "Remove an unnecessary sanity check"
John Reck [Fri, 13 Apr 2012 17:42:46 +0000 (10:42 -0700)]
Merge "Remove an unnecessary sanity check"

12 years agoMerge "Enforce READ_EXTERNAL on non-user builds."
Jeff Sharkey [Fri, 13 Apr 2012 17:42:33 +0000 (10:42 -0700)]
Merge "Enforce READ_EXTERNAL on non-user builds."

12 years agoRemove an unnecessary sanity check
John Reck [Fri, 13 Apr 2012 17:20:49 +0000 (10:20 -0700)]
Remove an unnecessary sanity check

 This is causing issues with MotionEvents built by various tools such
 as DRT. The check itself doesn't seem strictly necessary, and it is
 easier to remove the check than fix all the tools and tests

Change-Id: I74bf85307956b5858042fbe23f87ed2b87132f17

12 years agoMinor cleanups.
Craig Mautner [Fri, 13 Apr 2012 04:06:33 +0000 (21:06 -0700)]
Minor cleanups.

- Replace HashSet with ArrayList.
- Check for Watermark and SurfaceSession initialization once, not every
  time through layout.
- Move watermark rendering into animation.
- Add surface operation debugging.

Change-Id: I4b7e7c0b8d89d43c67a42753832f90b8632d4f5d

12 years agoMerge "Add support for HTML Media Capture "capture" attribute."
Ben Murdoch [Fri, 13 Apr 2012 13:06:50 +0000 (06:06 -0700)]
Merge "Add support for HTML Media Capture "capture" attribute."

12 years agoExtract Vibrator implementation from interface.
Jeff Brown [Fri, 13 Apr 2012 08:55:38 +0000 (01:55 -0700)]
Extract Vibrator implementation from interface.

Moved the core logic of Vibrator into SystemVibrator, potentially
allowing for the creation of other Vibrator subclasses.

Fixed several places where we were creating new Vibrator
instances unnecessarily instead of getting it from the Context.

It is safe to make Vibrator abstract because its constructor
was hidden from the SDK so it was not possible to subclass it.

Bug: 6334179
Change-Id: I18ece6544c26a7efb2d5099f8346a10aef8a5e18

12 years agoMerge "Add deprecated tag and note StrictMode violation"
Jonathan Dixon [Fri, 13 Apr 2012 09:35:06 +0000 (02:35 -0700)]
Merge "Add deprecated tag and note StrictMode violation"

12 years agoMerge "Hide the public constructors for singleton classes"
Jonathan Dixon [Fri, 13 Apr 2012 09:35:00 +0000 (02:35 -0700)]
Merge "Hide the public constructors for singleton classes"

12 years agoMerge "Decouple JsResult from the WebViewClassic impl"
Jonathan Dixon [Fri, 13 Apr 2012 09:33:04 +0000 (02:33 -0700)]
Merge "Decouple JsResult from the WebViewClassic impl"

12 years agoAdd support for HTML Media Capture "capture" attribute.
Ben Murdoch [Wed, 11 Jan 2012 10:55:10 +0000 (10:55 +0000)]
Add support for HTML Media Capture "capture" attribute.

Plumb the value of the "capture" attribute through the framework
down to the embedder.

Requires a change in WebKit
(I0a921be31fda79a43c05da4fe22d9c808d92709c)

and Browser (I38dfe2df043fdba1388384dbd3b5370737eb38e5).

Bug: 5771207

Change-Id: I494adc1274ca21ce8fe52a6c7b6b758217927e66

12 years agoMerge "Unhide camera autofocus move callback."
Wu-cheng Li [Fri, 13 Apr 2012 08:03:57 +0000 (01:03 -0700)]
Merge "Unhide camera autofocus move callback."

12 years agoEnforce READ_EXTERNAL on non-user builds.
Jeff Sharkey [Thu, 12 Apr 2012 22:59:23 +0000 (15:59 -0700)]
Enforce READ_EXTERNAL on non-user builds.

Enable default enforcement of READ_EXTERNAL_STORAGE on non-user
builds. Users can still explicitly enable enforcement in Settings.

Bug: 6131916
Change-Id: I7dc66b624ad252ed2a2ad3647f3ea85dda7f8e82

12 years agoMerge "Improve Paint.setTextLocale()"
Fabrice Di Meglio [Fri, 13 Apr 2012 02:07:57 +0000 (19:07 -0700)]
Merge "Improve Paint.setTextLocale()"

12 years agoMerge "Notify applications when input devices change."
Jeff Brown [Fri, 13 Apr 2012 01:55:57 +0000 (18:55 -0700)]
Merge "Notify applications when input devices change."

12 years agoNotify applications when input devices change.
Jeff Brown [Fri, 13 Apr 2012 00:32:48 +0000 (17:32 -0700)]
Notify applications when input devices change.

This change allows the InputManager to keep track of what input
devices are registered with the system and when they change.
It needs to do this so that it can properly clear its cache of
input device properties (especially the key map!) when changes
occur.

Added new API so that applications can register listeners for
input device changes.

Fixed a minor bug in EventHub where it didn't handle EPOLLHUP
properly so it would spam the log about unsupposed epoll events
until inotify noticed that the device was gone and removed it.

Change-Id: I937d8c601f7185d4299038bce6a2934fe4fdd2b3

12 years agoImprove Paint.setTextLocale()
Fabrice Di Meglio [Fri, 13 Apr 2012 01:15:09 +0000 (18:15 -0700)]
Improve Paint.setTextLocale()

Change-Id: Iffc9f8816f48dbd431b3b430a7c48f8d646703f3

12 years agoMerge "Pre-association service discovery support"
Irfan Sheriff [Fri, 13 Apr 2012 01:33:05 +0000 (18:33 -0700)]
Merge "Pre-association service discovery support"

12 years agoMerge "Fix bug 6330745 - internal fix for spinners"
Adam Powell [Fri, 13 Apr 2012 01:23:03 +0000 (18:23 -0700)]
Merge "Fix bug 6330745 - internal fix for spinners"

12 years agoMerge "Keep activities stopped while the lock screen is up."
Dianne Hackborn [Fri, 13 Apr 2012 01:18:45 +0000 (18:18 -0700)]
Merge "Keep activities stopped while the lock screen is up."

12 years agoFix bug 6330745 - internal fix for spinners
Adam Powell [Fri, 13 Apr 2012 01:14:12 +0000 (18:14 -0700)]
Fix bug 6330745 - internal fix for spinners

Change-Id: I2897ce5f41f9442714053675405296cab5296ac6

12 years agoMerge "Bonjour fixes"
Irfan Sheriff [Fri, 13 Apr 2012 00:55:15 +0000 (17:55 -0700)]
Merge "Bonjour fixes"

12 years agoFix full backup/restore detection of encrypted devices
Christopher Tate [Thu, 12 Apr 2012 23:38:02 +0000 (16:38 -0700)]
Fix full backup/restore detection of encrypted devices

The confirmation UI did not request the needed permission, so was failing
to communicate with the mount service; as a "safe" failure mode, it was
assuming the device was encrypted.  Fixed; now it presents the correct
prompt text for the device's encryption state.

Bug 5958195

Change-Id: Ic03db16673b89d3377e0362a09cf51bfb572d78b

12 years agoPre-association service discovery support
Irfan Sheriff [Wed, 4 Apr 2012 23:22:21 +0000 (16:22 -0700)]
Pre-association service discovery support

Add UPnp, Bonjour and vendor specific support for discovering services on
Wi-Fi direct before establishing a connection.

Change-Id: I1c1f3427180abdc80a4e682e713adc7f0326c5ef
Signed-off-by: Yoshihiko Ikenaga <yoshihiko.ikenaga@jp.sony.com>
12 years agoMerge "Add documentation about clearing usage stats"
Makoto Onuki [Fri, 13 Apr 2012 00:49:09 +0000 (17:49 -0700)]
Merge "Add documentation about clearing usage stats"

12 years agoMerge "Editing fixes to ImageFormat documentation."
Eino-Ville Talvala [Fri, 13 Apr 2012 00:48:58 +0000 (17:48 -0700)]
Merge "Editing fixes to ImageFormat documentation."

12 years agoMerge "Add Paint.setTextLocale()"
Fabrice Di Meglio [Fri, 13 Apr 2012 00:37:44 +0000 (17:37 -0700)]
Merge "Add Paint.setTextLocale()"

12 years agoMerge "Add new Arabic font for SystemUI"
Fabrice Di Meglio [Fri, 13 Apr 2012 00:36:18 +0000 (17:36 -0700)]
Merge "Add new Arabic font for SystemUI"

12 years agoAdd Paint.setTextLocale()
Fabrice Di Meglio [Fri, 6 Apr 2012 23:53:48 +0000 (16:53 -0700)]
Add Paint.setTextLocale()

- will be used for better shaping CJK and other goodies

Change-Id: If64945a337edd915f5ebb88f04b6fd18e92ca587

12 years agoKeep activities stopped while the lock screen is up.
Dianne Hackborn [Fri, 13 Apr 2012 00:24:07 +0000 (17:24 -0700)]
Keep activities stopped while the lock screen is up.

Tell the activity manager when the lock screen is shown, so it
can keep itself (mostly) in sleep mode during this time, having
the foreground actvities remain in their stopped state.

Change-Id: I71c86d3298f23a98014d7ae36fd540c9df9a64e6

12 years agoMerge "Switch does not append its state text to accessibility node infos."
Svetoslav Ganov [Fri, 13 Apr 2012 00:20:12 +0000 (17:20 -0700)]
Merge "Switch does not append its state text to accessibility node infos."

12 years agoSwitch does not append its state text to accessibility node infos.
Svetoslav Ganov [Fri, 13 Apr 2012 00:17:19 +0000 (17:17 -0700)]
Switch does not append its state text to accessibility node infos.

1. Switch was not populating the state on/off test in accessibility
   node infos. It apparently has two texts, the state one and the
   one it inherits from TextView.

bug:6213278

Change-Id: I9c6b1798a8b3230cfb6755cc5b088c320d991642

12 years agoAdd documentation about clearing usage stats
Makoto Onuki [Fri, 13 Apr 2012 00:09:58 +0000 (17:09 -0700)]
Add documentation about clearing usage stats

Bug 5475575

Change-Id: Idee771a6b29dcd4870090cd1b5c72e126886fb47

12 years agoMerge "The new APIs for the bookmarks, history and images."
John Reck [Thu, 12 Apr 2012 23:59:32 +0000 (16:59 -0700)]
Merge "The new APIs for the bookmarks, history and images."

12 years agoMerge "Don't update TextureView's surface if the Layer doesn't exist"
Romain Guy [Thu, 12 Apr 2012 23:58:47 +0000 (16:58 -0700)]
Merge "Don't update TextureView's surface if the Layer doesn't exist"

12 years agoMerge "NumberPicker not redrawn when current value is changed via an IME."
Svetoslav Ganov [Thu, 12 Apr 2012 23:58:34 +0000 (16:58 -0700)]
Merge "NumberPicker not redrawn when current value is changed via an IME."

12 years agoNumberPicker not redrawn when current value is changed via an IME.
Svetoslav Ganov [Thu, 12 Apr 2012 23:51:04 +0000 (16:51 -0700)]
NumberPicker not redrawn when current value is changed via an IME.

1. The NumberPicker scroll wheel was not updated upon value change
   via an IME as well as the picker was not redraws after the change.

bug:6291879

Change-Id: I5ba30df42e38cd06fa150328399eb4deeb0b683d

12 years agoMerge "Add missing support for Element.FONT()."
Stephen Hines [Thu, 12 Apr 2012 23:45:00 +0000 (16:45 -0700)]
Merge "Add missing support for Element.FONT()."

12 years agoAdd new Arabic font for SystemUI
Fabrice Di Meglio [Thu, 12 Apr 2012 23:20:49 +0000 (16:20 -0700)]
Add new Arabic font for SystemUI

- still work in progress
- bug #5987379

Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a

12 years agoUnhide new Beam push APIs.
Martijn Coenen [Thu, 12 Apr 2012 23:37:18 +0000 (16:37 -0700)]
Unhide new Beam push APIs.

Also added support for multiple Uris, removed mimeType argument.

Change-Id: Iad2c4d0e36a174080d7bc9c9c8ab893f90231d02

12 years agoDon't update TextureView's surface if the Layer doesn't exist
Romain Guy [Thu, 12 Apr 2012 23:33:44 +0000 (16:33 -0700)]
Don't update TextureView's surface if the Layer doesn't exist

Change-Id: Ifcc1a7a271f6c236a3aebd3726b7025348e64920

12 years agoMerge "Bump the interpreter stack size for the main thread."
Elliott Hughes [Thu, 12 Apr 2012 23:32:57 +0000 (16:32 -0700)]
Merge "Bump the interpreter stack size for the main thread."

12 years agoMerge "Properly cache color state lists."
Romain Guy [Thu, 12 Apr 2012 23:31:51 +0000 (16:31 -0700)]
Merge "Properly cache color state lists."

12 years agoThe new APIs for the bookmarks, history and images.
Tao Bai [Tue, 10 Apr 2012 18:59:45 +0000 (11:59 -0700)]
The new APIs for the bookmarks, history and images.

 Private for now while the implementation is worked on, will expose later

Change-Id: Id837b16d835491ae16ed686dd65c2a401d9591c6

12 years agoMerge "Fix layer blending bug"
Chet Haase [Thu, 12 Apr 2012 23:25:52 +0000 (16:25 -0700)]
Merge "Fix layer blending bug"

12 years agoProperly cache color state lists.
Romain Guy [Thu, 12 Apr 2012 23:25:17 +0000 (16:25 -0700)]
Properly cache color state lists.

Clobbering the typed value's cookie with the alpha channel is not okay.

Change-Id: Ia75481be06699b42f80eb4c59672c6cd6cf8c0a8

12 years agoMerge "SpannableStringBuilder correctly broadcast span changes during replace"
Gilles Debunne [Thu, 12 Apr 2012 23:23:05 +0000 (16:23 -0700)]
Merge "SpannableStringBuilder correctly broadcast span changes during replace"