Settings: TRDS 2.0 (3/3)

After testing with huge success we discovered here
and there small problems (like NFC beam animation is broken,
TRDS was disabled on cardock etc) which mainly was caused
due that we used the already from AOSP introduced uiModes
qualifier which could cause in special conditions this
conflicts. Beside that we want a bit more flexibility.
Result: This commit introduces the inverted qualifier as
complete own qualifier undependent of the already AOSP
used ones.

Beside that it fixes all known issues......features:

- it is now completly working over the AOSP Configuration classes
  Means every app get notice of a change trough onConfiguratioChange
  and restarts it's activity if change was detected.
- app can disable that like some other configuration values
  over AndroidMainfest.xml
- beside "inverted" folder another "notinverted" folder is introduced
  for another themeing (eg white)
- qualifier order is direct before the official uiMode qualifiers
  (see AOSP docs)
- All usual Configuration actions can be used with the inverted
  qualifiers....like BroadcastChange, direct read out from every
  app etc. etc. Note: Only system can change the uiInvertedMode

So as you see a real own qualifier now

NOTE: Apktool as well aapt need to be changed to fit the "new
qualifier"....which means that we need to recompile our gapps
that they react as well on this new behaviour. Think we will get them ready
next 2 or 3 days

Change-Id: I6ac22062e32be902ca834fc7ac2b12fd24e47d44
[2/2] Power connect/disconnect notification support

Change-Id: Ib8dea0bf5a71c9d7fc5136079aa35f9ac1ac0430
Settings: refactor TRDS toggle and add some apps

cheers

Change-Id: I9b0a9b527fd0c2cac20d2b5475c8709a9fda1936
Commit Ib8dea0bf5a71c9d7fc5136079aa35f9ac1ac0430 translated to Russian

Fixed some typos, better-phrased :-[

Changed too long line

Change-Id: I8243ae2621e730d3850ef7420c73e48075264a95
Merge "Settings: refactor TRDS toggle and add some apps" into jb4.2
Reword power sounds to power connectivity alert.

Not just sounds since it vibrates!  Verbosity is best.

Change-Id: Ifaf221991e92db0f9799f5843b3aca062bf98a18
Allow changing auto-brightness responsitivity.

Change-Id: Icf62db26735f9ab7ad63e750a1824eb7823c3d70
Commits Ifaf221991e92db0f9799f5843b3aca062bf98a18 and Icf62db26735f9ab7ad63e750a1824eb7823c3d70 translated to Russian

Change-Id: I88a5f28d34e4eed11ea95241399393cc135ee33a
Date format issues fix for Russian lang

Fully fixed this time :)

Change-Id: I16d24451d89d02878de0c41531a7a3a9fb665249
Merge "Commits Ifaf221991e92db0f9799f5843b3aca062bf98a18 and Icf62db26735f9ab7ad63e750a1824eb7823c3d70 translated to Russian" into jb4.2
Notification Light: Fix apps with same name not showing up

Applications with the same name didn't show up in the
notification light add-app-dialog (with Facebook's "Messenager"
and Google's "Messenager" being the prominent example here).

This happend due to the fact that the list of applications
was sorted by names only and inserts with collisions were
dropped.

This commit refactor notification light settings to use packages
instead of application semantics. Further the list of packages
is now ordered by human readable name followed by package name,
which avoids the collision.

Additionally we handle situtations gracefully where a package
has more than one launcher activity (Again for example,
Google's "Messenger" and "Google+" is in the same package).

Bonus: potential race condition in the list adapter was
fixed, concurrent semantics were emphasized, unused imports
removed.

Change-Id: I87ad32f535ca866883df337432d1b0cecc9485a8
Bye, bye Talk. Welcome Hangouts (2/2)

Change-Id: I7bb2de2ff41ab2b2c49cee34ef8d59135d1cb623
Settings: Fix Swedish translations

The translation of "Time on" to "Tid funktionen varit på"
is too long. The result is that it covers the actual counter.

(Fix for issue 23804.)

The translation of "Not in range" to "Inte i intervall"
for wifi_not_in_range is a literal translation. When
talking about range for a radio signal, the correct
Swedish word is "räckhåll".

(Fixes issue mentioned in 22608.)

Change-Id: Iecf2acdd1acf8831c3f71d6f16cb17be5ce90d75
Settings: Camera button rebinding and lockscreen action additions (2/2)

Adds new config_deviceHardwareKeys bitmask for camera button.
Lets you rebind the camera press/longpress and adds a new KEYCODE_CAMERA handler to inject a longpress KeyEvent
in order to let you bind keys to actually trigger the shutter, in addition to launching the app itself.

This also adds KEYCODE_ASSIST and KEYCODE_APP_SWITCH to the available keys to assign longpress lockscreen actions to.

Change-Id: Iad1c850e07974ef45313b32c9427b9e0d31dedd7
Commit Iad1c850e07974ef45313b32c9427b9e0d31dedd7 translated to Russian

Change-Id: Iaac9f3ff31844d45cf5a92224d86d8aac2fde470
ProfilesSettings : Allow nfc override (2/2)

Allow user to override nfc state via profiles

Change-Id: I2a401f17ce42b1711588242e0604997e1f5d8399
Fix build and feature

sorry my bad on NFC profile feature pushed the wrong commit.
Fixes build and removes unsupported features on profile
settings

Change-Id: I2c1c27dbf080898286b5ed034926ccde5905bdf7