wifi: Set the mode at native layer

 * Set normal/AP mode so that the HAL can specify correct module
   arguments when loading the driver.

Change-Id: I6eee2cc53b5f1e70306e252e52c909833f220515
CellInfoLte - Turn off debug

With debug on, it constantly spams the log. Turn it off for now to
keep the log cleaner.

Change-Id: I115a613c7140545d626c4f4fda7a697a00b9cc35
Fix HTC headset handling.

HTC's headset driver adds additional bits to the switch state, which
we're unable to deal with. Fix that by masking out those bits and
keeping only the valid ones.

Change-Id: I696a863f7f81dd2827d238468d566f62a203aff6
Signed-off-by: rohan <rohanmathur34@gmail.com>
QuickSettings: fix GPS graphic state logic

Current logic shows the gps_off icon once the requesting
app has terminated (inUse = false). expected graphic is
gps_on. To reproduce:
1. Start with the GPS off. Tile has gps_off graphic and
   off text.
2. Tap the tile, graphic turns to gps_on, text turns to on
   (this is the idle state where GPS is on and available,
   but does not acquire satellites).
3. Start Google-Maps, once GPS is locked, graphic changes
   to gps_locked.
4. Now stop Google-Maps. Graphic will change to gps_off
   though you would expect it to return to state (2) above.

PS2: always set iconId=0 unless we have a GPS fix

Change-Id: Id044635016a848bb6bc02032b87e977ba0782f06
Revert GPS changes for now until issues are resolved.

Will do a refactoring to better isolate this code.

Revert "GPS fixes"

This reverts commit 84c6741f03118168aa61f2e028efae2ea4953a9f.

Revert "Squashed commit of GPS changes from CodeAurora"

This reverts commit 669786140ea7579dcbe05eb2d5199ebf161239a1.

Change-Id: Ib1a55d1be8dbc933c690b2f06af206ab5511903c
frameworks/base: support devices with SoftAp that don't require firmware reload

Partial forward port from ICS.

P2: Rebased

Change-Id: Iacb2498ec0f567a0a7c4e0dbf9127b70f09223bd

Conflicts:

	core/res/res/values/symbols.xml
	services/java/com/android/server/NetworkManagementService.java

Signed-off-by: rohan <rohanmathur34@gmail.com>
Change-Id: Icabf7a1a844c44074bfb07b730d9b0bb90d444f3
Merge "QuickSettings: fix GPS graphic state logic" into jb-mr1
Framework: longpress to kill app for hardware key

original commit - https://github.com/CyanogenMod/android_frameworks_base/commit/139a04bda82eaa93041d3cc653965679de9978bb

P2: Changed runnable to Mike Wilson's version in AwesomeAction
https://github.com/AOKP/frameworks_base/blob/jb-mr1/packages/SystemUI/src/com/android/systemui/aokp/AwesomeAction.java
P3: Removed unnecessary imports

Change-Id: Iaa2de02cfa1b94faabbb1ca86a01f185a55c5e93
Merge changes I115a613c,I6eee2cc5 into jb-mr1

* changes:
  CellInfoLte - Turn off debug
  wifi: Set the mode at native layer
Merge "Fix HTC headset handling." into jb-mr1
add recent apps GB style action to navbar buttons (1/2)

This will add the option to open the Gingerbread style
recent application dialog.
This is the dialog that will show when doing <Alt><Tab> with
a bluetooth keyboard.

Change-Id: Id7894b698c43683467d7e8283b4b2b3dd1946f87
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Lockscreen : Quick unlock (Part 2/2)

Unlock password/pin lockscreen without pressing enter button

Patchset 2 : Remove unecessary intialization

Change-Id: Iecb5ed52ef28234f6adad813906dc885296a157c

Quick unlock : Fix bug

There is an issue where users whose passwords are greater than 8 chars and
have quick unlock enabled will be unable to unlock their lockscreen.
This is due to the logic evaluating anything beyond 3chars as a password attempt.

This change modifies the quick unlock behavior so that when typing the password,
each character is considered an attempt, however if incorrect, is not reported as a failed attempt.
Only when the user presses enter is it considered an "explicit" attempt and a failed attempt is reported.

Patchset 2 : Rename runnable to better reflect its purpose
Patchset 3 : Switch to new behavior
Patchset 4 : Fix padding

Menu unlock (frameworks part)

    	The option in Settings/Security/Lockscreen was
    	added before in some CM commit, but not working
    	and was missing a proper frameworks part

Patchet 3: Done like master Danesh M wanted

p2: Remove menu unlock option
p3: Remove further menu unlock left over code

-----------------

Forward port to AOKP JB-MR1

PS2: allow quick unlock only for PIN and Password Keyguard
     and not for SIM PIN/PUK
PS3: remove tabs to put a smile on KhasMeks face

Change-Id: I359f06055400a716e8b999ca8272476a7c1f5781
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
SystemUI: transparency control overhaul

Allow more customization. TransparencyManager's responsibility
is to apply the values it is being fed from Settings.System set by
ROMControl.

Tablets do not use transparency currently, but it shouldn't throw
any errors.

Change-Id: I11c1578938e337285d99e9fa1fbbd537a4ee43ec
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Merge remote-tracking branch 'upstream/jb-mr1' into jb-mr1