Remove direct reference to X509CertImpl

This should use the system default X.509 certificate provider.

Change-Id: Ibdfd800a9d10f9dc566a360401efe7c3dc6cef5d
Fixed some spell error on developer docs

Fixed small spell errors on the developer documentation.

Change-Id: I17aa11bfcbdd5ebd18c69c9a55a4f20abbe81c93
AbsListView: Fix setItemChecked to check for redundant calls

Fix setItemChecked to invoke onItemCheckedStateChanged and
request layout only when a position's checked state changes.

Change-Id: Ib16ec46b157cd6e0e222a2d533b7c353900e6a6d
LightsService: Turn light off after pulse

Turn the light off after a pulse instead of resetting the light
to the pulse color and leaving the light solid on.

Change-Id: I711e8f01c72cc1dd1c80908c74c17ad55d80c57e
Fixed grammar in the comment that introduces the Debug.MemoryInfo class.

Change-Id: Ic021e689b7a8c55367277875b321358535c04e6a
Signed-off-by: justinmuller <justin.muller@acm.org>
webkit-viewcore: Fix not being able to reselect text.

Fixes not being able to select the same text after it has been deselected.
It fixes crash introduced in old (later reverted) patch.

Revert "Revert "Can not mark the same content of browser page after copy""

This reverts commit d45312587878b1496c7586956aac317bd6d053bf.

PS3: Fixed indentation.

Change-Id: Ia3cad7c2948f529f9e58c8571312158212049e6d
frameworks/base: Fix SystemUI crash on Recent Apps list

Issue: SystemUI crash is observed when Context MenuItem "App info"
       is selected on the recent apps activity
       1. Open the rencet apps list
       2. Long press on any one/more recent app(s)
       3. Lock the screen using power key
       4. Unlock the screen using power key
       5. select menu item "App info"
       6. SystemUI process will get crashed.

Fix: Changed the code to make sure that only one context
     menu is active at a time and also dismissed the
     context menu on pause of the RecentsActivity

Change-Id: Ia50bed7bfad6fde7beeaec37fa6402177eee1d40
Fixed Drag-and-Drop sample code

Fixed some erros in 'Responding to drag events' sample code on
http://developer.android.com/guide/topics/ui/drag-drop.html

Changed View.OnDragEventListener to View.OnDragListener,
deleted brace start('{') after DragEvent.ACTION_DRAG_ENTERED which
does not have matching ends, and removed 'break' on each case in
swich statement which causes 'Unreachable code' error.
Added return statement at the 'default' case, so that onDrag() method
can return value in all case.

Change-Id: I7d2335f5c405626e3f0cff275b52818762c84634
Signed-off-by: Taeho Kim <jyte82@gmail.com>
Removed duplicate items on table of contents

Removed duplicate, broken item in 'in this document' on Performance Tips (http://developer.android.com/traning/articles/perf-tips.html)

Change-Id: I499d9bb314fa471e6d2c0590f59c2f71077c00b8
Signed-off-by: Taeho Kim <jyte82@gmail.com>
fix null pointer exception in enqueuing

Change-Id: I6f9b104d06fc18b8465117436279a8e34d1622c2
Fixes a typo.

Change-Id: Iadc7fca539b6d0807981b6b7a14d5a3e49731dab
ExpandableListConnector: Use children count only for expanded groups

Change-Id: Ib737070ac27d7e2fa18d2f940017f872454a6b05
remove unnecessary switchUser call

If userId doesn't change, no need to do switchuser.or it will
introduce some tweak for some poor gps modules in quick off/on.

Change-Id: Ie5e408dc8be69c8a63a18bcb2cfe478cef4d70e6
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
Comment out stubbed attr javadoc

Two attrs in the SizeAdaptiveLayout.checkLayoutParams are simply stubs
and do not document actual attrs.  This causes a warning to be spit out
on every build.

Change-Id: I5420dc34ea6434f6ff538471c0061b42e3929a93
Remove dependency on jniGetNonMovableArrayElements.

jniGetNonMovableArrayElements is not safe and is going to be deleted.

Change-Id: I6daae1e4ac9e01ca593cda522fdbeb774eef1eff
(cherry picked from commit 75a5038849cecf38aba72721272ff07cca09501f)
Fix whitespace issues after casts.

Change-Id: Ief3e50fbedd193e22509aac783f16ba1288908de
Revert 4.3.1 provisioning update (experimental)
Added missing USB device descriptor fields needed for intent filters

The UsbDevice object is missing the ManufacturerName, ProductName, and
SerialNumber fields.  These are needed by intent filters to further
qualify a USB device that is plugged in while in host mode.  These
fields have been added in the jni UsbHostManager implementation and
propagated through UsbHostManager and UsbDevice implementations.
The UsbSettingsManager implementation has been modified to allow
manufacturer-name, product-name, and serial-number tags in intents.

File changes:
       modified:   api/current.txt
       modified:   core/java/android/hardware/usb/UsbDevice.java
       modified:   services/java/com/android/server/usb/UsbHostManager.java
       modified:   services/java/com/android/server/usb/UsbSettingsManager.java
       modified:   services/jni/com_android_server_UsbHostManager.cpp

Change-Id: I386884715d1b732b06a63feb77790be6b59b6fe6
Signed-off-by: Robin Cutshaw <robin.cutshaw@gmail.com>

Conflicts:

	services/java/com/android/server/usb/UsbHostManager.java
Fixes ViewLocationHolder.compareTo(), guarantees transitive property across comparisons.

Change-Id: I375837241edb6b9b8ccb7a167731398f3af5a2b2
Vibra: Add loading of the vibrator hardware module.

Vibrator HAL is now formed of two hardware modules: one is the default
AOSP and the other is the vendor implementation.

The vendor implementation will be loaded prior to the default one.
For that, the vibrator service has to load the module before
registering itself to the JNI.

This change is related to other changes in:
 - hardware/libhardware
 - hardware/libhardware_legacy

Change-Id: I844279f5535289f079d412fdc44c5cb3c9c1130c
Author: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: David Wagner <david.wagner@intel.com>
Author-tracking-BZ: 49760 94611