aapt : Support sub directory resources and ignore duplicated files.

like "res/layout/sub/sub_activity.xml"
to "R.layout.sub_activty"

ex:
 "res/layout/main.xml"
 "res/layout/sub/main.xml"
 skip parse "res/layout/sub/main.xml"

Change-Id: Ic328a59a6f744ebc9cb5c2b839e8a87892a60020
Fixing NULL pointer access causing segmentation fault in aapt

In cases where resource packages are generated which does
not have public resources for all resource types - NULL
pointers sneaks into the mOrderedConfigs vector causing
the aapt tool to crash. The solution in this fix simply
ignores the NULL elements when later processing the sorted
vector.

The NULL elements are inserted during applyPublicEntryOrder
function call

Change-Id: I8b7135932e2d235018da2e2f7e09f0d22f1b2f59
Don't ANR when no windows are touchable.

If the user touches a portion of the screen in which all of the windows
have FLAG_NOT_TOUCHABLE set, handle this as a failed event injection,
so that it doesn't result in ANR.

Change-Id: I6437e3dd1641005b8ac80f6cf7d20b14b97fcc7b
Wifi: Do not enable configured networks on WPS events.

The Android framework enables the configured networks after WPS
SUCCESS, the supplicant shall consider the networks based on the
priority for the WPA2 handshake after the successful WPS handshake.
This might end up in the station connecting to the AP other than
the current one with which the WPS handshake is done. Moreover,
since framework does not disable the networks and the wpa_supplicant
was the entity that disabled the networks before wps handshake, it
could actually be cleaner to re-enable the networks that were
disabled during the WPS operation within wpa_supplicant. This patch
addresses this by not enabling the configured networks on WPS events.

Bug: 10537481
Change-Id: I2fefc85d0e1f0f1fa96a76940f26aea05219c1ed
Remove airplane icon when totally disconnected device is not in airplane mode

Linaro Bug #873281
Snowball: Airplane mode enabling/disabling does not work as expected
https://bugs.launchpad.net/bugs/873281

Change-Id: Ide752f4cc31dfbadde8f11bd1fd9fc408d25c716
Signed-off-by: Veli-Matti Anttila <Veli-Matti.Anttila@elektrobit.com>
Fix formatting in clearApplicationUserData exception message.

Before:
  4539 does not have permission:android.permission.CLEAR_APP_USER_DATA to clear datafor process:com.android.chrome
After:
  PID 4539 does not have permission android.permission.CLEAR_APP_USER_DATA to clear data of package com.android.chrome

Change-Id: Ic466decb050e4fa7f3fee4098c4f2abdc6cedf5c
Remove duplicate code in Editor.java

Eliminate duplicates by calling resumeBlink()/suspendBlink().

Change-Id: Ia19ae1bf1a5c981700aa20be67ed9d557e2bfc56
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
Remove useless import statement

ReentrantLock does not use in Camera class.

Change-Id: I1765ebcb1bf6a0f9ac3d5da124e3d447de16faa0
aapt: set interlace handling for png_read_update_info

When png_read_update_info is called, interlace handling
should already be set. This is the recommended usage even
on > libpng 1.5.1 which also takes into account if the
image is interlaced.
Memory leak: parseObbFile.footer

Change-Id: Ia9e005e63fad7ab364f6c2c80cb98ec98f89b470
Signed-off-by: You Kim <you.kim72@gmail.com>