From 4fcb6c0ab25df3551dcca8785aa2ffdc7f67df20 Mon Sep 17 00:00:00 2001
From: PAC
Date: Mon, 11 Nov 2013 14:04:46 +0100
Subject: [PATCH 2/2] Frameworks_native: TRDS 2.0 (2/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.