hide from launcher

Change-Id: I8580105d92b6635d210bc80ace0be249ad5ed3cc
Torch: Hebrew translation

Change-Id: I49828d11c4ef693f47db6116723b518c9e8e78b0
German language update
Merge "German language update" into jb4.2
Torch: fix mdpi layout issues

Before: goo.gl/BhNWM
After: goo.gl/fxnzs

Change-Id: I09003e7762efff95830bc5899ad537fa3c0706b2
Torch: Fix NPE

Patchset 2: Fix code style

Change-Id: Idcd93d7ede3c0b4dbffa8546763c6fc7f62af43c
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Torch : Turn off action via notification

Allow user to turn torch off directly via notification actions.
https://jira.cyanogenmod.org/browse/CYAN-1319

Change-Id: Ib5041725935e82e6f9664680104a34fca66785d8
remove reduntant summary in notification

Change-Id: I7811e70cc002b81cff807d46792260a29204a223
Commit Ib5041725935e82e6f9664680104a34fca66785d8 translated to Russian

Change-Id: I64fa6be140f68fc3189d024b5518fe63fe0c9f03
Torch: fix aapt warnings

Change-Id: Ib2a55c54ff1c917036dfb0f77d2731d9650a2969
Use sticky broadcast to convey torch state (2/2).

It doesn't really make sense to store the (non-persistent) state of the
torch in a (persistent) setting. As the torch is sending a broadcast
anyway, make that broadcast sticky and use it to convey the state.

Change-Id: I7c9299ceb05ea627b4c73c06a9099cf1785abc8b
Merge up torch package with translations and last

cm overhaul commit. Thanks cm.

Change-Id: Id075dc86ee9680cdd221a114bdbcbd0163266968
Torch: UG translations

Change-Id: I14ebc91a6c92b0cfe9401cda8eeea31023674704
Torch: refactoring

Fixed some Android Lint warnings.
Removed unused strings and imports.
PS2: added AndroidManifest.xml, forgot to copy it.
PS3: buildbot doesn't seem to like empty "text" attribute, removed it.
PS4: rebased.

Change-Id: Ibcb7aa0f38a5433795dcd822ce49b90fb1f315d6
Torch: remove mdpi layout

not needed any more

Change-Id: I92e9355f7f5974bc12da2b86c97ebb17a9dfe1e0
Torch: clean up ug translation

Change-Id: Ib9238d7e81f2f7dd74c122fd1d35ca2d8ac4370a
Torch: Do not hard code crespo as not having high brightness.

Change-Id: I5bfbad91790a7dedaeb86745a6b6331a775549e6
Don't show variable brightness options when using the camera iface

Camera is a single-setting interface

Change-Id: I034ba323ee73fc71cdd40249cfbf59467aafb735
make torch to a real system app

give it the correct permissions to allow to write
to sys interface with less permissions needed to
keep security alive

Thanks Alex for the hint to the hidden API

and gmillz for the idea

Change-Id: I44f70bdf3ecfb57ccac85eebe61e57a163bdf501
Torch: add better error handling and added fallback mechanism

The handling of the Torch if an exception occured was very bad and
it was easy to break:

- notify the user with toast if the camera interface is not pressent
- catch the case that sys led controlled devices have wrong permissions
  (eg third party kernel) and torch will completly crash.
  Checking now if sys init is present.......if not successful
  try to switch back to the camera interface.
- send broadcast change only if the state really switched
- when error occured turn off the service and the notification
- cleanup
- send broadcast with qualified users

Change-Id: Iabeb3b5f1c17d784a06c154f9a33e8d3d5214b7d