OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "There should be a mandatory coder's license. Bug #8586560" into jb-mr2-dev
Romain Guy [Sat, 13 Apr 2013 00:37:37 +0000 (00:37 +0000)]
Merge "There should be a mandatory coder's license. Bug #8586560" into jb-mr2-dev

11 years agoMerge "Make --non-constant-id generates non final IDs for styleable." into jb-mr2-dev
Xavier Ducrohet [Sat, 13 Apr 2013 00:35:54 +0000 (00:35 +0000)]
Merge "Make --non-constant-id generates non final IDs for styleable." into jb-mr2-dev

11 years agoMerge "always trigger a re-draw when updating the transparent region hint" into jb...
Mathias Agopian [Sat, 13 Apr 2013 00:28:16 +0000 (00:28 +0000)]
Merge "always trigger a re-draw when updating the transparent region hint" into jb-mr2-dev

11 years agoMerge "Fix race condition and disable call." into jb-mr2-dev
Jaikumar Ganesh [Sat, 13 Apr 2013 00:22:06 +0000 (00:22 +0000)]
Merge "Fix race condition and disable call." into jb-mr2-dev

11 years agoMerge "Allow for setting test type as a monkey." into jb-mr2-dev
Svetoslav Ganov [Sat, 13 Apr 2013 00:15:39 +0000 (00:15 +0000)]
Merge "Allow for setting test type as a monkey." into jb-mr2-dev

11 years agoMerge "Respect custom view drawing order when dispatching hover events." into jb...
Svetoslav [Sat, 13 Apr 2013 00:14:56 +0000 (00:14 +0000)]
Merge "Respect custom view drawing order when dispatching hover events." into jb-mr2-dev

11 years agoMerge changes Ia802afe9,If9af0d99 into jb-mr2-dev
Kenny Root [Sat, 13 Apr 2013 00:04:16 +0000 (00:04 +0000)]
Merge changes Ia802afe9,If9af0d99 into jb-mr2-dev

* changes:
  AndroidKeyStore: Add encrypted flag
  keystore: Add flag for blobs to be unencrypted

11 years agoalways trigger a re-draw when updating the transparent region hint
Mathias Agopian [Fri, 12 Apr 2013 22:13:12 +0000 (15:13 -0700)]
always trigger a re-draw when updating the transparent region hint

since SF now relies on receiving a frame for latching the
transparent region hint, we make sure we will indeed redraw
something.

Bug: 8581533

Change-Id: Ia12ddf5654a7deeac7628b799bfde4b8c16c992b

11 years agoRespect custom view drawing order when dispatching hover events.
Svetoslav [Fri, 12 Apr 2013 21:13:20 +0000 (14:13 -0700)]
Respect custom view drawing order when dispatching hover events.

1. The event dispatch methods should respect the child drawing order.
   Hover event dispatch in ViewGroup was not repsecting this order.

bug:8606799

Change-Id: Ie2fd3aff1292c21df23a04ca0aa03a97813c44ef

11 years agoMerge "Add new resources trace, also trace apk dex loading." into jb-mr2-dev
Dianne Hackborn [Fri, 12 Apr 2013 23:58:50 +0000 (23:58 +0000)]
Merge "Add new resources trace, also trace apk dex loading." into jb-mr2-dev

11 years agoThere should be a mandatory coder's license.
Romain Guy [Fri, 12 Apr 2013 23:51:21 +0000 (16:51 -0700)]
There should be a mandatory coder's license.
Bug #8586560

And I don't deserve to pass the test.

Change-Id: Ic7886205511f16145a925fc860e4a03dfaf473d5

11 years agoMerge "Properly computer gradient textures width" into jb-mr2-dev
Romain Guy [Fri, 12 Apr 2013 23:39:26 +0000 (23:39 +0000)]
Merge "Properly computer gradient textures width" into jb-mr2-dev

11 years agoProperly computer gradient textures width
Romain Guy [Fri, 12 Apr 2013 23:32:05 +0000 (16:32 -0700)]
Properly computer gradient textures width

Only on devices that do not have the npot extension

Change-Id: I472a13dc707d2abaf5fcc06f99c9da343b333558

11 years agoMake --non-constant-id generates non final IDs for styleable.
Xavier Ducrohet [Fri, 12 Apr 2013 23:00:49 +0000 (16:00 -0700)]
Make --non-constant-id generates non final IDs for styleable.

This was already done for all other types of resources, but not
for styleable (or the constants for the styleable array indices).

This fixes this. This only affects the SDK as this is used by the
SDK toolchain only.

Change-Id: Idfc2f7915be2b0e88590f38fd660610ffc7e160c

11 years agoMerge "Rename isUserRestricted to isUserLimited" into jb-mr2-dev
Amith Yamasani [Fri, 12 Apr 2013 22:33:05 +0000 (22:33 +0000)]
Merge "Rename isUserRestricted to isUserLimited" into jb-mr2-dev

11 years agoAndroidKeyStore: Add encrypted flag
Kenny Root [Wed, 10 Apr 2013 18:30:58 +0000 (11:30 -0700)]
AndroidKeyStore: Add encrypted flag

Add the encrypted flag for the KeyPairGenerator and the KeyStore so that
applications can choose to allow entries when there is no lockscreen.

Bug: 8122243
Change-Id: Ia802afe965f2377ad3f282dab8c512388c705850

11 years agoMerge "API and doc cleanup, plus small animation/UI features" into jb-mr2-dev
Chet Haase [Fri, 12 Apr 2013 22:18:23 +0000 (22:18 +0000)]
Merge "API and doc cleanup, plus small animation/UI features" into jb-mr2-dev

11 years agoRename isUserRestricted to isUserLimited
Amith Yamasani [Fri, 12 Apr 2013 20:26:50 +0000 (13:26 -0700)]
Rename isUserRestricted to isUserLimited

Avoid confusion with user restrictions which can be applied to
non-limited users as well.

Updated the java docs.

Change-Id: I4097c50b528b01a49cebcb0832d09f2b06998faa

11 years agoam 27248105: am 044d08b0: am 7d62462b: am 8ab0f12f: am 64d51032: moar doc tags for...
Scott Main [Fri, 12 Apr 2013 21:57:34 +0000 (14:57 -0700)]
am 27248105: am 044d08b0: am 7d62462b: am 8ab0f12f: am 64d51032: moar doc tags for search suggestions (Design docs)

* commit '27248105a17eb64564cb904d6c9019afbfc5ac0f':
  moar doc tags for search suggestions (Design docs)

11 years agoam 044d08b0: am 7d62462b: am 8ab0f12f: am 64d51032: moar doc tags for search suggesti...
Scott Main [Fri, 12 Apr 2013 21:54:27 +0000 (14:54 -0700)]
am 044d08b0: am 7d62462b: am 8ab0f12f: am 64d51032: moar doc tags for search suggestions (Design docs)

* commit '044d08b0f10ca3a9e45c35bd6638763915c1f253':
  moar doc tags for search suggestions (Design docs)

11 years agoAdd new resources trace, also trace apk dex loading.
Dianne Hackborn [Fri, 12 Apr 2013 21:52:58 +0000 (14:52 -0700)]
Add new resources trace, also trace apk dex loading.

Change-Id: Ia48566efb21ee018659bd976ddb3a0f4997b9a3a

11 years agoam 7d62462b: am 8ab0f12f: am 64d51032: moar doc tags for search suggestions (Design...
Scott Main [Fri, 12 Apr 2013 21:50:15 +0000 (14:50 -0700)]
am 7d62462b: am 8ab0f12f: am 64d51032: moar doc tags for search suggestions (Design docs)

* commit '7d62462bacc4235d4e99dfe7a75783a70688537d':
  moar doc tags for search suggestions (Design docs)

11 years agoam 8ab0f12f: am 64d51032: moar doc tags for search suggestions (Design docs)
Scott Main [Fri, 12 Apr 2013 21:48:13 +0000 (14:48 -0700)]
am 8ab0f12f: am 64d51032: moar doc tags for search suggestions (Design docs)

* commit '8ab0f12f5ea44f5eb0f7c0cb6f05c289c33774d3':
  moar doc tags for search suggestions (Design docs)

11 years agoam 64d51032: moar doc tags for search suggestions (Design docs)
Scott Main [Fri, 12 Apr 2013 21:46:19 +0000 (14:46 -0700)]
am 64d51032: moar doc tags for search suggestions (Design docs)

* commit '64d51032cc1f20ae496ba49ca975e822dea02b7c':
  moar doc tags for search suggestions (Design docs)

11 years agoMerge "Disconnect from AP when teardown requested." into jb-mr2-dev
Robert Greenwalt [Fri, 12 Apr 2013 21:10:52 +0000 (21:10 +0000)]
Merge "Disconnect from AP when teardown requested." into jb-mr2-dev

11 years agoMerge "Fix for bug 8589670: Marking a not called WebChromeClient as deprecated."...
Kristian Monsen [Fri, 12 Apr 2013 21:05:15 +0000 (21:05 +0000)]
Merge "Fix for bug 8589670: Marking a not called WebChromeClient as deprecated." into jb-mr2-dev

11 years agomoar doc tags for search suggestions (Design docs)
Scott Main [Fri, 12 Apr 2013 21:00:30 +0000 (14:00 -0700)]
moar doc tags for search suggestions (Design docs)

Change-Id: I842bc00f7ede23b1bebe4bf2e54ba32d026cf04c

11 years agoMerge "Trace ValueAnimator based animations in systrace" into jb-mr2-dev
Romain Guy [Fri, 12 Apr 2013 20:58:36 +0000 (20:58 +0000)]
Merge "Trace ValueAnimator based animations in systrace" into jb-mr2-dev

11 years agoMerge "Add async events tracing to android.os.Trace" into jb-mr2-dev
Romain Guy [Fri, 12 Apr 2013 20:57:59 +0000 (20:57 +0000)]
Merge "Add async events tracing to android.os.Trace" into jb-mr2-dev

11 years agoAPI and doc cleanup, plus small animation/UI features
Chet Haase [Fri, 12 Apr 2013 18:18:36 +0000 (11:18 -0700)]
API and doc cleanup, plus small animation/UI features

Adding features which round out the animation APIs (missing
getters, etc.). Also fix doc typos.

Issue #8350510 Add APIs needed for future animation capabilities

Change-Id: I063736848ba26e6d6c809b15fc3a103c74222f46

11 years agoMerge "Add user restrictions (credentials, user removal)" into jb-mr2-dev
Emily Bernier [Fri, 12 Apr 2013 20:21:35 +0000 (20:21 +0000)]
Merge "Add user restrictions (credentials, user removal)" into jb-mr2-dev

11 years agoam 4a88777e: am 2ad00035: am 6c79bc7e: am bfc4e4eb: am c9762f20: Merge "exclude IAB...
Scott Main [Fri, 12 Apr 2013 20:14:43 +0000 (13:14 -0700)]
am 4a88777e: am 2ad00035: am 6c79bc7e: am bfc4e4eb: am c9762f20: Merge "exclude IAB docs and various SDK docs from search suggestions Also delete several useless files" into jb-mr1.1-docs

* commit '4a88777e53ae26768255feeb49b46e2f7698d62e':
  exclude IAB docs and various SDK docs from search suggestions Also delete several useless files

11 years agoam 8a18006e: am e54d44b3: am ab23611c: am 816e905a: am 32bd5495: add redirect for...
Scott Main [Fri, 12 Apr 2013 20:14:39 +0000 (13:14 -0700)]
am 8a18006e: am e54d44b3: am ab23611c: am 816e905a: am 32bd5495: add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

* commit '8a18006e9de3901d1ee32eace9f37d638df27b1f':
  add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

11 years agoam 2ad00035: am 6c79bc7e: am bfc4e4eb: am c9762f20: Merge "exclude IAB docs and vario...
Scott Main [Fri, 12 Apr 2013 20:11:30 +0000 (13:11 -0700)]
am 2ad00035: am 6c79bc7e: am bfc4e4eb: am c9762f20: Merge "exclude IAB docs and various SDK docs from search suggestions Also delete several useless files" into jb-mr1.1-docs

* commit '2ad0003576dccedcfe5bff0af9bfbb6db97a2351':
  exclude IAB docs and various SDK docs from search suggestions Also delete several useless files

11 years agoam e54d44b3: am ab23611c: am 816e905a: am 32bd5495: add redirect for file from I3a3d0...
Scott Main [Fri, 12 Apr 2013 20:11:26 +0000 (13:11 -0700)]
am e54d44b3: am ab23611c: am 816e905a: am 32bd5495: add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

* commit 'e54d44b35bc87bd8c44a3657f65c19754a5d5ae9':
  add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

11 years agoMerge "Fix for bug 8500202: Right-to-left text not showing in list view" into jb...
Raph Levien [Fri, 12 Apr 2013 20:08:33 +0000 (20:08 +0000)]
Merge "Fix for bug 8500202: Right-to-left text not showing in list view" into jb-mr2-dev

11 years agoam 6c79bc7e: am bfc4e4eb: am c9762f20: Merge "exclude IAB docs and various SDK docs...
Scott Main [Fri, 12 Apr 2013 20:04:58 +0000 (13:04 -0700)]
am 6c79bc7e: am bfc4e4eb: am c9762f20: Merge "exclude IAB docs and various SDK docs from search suggestions Also delete several useless files" into jb-mr1.1-docs

* commit '6c79bc7ed1bea9013884907261cb1cd465c13741':
  exclude IAB docs and various SDK docs from search suggestions Also delete several useless files

11 years agoam ab23611c: am 816e905a: am 32bd5495: add redirect for file from I3a3d0e5b805aecd4e2...
Scott Main [Fri, 12 Apr 2013 20:04:56 +0000 (13:04 -0700)]
am ab23611c: am 816e905a: am 32bd5495: add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

* commit 'ab23611c32a3887367b481cb023aa49c250eb0a3':
  add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

11 years agoMerge "Add support for synchronous get()." into jb-mr2-dev
Tim Murray [Fri, 12 Apr 2013 20:03:51 +0000 (20:03 +0000)]
Merge "Add support for synchronous get()." into jb-mr2-dev

11 years agoam bfc4e4eb: am c9762f20: Merge "exclude IAB docs and various SDK docs from search...
Scott Main [Fri, 12 Apr 2013 20:02:56 +0000 (13:02 -0700)]
am bfc4e4eb: am c9762f20: Merge "exclude IAB docs and various SDK docs from search suggestions Also delete several useless files" into jb-mr1.1-docs

* commit 'bfc4e4ebf65fff4a07a8b0a7d1fc56e58965f564':
  exclude IAB docs and various SDK docs from search suggestions Also delete several useless files

11 years agoam 816e905a: am 32bd5495: add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5f...
Scott Main [Fri, 12 Apr 2013 20:02:53 +0000 (13:02 -0700)]
am 816e905a: am 32bd5495: add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

* commit '816e905ac241529919e3cb1adde533429924b02f':
  add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

11 years agoam c9762f20: Merge "exclude IAB docs and various SDK docs from search suggestions...
Scott Main [Fri, 12 Apr 2013 20:00:08 +0000 (13:00 -0700)]
am c9762f20: Merge "exclude IAB docs and various SDK docs from search suggestions Also delete several useless files" into jb-mr1.1-docs

* commit 'c9762f201bb511a1566f0054cedea0115da6dab8':
  exclude IAB docs and various SDK docs from search suggestions Also delete several useless files

11 years agoam 32bd5495: add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478
Scott Main [Fri, 12 Apr 2013 20:00:06 +0000 (13:00 -0700)]
am 32bd5495: add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

* commit '32bd549520fdb46842f2e8fff8365cf7c9ee83a7':
  add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

11 years agoMerge "exclude IAB docs and various SDK docs from search suggestions Also delete...
Scott Main [Fri, 12 Apr 2013 19:57:56 +0000 (19:57 +0000)]
Merge "exclude IAB docs and various SDK docs from search suggestions Also delete several useless files" into jb-mr1.1-docs

11 years agoAllow for setting test type as a monkey.
Adam Momtaz [Wed, 10 Apr 2013 19:42:58 +0000 (12:42 -0700)]
Allow for setting test type as a monkey.

1. This allows UiAutomation type tests to run as if an
   android monkey test is running. This allows applications
   that recognize that they are drive by a test framework and
   avoid performing certain actions such as calling 911.

2. Fixed a bug where the UiAutomation#disconnect() was not
   called when the instrumentation is shutdown.

bug: 8588857

Change-Id: I9e3624dfbe2b8f81f27805711de1098ea2edd03d

11 years agoDisconnect from AP when teardown requested.
Robert Greenwalt [Thu, 4 Apr 2013 22:51:08 +0000 (15:51 -0700)]
Disconnect from AP when teardown requested.

We can leave the driver running if it can't handle quick
start/stop cycles, but we must disconnect when requested.

Bug:8549078
Change-Id: Id2e930fb48ca78bb459b775cba7e9aa31a6c9941

11 years agoMerge "Add new route.hasGateway() api" into jb-mr2-dev
Robert Greenwalt [Fri, 12 Apr 2013 19:02:24 +0000 (19:02 +0000)]
Merge "Add new route.hasGateway() api" into jb-mr2-dev

11 years agoMerge "Clear test rectangle if previous focus is null." into jb-mr2-dev
Craig Mautner [Fri, 12 Apr 2013 19:02:06 +0000 (19:02 +0000)]
Merge "Clear test rectangle if previous focus is null." into jb-mr2-dev

11 years agoMerge "Remove keystore entries when app data cleared" into jb-mr2-dev
Kenny Root [Fri, 12 Apr 2013 18:54:23 +0000 (18:54 +0000)]
Merge "Remove keystore entries when app data cleared" into jb-mr2-dev

11 years agoFix for bug 8500202: Right-to-left text not showing in list view
Raph Levien [Fri, 12 Apr 2013 18:31:31 +0000 (11:31 -0700)]
Fix for bug 8500202: Right-to-left text not showing in list view

In single line mode, changing the text from LTR to RTL (or vice versa)
affects the alignment, which in turn means that bringTextIntoView is
needed to update the scrolling. A registerForPredraw should be done to
make this happen, but it was missing. This patch tests explicitly for
direction changes in this case, and schedules a predraw if so.

Change-Id: I16e0e23141c244dc8adc00ea8306dfe4c9bf487d

11 years agoadd redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478
Scott Main [Fri, 12 Apr 2013 18:40:38 +0000 (11:40 -0700)]
add redirect for file from I3a3d0e5b805aecd4e25fe5b46327a5fa28dbe478

Change-Id: Ideacad7f2b7dd78f56faef93de1f4d5bc60db6a7

11 years agoAdd new route.hasGateway() api
Robert Greenwalt [Thu, 11 Apr 2013 20:48:16 +0000 (13:48 -0700)]
Add new route.hasGateway() api

Fixes issues brought in by change to isHostRoute.  isHostRoute
was technically correct, but the callers really wanted hasNextHop
behavior.

bug:8597268
Change-Id: I360761ccfa98b2ba34642f717a78fa71ec1bae4f

11 years agoexclude IAB docs and various SDK docs from search suggestions
Scott Main [Fri, 12 Apr 2013 18:19:39 +0000 (11:19 -0700)]
exclude IAB docs and various SDK docs from search suggestions
Also delete several useless files

Change-Id: I1b17e4eca17e69169002fc617180beb2ac83f67a

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 12 Apr 2013 18:16:47 +0000 (18:16 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Introduce PixelBuffer API to enable PBOs" into jb-mr2-dev
Romain Guy [Fri, 12 Apr 2013 17:31:25 +0000 (17:31 +0000)]
Merge "Introduce PixelBuffer API to enable PBOs" into jb-mr2-dev

11 years agoam d6c7d6a7: am 8b3516e0: am 600d40a6: am 2545e285: am 4dd4c697: Merge "add redirects...
Scott Main [Fri, 12 Apr 2013 17:20:31 +0000 (10:20 -0700)]
am d6c7d6a7: am 8b3516e0: am 600d40a6: am 2545e285: am 4dd4c697: Merge "add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81" into jb-mr1.1-docs

* commit 'd6c7d6a7e33da6f182ff138227fecc924b3c6e21':
  add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81

11 years agoam 8b3516e0: am 600d40a6: am 2545e285: am 4dd4c697: Merge "add redirects to match...
Scott Main [Fri, 12 Apr 2013 17:18:39 +0000 (10:18 -0700)]
am 8b3516e0: am 600d40a6: am 2545e285: am 4dd4c697: Merge "add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81" into jb-mr1.1-docs

* commit '8b3516e0bba2b3ecf46b3ca8f7c459e3f8b2ac7c':
  add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81

11 years agoam 600d40a6: am 2545e285: am 4dd4c697: Merge "add redirects to match changes in I1cac...
Scott Main [Fri, 12 Apr 2013 17:16:34 +0000 (10:16 -0700)]
am 600d40a6: am 2545e285: am 4dd4c697: Merge "add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81" into jb-mr1.1-docs

* commit '600d40a6a523557748103dc536458fdb35d2c52c':
  add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81

11 years agoam 2545e285: am 4dd4c697: Merge "add redirects to match changes in I1cac3419835fe8402...
Scott Main [Fri, 12 Apr 2013 17:14:43 +0000 (10:14 -0700)]
am 2545e285: am 4dd4c697: Merge "add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81" into jb-mr1.1-docs

* commit '2545e2856308b86449842638d1915d434a1a7ac9':
  add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81

11 years agoam 4dd4c697: Merge "add redirects to match changes in I1cac3419835fe8402d416c14eb1165...
Scott Main [Fri, 12 Apr 2013 17:11:35 +0000 (10:11 -0700)]
am 4dd4c697: Merge "add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81" into jb-mr1.1-docs

* commit '4dd4c697bcc6f69c333b68a3e1c63e4e03a3c1dc':
  add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81

11 years agoam 8d53821d: am 46a1b362: am 657d7b8c: am 4f4d243d: am 64461bf4: doc tags for api...
Scott Main [Fri, 12 Apr 2013 17:10:57 +0000 (10:10 -0700)]
am 8d53821d: am 46a1b362: am 657d7b8c: am 4f4d243d: am 64461bf4: doc tags for api guides and delete a useless file

* commit '8d53821d055a826f7b6745ab17769308df5eb547':
  doc tags for api guides and delete a useless file

11 years agoRemove keystore entries when app data cleared
Kenny Root [Fri, 12 Apr 2013 17:06:51 +0000 (10:06 -0700)]
Remove keystore entries when app data cleared

When an application's user data is cleared, the keystore entries need to
be cleared as well. Previously we were only clearing entries when the
application was uninstalled for all users. Now we cover the case of
multiuser as well.

Bug: 8566369
Change-Id: I201c92d0893f0d18e87970dcd59ef6cd904584dc

11 years agoMerge "add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81...
Scott Main [Fri, 12 Apr 2013 17:08:08 +0000 (17:08 +0000)]
Merge "add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81" into jb-mr1.1-docs

11 years agoam 46a1b362: am 657d7b8c: am 4f4d243d: am 64461bf4: doc tags for api guides and delet...
Scott Main [Fri, 12 Apr 2013 17:08:06 +0000 (10:08 -0700)]
am 46a1b362: am 657d7b8c: am 4f4d243d: am 64461bf4: doc tags for api guides and delete a useless file

* commit '46a1b362dbbee0feaa395e6014b8c086ed54d7e0':
  doc tags for api guides and delete a useless file

11 years agoam 657d7b8c: am 4f4d243d: am 64461bf4: doc tags for api guides and delete a useless...
Scott Main [Fri, 12 Apr 2013 17:04:14 +0000 (10:04 -0700)]
am 657d7b8c: am 4f4d243d: am 64461bf4: doc tags for api guides and delete a useless file

* commit '657d7b8cbce5cdbd5d30cca56ab009e672373470':
  doc tags for api guides and delete a useless file

11 years agoam 4f4d243d: am 64461bf4: doc tags for api guides and delete a useless file
Scott Main [Fri, 12 Apr 2013 17:00:10 +0000 (10:00 -0700)]
am 4f4d243d: am 64461bf4: doc tags for api guides and delete a useless file

* commit '4f4d243d699d37310a914606fb4e5fc09ba9fc00':
  doc tags for api guides and delete a useless file

11 years agoam 64461bf4: doc tags for api guides and delete a useless file
Scott Main [Fri, 12 Apr 2013 16:56:55 +0000 (09:56 -0700)]
am 64461bf4: doc tags for api guides and delete a useless file

* commit '64461bf4f261164cb9e3022761fd217fd0028ac5':
  doc tags for api guides and delete a useless file

11 years agoFix race condition and disable call.
Jaikumar Ganesh [Thu, 11 Apr 2013 17:40:33 +0000 (10:40 -0700)]
Fix race condition and disable call.

1. A dispatch event can happen as soon you call enabled,
and we won't be ready to receive it. Also add error checks
and not crash if such a thing happens.

2. Java layer shouldn't call disable on the native layer
for trigger sensors. Native layer will clean up on its own.

b/8165631

Change-Id: Icbe76bd1f50632c0bcb0b3b04975b2c2f20ff36b

11 years agodoc tags for api guides
Scott Main [Fri, 12 Apr 2013 02:32:08 +0000 (19:32 -0700)]
doc tags for api guides
and delete a useless file

Change-Id: If6d2b77c9a2e6d473c4a473f7bd896aa35499938

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 12 Apr 2013 15:47:44 +0000 (08:47 -0700)]
Import translations. DO NOT MERGE

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

11 years agoMerge "Fix issues with GC thread." into jb-mr2-dev
Tim Murray [Fri, 12 Apr 2013 07:04:07 +0000 (07:04 +0000)]
Merge "Fix issues with GC thread." into jb-mr2-dev

11 years agoMerge "Adding APIs for an accessibility service to intercept key events." into jb...
Svetoslav [Fri, 12 Apr 2013 05:45:43 +0000 (05:45 +0000)]
Merge "Adding APIs for an accessibility service to intercept key events." into jb-mr2-dev

11 years agoMerge "Fix WPS handling when already connected" into jb-mr2-dev
Irfan Sheriff [Fri, 12 Apr 2013 05:05:11 +0000 (05:05 +0000)]
Merge "Fix WPS handling when already connected" into jb-mr2-dev

11 years agoFix issues with GC thread.
Tim Murray [Fri, 12 Apr 2013 02:32:14 +0000 (19:32 -0700)]
Fix issues with GC thread.

bug 8600533

Change-Id: I356902ee9897daeb2c1090815beeb572234c81e7

11 years agoMerge "Fix for bug 8577776 Throw exception if app calls WebView used on wrong thread...
Kristian Monsen [Fri, 12 Apr 2013 04:50:19 +0000 (04:50 +0000)]
Merge "Fix for bug 8577776 Throw exception if app calls WebView used on wrong thread" into jb-mr2-dev

11 years agoMerge "Ensure looper quits after all other messages are handled." into jb-mr2-dev
Jeff Brown [Fri, 12 Apr 2013 04:05:40 +0000 (04:05 +0000)]
Merge "Ensure looper quits after all other messages are handled." into jb-mr2-dev

11 years agoMerge "Fix proxy and IP settings" into jb-mr2-dev
Irfan Sheriff [Fri, 12 Apr 2013 03:59:37 +0000 (03:59 +0000)]
Merge "Fix proxy and IP settings" into jb-mr2-dev

11 years agoEnsure looper quits after all other messages are handled.
Jeff Brown [Fri, 12 Apr 2013 02:21:32 +0000 (19:21 -0700)]
Ensure looper quits after all other messages are handled.

Bug: 8596303
Change-Id: Ie8bfbbe810f5ade2afd870c8e675ce1353a80e5d

11 years agoFix docs typo in YUV code
Jason Sams [Fri, 12 Apr 2013 03:22:31 +0000 (20:22 -0700)]
Fix docs typo in YUV code

bug 8566866

Change-Id: I9da6d237b0a109b2c0799a41e531a0344cc19d40

11 years agoClear test rectangle if previous focus is null.
Craig Mautner [Fri, 12 Apr 2013 02:09:05 +0000 (19:09 -0700)]
Clear test rectangle if previous focus is null.

A bug in FolderEditText or DynamicLayout (b/8600683) was causing
the 'rectangle' parameter passed to scrollToRectOrFocus() to be
roughly 1000 feet to the right of the screen.

This bug is normally masked because the focus found in
mLastScrolledFocus never matches the new focus and consequently
the misleading 'rectangle' is nulled. However, on the first
time in to scrollToRectOrFocus when returning to Launcher
from another app, mLastScrolledFocus is null and the code
skips over the place where 'rectangle' is nulled. Without this
clearing it was determined that 'rectangle' was outside the viewable
area and scrolling not required. This is bug 8547155.

This change causes even null values of mLastScrollFocus to be
compared to the new focus thus masking the bug in all situations.
Bug 8600683 will be fixed in a separate CL.

Fixes bug 8547155.

Change-Id: Ic6cb22c42b0e93a9793dd2babc25727c2ba29155

11 years agoMerge "USAGE_IO_INPUT buffer notifications" into jb-mr2-dev
Jason Sams [Fri, 12 Apr 2013 02:20:10 +0000 (02:20 +0000)]
Merge "USAGE_IO_INPUT buffer notifications" into jb-mr2-dev

11 years agoadd redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81
Scott Main [Fri, 12 Apr 2013 02:14:13 +0000 (19:14 -0700)]
add redirects to match changes in I1cac3419835fe8402d416c14eb11652c89b0dd81

Change-Id: Ie8b9c48c9430e3aebaffbfb79f6774f6748db5d2

11 years agoMerge "Document the behavior of 'null' values in SharedPreferences" into jb-mr2-dev
Christopher Tate [Fri, 12 Apr 2013 01:41:01 +0000 (01:41 +0000)]
Merge "Document the behavior of 'null' values in SharedPreferences" into jb-mr2-dev

11 years agoMerge "Fix issue #7643046: Activity.getCallingPackage() bogusly returns null..."...
Dianne Hackborn [Fri, 12 Apr 2013 01:29:13 +0000 (01:29 +0000)]
Merge "Fix issue #7643046: Activity.getCallingPackage() bogusly returns null..." into jb-mr2-dev

11 years agoUSAGE_IO_INPUT buffer notifications
Jason Sams [Fri, 12 Apr 2013 01:07:52 +0000 (18:07 -0700)]
USAGE_IO_INPUT buffer notifications

Change-Id: I6ec0508089029da9ed118127f0c13b7b189ef5e9

11 years agoFix issue #7643046: Activity.getCallingPackage() bogusly returns null...
Dianne Hackborn [Fri, 12 Apr 2013 01:08:42 +0000 (18:08 -0700)]
Fix issue #7643046: Activity.getCallingPackage() bogusly returns null...

...after having to recreate the task stack

Change-Id: Ia354240f3650ddb578f2116a2aa4584e9ffe8508

11 years agoMerge "More fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev
Fabrice Di Meglio [Fri, 12 Apr 2013 01:03:33 +0000 (01:03 +0000)]
Merge "More fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev

11 years agoMerge "Fix issue #8582003: Evernote Camera Capture Failure" into jb-mr2-dev
Dianne Hackborn [Fri, 12 Apr 2013 00:58:24 +0000 (00:58 +0000)]
Merge "Fix issue #8582003: Evernote Camera Capture Failure" into jb-mr2-dev

11 years agoMerge "Fix bug #8599905 Add simple BidiFormatter getInstance() helper API" into jb...
Fabrice Di Meglio [Fri, 12 Apr 2013 00:46:07 +0000 (00:46 +0000)]
Merge "Fix bug #8599905 Add simple BidiFormatter getInstance() helper API" into jb-mr2-dev

11 years agoFix issue #8582003: Evernote Camera Capture Failure
Dianne Hackborn [Fri, 12 Apr 2013 00:29:32 +0000 (17:29 -0700)]
Fix issue #8582003: Evernote Camera Capture Failure

ActivityThread.currentPackageName() was actually returning
the process name.  Change this to return the package name, and
fix the one spot using it I could find that was actually wanting
the process name.

Change-Id: I323b9c5987106b5a090968e545281fc0ba55b6b8

11 years agoMerge "Implement #7341342 API request: way to determine current orientation..." into...
Dianne Hackborn [Fri, 12 Apr 2013 00:08:12 +0000 (00:08 +0000)]
Merge "Implement #7341342 API request: way to determine current orientation..." into jb-mr2-dev

11 years agoImplement #7341342 API request: way to determine current orientation...
Dianne Hackborn [Thu, 11 Apr 2013 00:34:25 +0000 (17:34 -0700)]
Implement #7341342 API request: way to determine current orientation...

...to allow for orientation locking

This doesn't add an API to get the current orientation, since that is
inherantly racy.  Instead there is a new "locked" orientation mode that
locks the screen into whatever the current rotation is.

While at it, added a few other useful orientation modes.

Change-Id: I5c369e6511cb72294e9e922ea8acffd770df9440

11 years agoAdd user restrictions (credentials, user removal)
Emily Bernier [Thu, 11 Apr 2013 19:46:36 +0000 (15:46 -0400)]
Add user restrictions (credentials, user removal)

Created constants in current.txt and UserManager.java, modified restrictions access in UserManagerService.java.

Change-Id: If8d778d84af81dcbf5784f6e0afd9ef966cc8ecf

11 years agoMerge "Routing workaround." into jb-mr2-dev
Robert Greenwalt [Thu, 11 Apr 2013 23:27:19 +0000 (23:27 +0000)]
Merge "Routing workaround." into jb-mr2-dev

11 years agoAdd support for synchronous get().
Tim Murray [Wed, 10 Apr 2013 23:21:40 +0000 (16:21 -0700)]
Add support for synchronous get().

bug 8599910

Change-Id: I0e7c52350cc1abb14a5ed59bb92e8e0346209d53

11 years agoFix bug #8599905 Add simple BidiFormatter getInstance() helper API
Fabrice Di Meglio [Thu, 11 Apr 2013 23:25:21 +0000 (16:25 -0700)]
Fix bug #8599905 Add simple BidiFormatter getInstance() helper API

Change-Id: I85ff074904025c724409ccc52bc82a1fd23803de

11 years agoDocument the behavior of 'null' values in SharedPreferences
Christopher Tate [Sat, 9 Mar 2013 00:41:24 +0000 (16:41 -0800)]
Document the behavior of 'null' values in SharedPreferences

Bug 7892422

Change-Id: Ib898fd0921d57871d4caecb9042c479271c7ad60

11 years agoAdding APIs for an accessibility service to intercept key events.
Svetoslav [Tue, 9 Apr 2013 19:58:41 +0000 (12:58 -0700)]
Adding APIs for an accessibility service to intercept key events.

Now that we have gestures which are detected by the system and
interpreted by an accessibility service, there is an inconsistent
behavior between using the gestures and the keyboard. Some devices
have both. Therefore, an accessibility service should be able to
interpret keys in addition to gestures to provide consistent user
experience. Now an accessibility service can expose shortcuts for
each gestural action.

This change adds APIs for an accessibility service to observe and
intercept at will key events before they are dispatched to the
rest of the system. The service can return true or false from its
onKeyEvent to either consume the event or to let it be delivered
to the rest of the system. However, the service will *not* be
able to inject key events or modify the observed ones.

Previous ideas of allowing the service to say it "tracks" the event
so the latter is not delivered to the system until a subsequent
event is either "handled" or "not handled" will not work. If the
service tracks a key but no other key is pressed essentially this
key is not delivered to the app and at potentially much later point
this stashed event will be delivered in maybe a completely different
context.The correct way of implementing shortcuts is a combination
of modifier keys plus some other key/key sequence. Key events already
contain information about which modifier keys are down as well as
the service can track them as well.

bug:8088812

Change-Id: I81ba9a7de9f19ca6662661f27fdc852323e38c00

11 years agoFix WPS handling when already connected
Irfan Sheriff [Thu, 11 Apr 2013 22:55:31 +0000 (15:55 -0700)]
Fix WPS handling when already connected

Dont enable networks too quickly

Bug: 8558120
Change-Id: Ibee1ae393d56e532227505d0393a9a337f72f62f

11 years agoMerge "Fix keyguard pattern invalidate bug" into jb-mr2-dev
Jim Miller [Thu, 11 Apr 2013 22:37:59 +0000 (22:37 +0000)]
Merge "Fix keyguard pattern invalidate bug" into jb-mr2-dev