405 Commits

Author SHA1 Message Date
Amith Yamasani
dc56ceb6a1 Merge "New permission to manage device admins" 2013-07-24 00:06:34 +00:00
Amith Yamasani
a418cf21c9 New permission to manage device admins
The previously used permission was doing double duty as the permission
that device admins to check for to ensure that calls are coming from valid
system components.

MANAGE_DEVICE_ADMINS is system|signature and is now required to add/remove
device admins.

Required for:
Bug: 9856348

Change-Id: I64385d2ec734c3957af21b5a5d9cffd8a3bcd299
2013-07-22 10:42:46 -07:00
Jim Miller
37ee2647d4 Merge "Fix keyguard layout on hdpi devices" 2013-07-20 01:52:08 +00:00
Jim Miller
99054020b8 Fix keyguard layout on hdpi devices
This reduces the size of the security area slightly to give
the widget more room.

Fixes bug 9642579

Change-Id: I58b861def932450901b17d6df74958dde8207769
2013-07-19 18:37:12 -07:00
Jaekyun Seok
bfdad8ecad Add a keycode to switch audio tracks (1/2)
A key to switch audio tracks is general on media devices like blu-ray.

Bug: 9728155
Change-Id: Ib61822b8aa9c143a8febc3cff4707fa775119448
2013-07-12 17:23:29 +09:00
Baligh Uddin
08f8a810d9 Import translations. DO NOT MERGE
Change-Id: I3f2d4b1f5d1ca4bb1f3c0e04757a627ad52ae365
Auto-generated-cl: translation import
2013-07-10 18:08:48 -07:00
Jim Miller
cf182aac94 Minor cleanup of KeyguardViewManager
Removed unused code and redundant check for high-end graphics.

Change-Id: I750d3918e5448760e622a4b3d1781b375bdc66db
2013-06-28 16:55:56 -07:00
Jim Miller
e51cf7aeb6 Simplify wake management code in keyguard.
Removes onWakeKey/Motion handling from keyguard since it's no longer used.
The legacy code was originally intended to have keyguard filter wake events
which is now done in PhoneWindowManager. Ultimately it just needs to call
PowerManager.wakeUp() since keyguard no longer filters these keys.

Change-Id: I5b8ef9b422abf850a85b57f21944e5eb09fbedc2
2013-06-27 15:58:29 -07:00
Baligh Uddin
8060677ba8 Import translations. DO NOT MERGE
Change-Id: I5612800c2b9deb0a0e653b86478bedfe45b729dd
Auto-generated-cl: translation import
2013-06-24 16:54:37 -07:00
Jim Miller
e42d4111c1 Fix alpha animation bug in keyguard
The setters/getters were being stripped by proguard, resulting
in janky transitions in keyguard alpha animations.

Change-Id: Ifd4574d9b64eb2b038acac41bfc8418745ee12a2
2013-06-20 18:41:07 -07:00
Jim Miller
9512953c66 Move Keyguard to the systemui process.
This should save some memory on devices with limited amounts of RAM
by allowing it to share the graphics context with systemui.

Initially, adding this to the systemui process triggered a bug where
the shared process id didn't exist in the table yet. The change to
ActiveServices tries to work around this by explicitly adding the package in
attachApplicationLocked().

Change-Id: I9e97d5d69ddd15d7f16aca83a57bdf381811a13b
2013-06-18 15:28:28 -07:00
Christopher Tate
ccbf84f44c Some system apps are more system than others
"signatureOrSystem" permissions are no longer available to all apps
residing en the /system partition.  Instead, there is a new /system/priv-app
directory, and only apps whose APKs are in that directory are allowed
to use signatureOrSystem permissions without sharing the platform cert.
This will reduce the surface area for possible exploits of system-
bundled applications to try to gain access to permission-guarded
operations.

The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is
says in the documentation: it indicates that the application apk was
bundled on the /system partition.  A new hidden flag FLAG_PRIVILEGED
has been introduced that reflects the actual right to access these
permissions.

At some point the "system" permission category will be
renamed to "privileged".

Bug 8765951

Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
2013-06-17 12:47:35 -07:00
Baligh Uddin
66b9cb2549 Import translations. DO NOT MERGE
Change-Id: Ib7914f77925d5edb99c62999ff3ae29856adf399
Auto-generated-cl: translation import
2013-06-12 09:50:05 -07:00
Jim Miller
e77737f4cd am 2542fd54: am 00d4c946: Merge "Fix keyguard issue where an incoming SMS would switch widget" into jb-mr2-dev
* commit '2542fd54ac943002cb7537029404dcc80a6491ac':
  Fix keyguard issue where an incoming SMS would switch widget
2013-06-01 09:51:40 -07:00
Baligh Uddin
bb0a7f5010 Import translations. DO NOT MERGE
Change-Id: I7d29ef01bf03a1640cabf0a179fc0b05d0e53b3a
Auto-generated-cl: translation import
2013-05-27 09:53:06 -07:00
Jim Miller
a62996e3c5 am 2f567679: am 2f48c4a7: Merge "Check for invalid pointer index in PagedView" into jb-mr2-dev
* commit '2f567679f40ad0580928502972308ec540eeba3f':
  Check for invalid pointer index in PagedView
2013-05-23 14:08:18 -07:00
Amith Yamasani
99f7fae55c Fix user icon loading
Was broken by a recent merge from mr2.

Change-Id: I063e0a5e08615f7b47d3861796985f4aeec23537
2013-05-13 16:08:31 -07:00
Jim Miller
08763af07e am 8f1b2e0b: am 00553835: Merge "Attempt to fix NPE in keyguard" into jb-mr2-dev
* commit '8f1b2e0b7fdb1de3537fe3f45ba634fb74a94b4e':
  Attempt to fix NPE in keyguard
2013-05-10 03:06:38 -07:00
Amith Yamasani
e8e93a143e Fix build error due to incorrect merge
Keyguard package was moved, so a new file didn't get to the right directory.

Change-Id: I2cdf2d9ef785ca7852c38278f51b5af9f96320f7
2013-05-09 18:12:30 -07:00
Amith Yamasani
ecd5afe1ef resolved conflicts for merge of 069d7e9b to master
Change-Id: Ia8fd5de3d4cc275fd358132bcb2c198d1e7b6877
2013-05-09 17:07:08 -07:00
Baligh Uddin
4946128d64 Import translations. DO NOT MERGE
Change-Id: I247665db04a208df5ea3681001855b1321341a55
Auto-generated-cl: translation import
2013-05-01 08:18:40 -07:00
Jim Miller
c0b676dcc2 Add keyguard background scrim and protection around keyguard APIs
With this change, the system process will put up a scrim in the
event keyguard crashes to protect underlying content.

It also adds permission checks to prevent unathorized access
through the binder APIs.

Cleaned up KeyguardTestActivity to build separately.

Removed unused resources.

Change-Id: I9e370c6bfb7dca68eae9eae304c815fb84a753d2
2013-04-26 14:34:21 -07:00
Svetoslav
afab4fd00b am c6eeacd9: am c38bc5ab: Merge "Lockscreen widgets not always announced." into jb-mr2-dev
* commit 'c6eeacd9341c0348c2eb29d1808eb17ea08464f4':
  Lockscreen widgets not always announced.
2013-04-25 17:14:33 -07:00
Baligh Uddin
d5070c395d Import translations. DO NOT MERGE
Change-Id: Id5f09e8ba9f64db6c57687316f02dfa6ac94390a
Auto-generated-cl: translation import
2013-04-24 08:16:57 -07:00
Baligh Uddin
cf49808697 Import translations. DO NOT MERGE
Change-Id: Ia0c52e6aef99399156b84920f185d03b55f746b1
Auto-generated-cl: translation import
2013-04-22 08:45:25 -07:00
Winson Chung
6168317f31 resolved conflicts for merge of 7b2ad857 to master
Change-Id: I72472e56b2303aa6ccabd784fadc7da4eabcb0e8
2013-04-19 14:25:58 -07:00
Jim Miller
3569e9e50c resolved conflicts for merge of 2f6a2526 to master
Change-Id: Ie51d3a63f4d4d5bad7ef16ad84ef6ad5acdaa64a
2013-04-17 14:18:56 -07:00
Baligh Uddin
9f7fd99c94 Import translations. DO NOT MERGE
Change-Id: I912a433cb92359b877eaee39eae0a9da6679eb8f
Auto-generated-cl: translation import
2013-04-17 08:52:28 -07:00
Brian Colonna
647e4b82fe am df6db6ad: am 3f1375e5: Merge "Enabling Face Unlock for user switching (bug 8495282)" into jb-mr2-dev
* commit 'df6db6adc2fd09da77a028539e802e69d0a8d6a1':
  Enabling Face Unlock for user switching (bug 8495282)
2013-04-15 14:27:40 -07:00
Jim Miller
c8c0d0964e am cce961c1: am 22626107: Merge "Fix bug where transport shows all the time in keyguard" into jb-mr2-dev
* commit 'cce961c13417eeafba78fd5f785984b54997d897':
  Fix bug where transport shows all the time in keyguard
2013-04-11 15:43:49 -07:00
Jim Miller
3f4e82b190 am 3ef8f64d: am 5c58a916: Merge "Fix missing clock in keyguard" into jb-mr2-dev
* commit '3ef8f64d3faac1b110c737e69472be710d07d158':
  Fix missing clock in keyguard
2013-04-10 17:25:11 -07:00
Baligh Uddin
206a36d226 Import translations. DO NOT MERGE
Change-Id: I54f852f5d08f3a64b0bb1f95b620374bb81472e4
Auto-generated-cl: translation import
2013-04-05 08:48:56 -07:00
Jean-Michel Trivi
314b25d0fd resolved conflicts for merge of ca762bee to master
Change-Id: Ib57124c30352b4f6ed66f384b386eb6f49b505c1
2013-04-03 14:58:48 -07:00
Jim Miller
f0426c6a44 am e884f6b8: am dbd9c337: Merge "Change time format for default clock in keyguard" into jb-mr2-dev
* commit 'e884f6b8505520f6f745cc51358154bf5d89f101':
  Change time format for default clock in keyguard
2013-04-02 19:25:17 -07:00
Brian Colonna
c849fbcf3d resolved conflicts for merge of 5856ee4b to master
Change-Id: I60ba85bc246b9cf25d467b2099535aad47f82ca7
2013-04-02 17:16:55 -04:00
Jean-Michel Trivi
7678a7beea resolved conflicts for merge of 99bd302c to master
Change-Id: I858f67d0c61f6403b336c82a300f69027fc16bd1
2013-03-29 14:30:34 -07:00
Baligh Uddin
07ab08ce7a Import translations. DO NOT MERGE
Change-Id: Iee0ac6623e8460cfa8d18874fe30dccb42b3c45a
Auto-generated-cl: translation import
2013-03-27 08:32:14 -07:00
John Spurlock
5245248452 resolved conflicts for merge of 2d9305cc to master
Change-Id: I9a9672314ef95af09e3f416fa1dc200f7a9d8d4e
2013-03-21 08:27:58 -04:00
Baligh Uddin
fad02f88ca Import translations. DO NOT MERGE
Change-Id: I4f294c5a4807247f8a38fa4374b873a523d3d67f
Auto-generated-cl: translation import
2013-03-20 09:02:30 -07:00
Jim Miller
5950bf3a47 resolved conflicts for merge of 7d7443bc to master
Change-Id: I5d777dad0fb4019c1f718c4109c5c973eeac8840
2013-03-19 17:37:43 -07:00
Baligh Uddin
8c4d38ec93 Import translations. DO NOT MERGE
Change-Id: Icda106767529acfdf497b233371e55912ad0e2dd
Auto-generated-cl: translation import
2013-03-18 09:12:18 -07:00
John Spurlock
ef9f5276f2 am e8b24ddd: am adb9554d: Merge "Enable back button in keyguard security account mode." into jb-mr2-dev
* commit 'e8b24ddd6769a431b8fa3462e00c85211787a08d':
  Enable back button in keyguard security account mode.
2013-03-14 19:59:58 +00:00
Jim Miller
aa2e84f29b am 3fe0205a: am 6d4dac74: Merge "Fix bug where Keyguard\'s emergencydialer wasn\'t being launched with a userid." into jb-mr2-dev
* commit '3fe0205a00672ccc86f7ca3fc8980fc380891fce':
  Fix bug where Keyguard's emergencydialer wasn't being launched with a userid.
2013-03-14 02:34:43 +00:00
Baligh Uddin
609d45f964 Merge "Import translations. DO NOT MERGE" 2013-03-13 14:57:43 +00:00
Jim Miller
34f09eaf03 resolved conflicts for merge of 8f4772fe to master
Change-Id: I65cb4a9b3f339ad4b6997d71dc5f4577c03bb026
2013-03-12 19:19:27 -07:00
Jean-Michel Trivi
8fac5869d4 am 0e23dd63: am 998b692d: Merge "Keyguard remote control display artwork size" into jb-mr2-dev
* commit '0e23dd635aae47463fa457c43938898babd7e42c':
  Keyguard remote control display artwork size
2013-03-12 16:49:13 +00:00
Baligh Uddin
13df4f20a0 Import translations. DO NOT MERGE
Change-Id: I5eb421fbe71fd16d8681491f24ed5037054931c9
Auto-generated-cl: translation import
2013-03-12 09:07:19 -07:00
Baligh Uddin
722cb6e586 Import translations. DO NOT MERGE
Change-Id: If3e2eaeb1ee905a522bf20c3212f66caea6b62d3
Auto-generated-cl: translation import
2013-03-06 08:49:18 -08:00
Jim Miller
17f509aefe Re-enable USER_PRESENT broadcast in keyguard.
Change-Id: I0a1983d07bd81d3edf2b8bcb5e81e48613fc4205
2013-02-28 18:36:12 -08:00
Jim Miller
25190577cc Post-review Keyguard cleanup.
- remove userActivity() from KeyguardService interface and call it
on PowerManager directly
- Split IKeyguardResult into two parts: IKeyguardShowCallback and
IKeyguardExitCallback.
- Misc other changes from the review.

Change-Id: I3f679cfa5d3f8bc742f2b2259ac354045e89a87b
2013-02-28 17:41:34 -08:00