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

Conflicts:
	src/com/android/settings/TRDSEnabler.java
Allow changing auto-brightness responsitivity.

Change-Id: Icf62db26735f9ab7ad63e750a1824eb7823c3d70
Updated czech translation

Change-Id: I670fb006060e654e522142ff0c351c0115f0c476
Signed-off-by: kecinzer <kecinzer@gmail.com>
Merge "Settings: TRDS 2.0 (3/3)" into jb-mr1
Merge "Updated czech translation" into jb-mr1
Settings: refactor TRDS toggle and add some apps

cheers

Change-Id: I9b0a9b527fd0c2cac20d2b5475c8709a9fda1936
Updated simplified Chinese translations

Change-Id: Ifc5d8764bd5f7c012988413654e702878679af6f
Merge "Settings: refactor TRDS toggle and add some apps" into jb-mr1
Settings: Update Japanese translation

Change-Id: I82b96144bb47f6367b0068b130089afb7d85d508
Signed-off-by: rdgate <rdgate@gmail.com>
Rename DarkUI icon

Currently themes that include Slim's icon are theming our toggle. This will
allow our toggle to remain and themers to theme it.

Change-Id: I60e5ce97e8dce51aa545b5bea1bac2cc8e72fd7e
Merge "Settings: Update Japanese translation" into jb-mr1
Add Google Analytics support

PS2: add custom dimensions and override app-name & app-version
PS3: report unified version name (branch + milestone-X|nightly|unofficial)
PS4-6: further reporting changes
PS7: add back own stats reporting

Change-Id: Ieb69944ba0e67cbaddb0e94c1b87fc99510bdd36
Squashed Stats commits from CM

Remove the notification on boot. Users are thinking they need to opt out to get rid of the notification.
The setting to opt-out still exists in the Settings app.
If the user does not opt out within 'tFrame' time (1 day), the checkin service will now run; prior
to this, the checkin service would not run until the next reboot. That next reboot could occur within a
few minutes (startup crash, which then automatically checks in before the user has a chance to opt out)
or even the possibility of never. This is unpredictable and buggy.
Change the checkin frequency from 7 days to 1 day.

CMStats: fix up the logic and potential sync failures

Clean up CMStats code.

Besides the cleanup, make sure to wait a bit between retries if upload fails for whatever reason.

Change-Id: Ib83e35bab2dc3d643751f032f810569dc71cafcc
Statistics: update for client id and current view

use hashed Mac address as client id and store device name
as current view

Change-Id: Ia2b26cd674035fc97ca415ba0ca1f78e1628745f
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge remote-tracking branch 'upstream/jb-mr1' into jb-mr1