Don't check for null references.

The address of a reference will never be null in well formed C++ code.
The function returning the value being checked simply returns a
dereferenced pointer (which is just going to segfault if it is null!).

Change-Id: I3a4eb6adfc003c63ebf21b81d46088d52154d99d
WifiP2pWfdInfo set device type bugfix

Change-Id: I37a53aed80574e78c80dc4a4192bd8cc4320de9d
Signed-off-by: Grigoriy Kraynov <kraynov@mgpro.ru>
Use gettid directly in frameworks JNI.

Bug: 17048545
Change-Id: I1cd45d85368c799b75f76e778722979cbbb68ed2
BlurManager

* Hello guys, this is my BlurManager implemented as a system service + internal API.
The usage is very simple. At the moment you can retrieve a blurred wallpaper, a blurred screenshot of the running activity or blur your custom bitmap.
I'm also working in another api to blur custom views.

To get a blurred screenshot you have to call the prepare() void.

* An interface void will be called once the bitmap is ready returning the blurred bitmap.

You can check my other upcoming commit for blurring recents panel to understand how it works but im sure you'll get it easyli.

This is a little gift for Sean :)

Change-Id: I1b01a287f9b40520bd11f5c74810d98f3d2d1415