AppOps: add Chinese support for AppOps popup dialog

Add Chinese support for AppOps popup dialog.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
        core/res/res/values-zh-rCN/strings.xml

Change-Id: I2ac3664640d1adba2e1b14016856f36d50eb2ed3
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
WindowManager: Toast message is not visible in some scenarios

Issue: Toast does not get displayed if it is displayed from an
Activity which runs in a process different from the process of the
package to which the activity belongs.

Fix: While adding a window a check is done to ensure that the uid
of the activity matches the uid of the package to which the activity
belongs. This change will bypass the above check for Toast message.

CRs-Fixed: 720701

Change-Id: I29c5d30a8f11c2d132066c77bd038abc444cedb4
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Hidding Public Variable

Hidding Public Variable .

Change-Id: I3507ea73118e97c3514135b14dafb92a30a2ba9d
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
usb: Show notification in 'charging only' mode.

Show correct notification in 'charging only' mode.

Change-Id: I93a04efe52e8280da95438ceb02b4054610a4d6e
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
USB: Don't add adb function when usb disconnected

When USB is disconnected, "adb" functions will be added even in
"charging" mode. This breaks "charging" mode's design.

Change-Id: I7ab62194a0acb97620e33da4839e0f6c87f60917
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>