234 Commits

Author SHA1 Message Date
Sandeep Siddhartha
3a67da9781 am 994bf3a1: am 22ae5d6d: Merge "Use the permission for hotword recognition" into klp-dev
* commit '994bf3a1119855059b40b0adc45c17c13bc4c512':
  Use the permission for hotword recognition
2013-09-06 15:09:40 -07:00
Sandeep Siddhartha
4473f02003 Use the permission for hotword recognition
- Also fixes an issue with PendingIntents being launched from the
  lockscreen taking a lot of time

Change-Id: I91b44328ba68b225454322b90a5b19a0d4c9a772
2013-09-06 12:48:51 -07:00
Sandeep Siddhartha
d49f2fa854 am 454cf31d: am 228b3510: Merge "Move the hotword code to KeyguardHostView" into klp-dev
* commit '454cf31dbd367a815f6f32c97dc32af98ce94bdd':
  Move the hotword code to KeyguardHostView
2013-09-04 18:14:02 -07:00
Sandeep Siddhartha
228b35109a Merge "Move the hotword code to KeyguardHostView" into klp-dev 2013-09-05 01:08:23 +00:00
Sandeep Siddhartha
eec83dcadd Move the hotword code to KeyguardHostView
- Try hotword detection on Pattern unlock screen as well - disabled in
  this CL
- Explicitly stop hotword detection when starting the assist intent.

Change-Id: I3d22a9029abf888431113b86e4410ea9e9866c57
2013-09-04 17:47:34 -07:00
John Spurlock
30331c97bb am a92623f7: am 20c9606f: Merge "Remove unused status bar icon stat_sys_secure." into klp-dev
* commit 'a92623f7763ee31e14566cfbed727e722d4e5689':
  Remove unused status bar icon stat_sys_secure.
2013-09-04 06:40:19 -07:00
Baligh Uddin
a48259fa7d Import translations. DO NOT MERGE
Change-Id: I89fb0120fcbcec36959ffcdd75d1bac409afa4c8
Auto-generated-cl: translation import
2013-09-03 09:07:47 -07:00
John Spurlock
1f0c596563 Remove unused status bar icon stat_sys_secure.
It was moved behind an undocumented setting three yrs ago.

Bug:10502089
Change-Id: Icef0e3deaa9b09afab98bbb76520b47a16da2069
2013-09-03 12:04:38 -04:00
Jim Miller
c1693cab70 am bd77aa6b: am dd238b56: Merge "Attempt to fix missing clock bug" into klp-dev
* commit 'bd77aa6bfda755a250be36581f95f0da8e7241a7':
  Attempt to fix missing clock bug
2013-08-30 12:59:00 -07:00
Jim Miller
dd238b5604 Merge "Attempt to fix missing clock bug" into klp-dev 2013-08-30 19:55:42 +00:00
Jim Miller
130016b9c6 am 53be76e1: am 0d72b3e0: Merge "Disable hotword detection on low-memory devices" into klp-dev
* commit '53be76e17205174d3808ba608eece15d2c0d6637':
  Disable hotword detection on low-memory devices
2013-08-29 19:15:46 -07:00
Jim Miller
d54281061c Disable hotword detection on low-memory devices
Change-Id: If21f852af36a8f6dea17f3a87b22f39db3d1d6e8
2013-08-29 18:58:21 -07:00
Jim Miller
2ec4ff435b Attempt to fix missing clock bug
This attempts to fix a bug where the clock wasn't being added
when widgets are disabled.

Fixes bug 10473246

Change-Id: I63f4c04778da938b6fa1bc74de3fa0463412da0f
2013-08-28 17:41:16 -07:00
Sandeep Siddhartha
431e7f5c50 am 088e9046: am 720959cc: Merge "Start using the Hotword recognition APIs" into klp-dev
* commit '088e904680876306aa4bb2c8e80abb67dc76aeb3':
  Start using the Hotword recognition APIs
2013-08-28 17:00:43 -07:00
Sandeep Siddhartha
42c3e02c52 Start using the Hotword recognition APIs
- Gets rid of all assumptions about the hotword service
- Fixes bug where the hotword detection would keep running accidentally
  even when the screen got turned off

Change-Id: Ie86c1a4f4343bdf7e61f7c21114fd3b287bd5401
2013-08-28 23:40:32 +00:00
Baligh Uddin
bcc2069e4a Merge "Import translations. DO NOT MERGE" 2013-08-28 00:41:46 +00:00
Sandeep Siddhartha
10271233cb am b9265233: am 572ec4e8: Merge "Temporary disable Hotword on lockscreen" into klp-dev
* commit 'b9265233882d6c026918f985e7448d25d42d5960':
  Temporary disable Hotword on lockscreen
2013-08-27 13:38:52 -07:00
Sandeep Siddhartha
c4c330156e Temporary disable Hotword on lockscreen
Change-Id: Icdddcc0308b9f3153172e34a8f4d051c58829653
2013-08-27 13:25:40 -07:00
Jim Miller
b155194775 am 517c8cf3: am 14cabdab: Merge "Add setting to disable keyguard widgets" into klp-dev
* commit '517c8cf31833cc8fde0e6546c41af7d39e5e5429':
  Add setting to disable keyguard widgets
2013-08-26 15:11:20 -07:00
Baligh Uddin
e2d479add3 Import translations. DO NOT MERGE
Change-Id: Ifefc917998e3d34249bf45e97982ac9bcc03047c
Auto-generated-cl: translation import
2013-08-26 09:09:55 -07:00
Jim Miller
f45bb40388 Add setting to disable keyguard widgets
This allows disabling keyguard widgets through Settings.
On new devices, the setting is turned off by default.  If the
user currently has widgets in keyguard, then we keep them
and re-enable the setting.

Change-Id: I7258921231d439925ac8627105710efa99309094
2013-08-23 17:36:30 -07:00
Sandeep Siddhartha
7fc4461bd6 am 46b57ce3: am aed96e1b: Merge "Add hotword detection in insecure keyguard" into klp-dev
* commit '46b57ce3a1738e1907998463377e8a5bcba3664e':
  Add hotword detection in insecure keyguard
2013-08-20 14:46:27 -07:00
Sandeep Siddhartha
f4d922b2d9 Add hotword detection in insecure keyguard
- This talks to a service that's implemented by the Search app
- The AIDL interface may be moved to the framework in a later CL

Change-Id: I26553e46f7d17ba4ac7a952c871b28b261cba975
2013-08-20 14:17:02 -07:00
Baligh Uddin
07a9316b5a Import translations. DO NOT MERGE
Change-Id: Iaadf8a718f35aa488889489e1b5693542b226616
Auto-generated-cl: translation import
2013-08-19 07:45:14 -07:00
Baligh Uddin
8a2fc1da30 Import translations. DO NOT MERGE
Change-Id: I521eae27b6864e350d4a81c669b5ada426f150dc
Auto-generated-cl: translation import
2013-08-01 10:24:34 -07:00
Baligh Uddin
09419bb6ad Import translations. DO NOT MERGE
Change-Id: Ia27c9de8bb6e8307f3f1fcaf69bee46eb361ed67
Auto-generated-cl: translation import
2013-07-29 08:24:21 -07:00
Andrew Flynn
a92ce1f32d Keyguard doesn't need new MANAGE_DEVICE_ADMINS permission
Accidentally added in a418cf2

Bug: 9856348
Change-Id: I662fbcc8471b529651701084a703f89dfc642279
2013-07-26 08:26:10 -07:00
Jim Miller
fca3193bbe Merge "Fix layout incompatibility between hdpi vs xhdpi devices" 2013-07-24 21:14:09 +00:00
Jim Miller
c95e5c844a Fix layout incompatibility between hdpi vs xhdpi devices
The xhdpi was using the hdpi spec instead of the default since
it was the closest match.

This allows both devices to work correctly.

Fixes bug 9985496

Change-Id: I03ddf1b6645d5f82e2fba6c39a1c5b3a37e62d45
2013-07-24 13:27:51 -07:00
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