Quick settings: use a solid black for tile background
Fix libinput to build with uapi headers.

Bug: 11559337
Change-Id: I00ca91162de7cd42e03df23bbe4208e169b2ebfe
Use index in SparseArray access properly

The original code was calling get() rather than valueAt(),
treating index as if it was a key.

Change-Id: I52539dfcb49b3d2ee3cb027d38c50b46f73b5ee7
Signed-off-by: Igor Chernyshev <igorc@google.com>
Fix NPE in ConnectivityService

Could occur when requestRouteToHostAddress is called on a network
with no associated tracker.  Code later in the method handles
this case gracefully but code introduced in JB throws an exception.

Change-Id: I6c8a0e313ecbcca120aeb5dd0802a72114749aa1
Fix a JNI local reference leak in JNIMediaPlayerListener::notify.

Bug: https://code.google.com/p/android/issues/detail?id=62137
Change-Id: I776cd83a66de37fdbbe8af367bf1b26e5e0c7247
Fix various c++11 narrowing violations

Summary:
The best fix for these narrowing
violations is to use static casting

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D641
Fixes ViewLocationHolder.compareTo(), guarantees transitive property across comparisons.

Change-Id: I375837241edb6b9b8ccb7a167731398f3af5a2b2
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>
ExpandableListConnector: Use children count only for expanded groups

Change-Id: Ib737070ac27d7e2fa18d2f940017f872454a6b05
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
Fixes a typo.

Change-Id: Iadc7fca539b6d0807981b6b7a14d5a3e49731dab
fix null pointer exception in enqueuing

Change-Id: I6f9b104d06fc18b8465117436279a8e34d1622c2
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 grammar in the comment that introduces the Debug.MemoryInfo class.

Change-Id: Ic021e689b7a8c55367277875b321358535c04e6a
Signed-off-by: justinmuller <justin.muller@acm.org>
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
Fixed some spell error on developer docs

Fixed small spell errors on the developer documentation.

Change-Id: I17aa11bfcbdd5ebd18c69c9a55a4f20abbe81c93
UsbDebuggingManager: Fix possible multiple NPEs toggling USB debugging

This patch fixes two NPEs when toggling fast USB debugging many times.

Change-Id: I7ac039fe51a32d35ef00eaa71accb85cd57d4d8a
Signed-off-by: atl4ntis <atl4ntis@gmail.com>