29177 Commits

Author SHA1 Message Date
John Reck
c5dce0169b Use process state to filter >= UI_HIDDEN
Bug: 22701182
Change-Id: Ia192016397c8115a19a0dca409aa70dea154c41e
2015-07-24 01:28:04 +00:00
John Reck
c2db381ecc am 6b66a4a8: use findProcess instead of getProcess
* commit '6b66a4a8a342b8156f73d83771caa1db2f866529':
  use findProcess instead of getProcess
2015-07-24 01:02:21 +00:00
Jun Mukai
9f5c66c6b3 Merge "Allow sticky immersive mode by mouse hover." 2015-07-24 00:43:21 +00:00
John Reck
6b66a4a8a3 use findProcess instead of getProcess
Bug: 22701182
Change-Id: I2ec56c55c49401f2f213bbd318e867fd73b37672
2015-07-24 00:37:23 +00:00
Svetoslav Ganov
793555452a am 28762e61: Merge "Keep default permission grants uninstalling a sys package upgrade" into mnc-dev
* commit '28762e61e2e45a7e30af02c6fa840a065a645b68':
  Keep default permission grants uninstalling a sys package upgrade
2015-07-24 00:02:27 +00:00
Svetoslav Ganov
28762e61e2 Merge "Keep default permission grants uninstalling a sys package upgrade" into mnc-dev 2015-07-23 23:56:31 +00:00
Svet Ganov
315c4ac1b6 Keep default permission grants uninstalling a sys package upgrade
bug:22665508

Change-Id: I1cb1e53a8643ddad77f0be9e40d5b504501e06de
2015-07-23 16:47:40 -07:00
Yohei Yukawa
4ff108f082 am 0526ee52: Merge "Don\'t rely on broadcast intent for waking up input method." into mnc-dev
* commit '0526ee529812b4fd9743aa46d87198043a59d2ab':
  Don't rely on broadcast intent for waking up input method.
2015-07-23 23:39:27 +00:00
Yohei Yukawa
0526ee5298 Merge "Don't rely on broadcast intent for waking up input method." into mnc-dev 2015-07-23 23:24:58 +00:00
Yohei Yukawa
fa6e0a80e2 Don't rely on broadcast intent for waking up input method.
Basically this is a copy of Iabef96921dd554ce3768fb18619cefc
for InputMethodManagerService.

As described in JavaDoc of Intent#ACTION_SCREEN_OFF and
Intent#ACTION_SCREEN_ON, one can use those Intents to be
notified when the device becomes non-interactive and
interactive.  IMMS has relied on them to enable and disable
InputConnection between the IME and the application so as not
to allow IMEs to update text when the user does not present.
This is actually our design goal as documented in JavaDoc of
InputMethodManager.

   An IME can never interact with an InputConnection while
   the screen is off.  This is enforced by making all clients
   inactive while the screen is off, and prevents bad IMEs from
   driving the UI when the user can not be aware of its
   behavior.

The goal of this CL is to improve the timeliness of above
mechianism by introducing a direct communication channel from
PowerManagerService to InputMethodManagerService via Notifier.
Actually this is what InputManager has been doing since
Iabef96921dd554ce3768fb18619cefc3230b5fb0.

Reasons behind this change are:

  1. There are several bugreports that imply those Intents can
     dispatch tens of seconds after it is enqueued. This is
     indeed problematic because the user cannot type password
     to unlock their devices until queued
     Intent#ACTION_SCREEN_ON is dispatched. This CL addresses
     such an issue without waiting for figuring out the root
     cause of the delay.
  2. Intent#ACTION_SCREEN_OFF and Intent#ACTION_SCREEN_ON are
     sent as a ordered broadcast, which may not be suitable for
     tasks that require a certain level of timeliness, and what
     IMMS wants is to enable users to start typing immediately
     after the system.

This CL was originally authored by Seigo Nonaka.

Bug: 22423200
Bug: 22555778
Change-Id: I747c37ff6dd8f233faef43f2b5713a4320e848eb
2015-07-23 15:08:59 -07:00
Zhentao Sun
ea6e001e31 am 6f52ee25: am e965289b: am f26a9a20: am c6cd1f9a: Added service that listens for gestures.
* commit '6f52ee259201c320fe69004623efd1748874f628':
  Added service that listens for gestures.
2015-07-23 22:08:05 +00:00
Adrian Roos
3ad8a7840b am a1d61552: am 2f1220c4: am 2237c32f: am 58adc7ad: Merge "Send BATTERY_CHANGED if maxChargingCurrent changes" into mnc-dr-dev
* commit 'a1d61552f99bfa4720bf3f51d10adfe2b16c5dc6':
  Send BATTERY_CHANGED if maxChargingCurrent changes
2015-07-23 22:07:58 +00:00
Dianne Hackborn
bf822d39a2 am c9e454a5: am 26b2453c: am d363399b: am 86350411: am b7394671: Merge "Work on issue #22303510: Additional permissions aren\'t properly..." into mnc-dev
* commit 'c9e454a544233b6d4d7ae96d4442505bbad22fcb':
  Work on issue #22303510: Additional permissions aren't properly...
2015-07-23 22:07:41 +00:00
Wale Ogunwale
5a452cdad3 am c4597a90: am 6cd07625: am 1aaf7d6c: am aecf9ba8: am ff21279e: Merge "Fixed issue with not finding existing activity for background user" into mnc-dev
* commit 'c4597a90f97e577afba22400f53e76eff181090c':
  Fixed issue with not finding existing activity for background user
2015-07-23 22:07:25 +00:00
Jim Miller
d099d878dd am a7bc2e0a: am 8c98f386: am 8cc0e80f: am 4a31ee0a: am 091f0e5c: Make FingerprintService more tolerant of fingerprintd crashes.
* commit 'a7bc2e0aef1888f779011147e355e858b8e79eae':
  Make FingerprintService more tolerant of fingerprintd crashes.
2015-07-23 22:06:56 +00:00
Jorim Jaggi
ffbc117229 am f30c5f56: am 93a25f77: am fba92611: am fcf9acb9: am 20df6234: Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev
* commit 'f30c5f56187fed6452d557a44df8b63d8eb130a2':
  Add callback to voice interaction session for lockscreen shown
2015-07-23 22:06:29 +00:00
Adrian Roos
5e2447b903 am aebb144b: am e674e950: am 9fb98375: am b30f841c: resolved conflicts for merge of c1244a29 to mnc-dr-dev
* commit 'aebb144b3c2651f19109c8f70f809e6e9f1a2e49':
  Touch, wake and unlock
2015-07-23 22:06:21 +00:00
Svetoslav Ganov
54f1db7932 am 607bc34f: Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev
* commit '607bc34f93a8c074d1982861273d210291eae34d':
  Reset permissions and app links when clearing app preferences - framework
2015-07-23 22:01:20 +00:00
Svetoslav Ganov
f9044dcc27 am 258e630a: Merge "Shut down UiAutomationConnection without a lock held" into mnc-dev
* commit '258e630a6bc876c57ac97c6da3e5414d0e7eb036':
  Shut down UiAutomationConnection without a lock held
2015-07-23 22:01:14 +00:00
Zhentao Sun
6f52ee2592 am e965289b: am f26a9a20: am c6cd1f9a: Added service that listens for gestures.
* commit 'e965289b57eb1782580bc5a6bc153d508b7176be':
  Added service that listens for gestures.
2015-07-23 21:50:08 +00:00
Adrian Roos
a1d61552f9 am 2f1220c4: am 2237c32f: am 58adc7ad: Merge "Send BATTERY_CHANGED if maxChargingCurrent changes" into mnc-dr-dev
* commit '2f1220c419492825fd0d1b47f77b36d10afea6a7':
  Send BATTERY_CHANGED if maxChargingCurrent changes
2015-07-23 21:50:01 +00:00
Dianne Hackborn
c9e454a544 am 26b2453c: am d363399b: am 86350411: am b7394671: Merge "Work on issue #22303510: Additional permissions aren\'t properly..." into mnc-dev
* commit '26b2453ca48b23177b8d692e3b1f9529a869211c':
  Work on issue #22303510: Additional permissions aren't properly...
2015-07-23 21:49:50 +00:00
Wale Ogunwale
c4597a90f9 am 6cd07625: am 1aaf7d6c: am aecf9ba8: am ff21279e: Merge "Fixed issue with not finding existing activity for background user" into mnc-dev
* commit '6cd07625ece8a89ac01a958eb082bdb58ccfbc97':
  Fixed issue with not finding existing activity for background user
2015-07-23 21:49:36 +00:00
Jim Miller
a7bc2e0aef am 8c98f386: am 8cc0e80f: am 4a31ee0a: am 091f0e5c: Make FingerprintService more tolerant of fingerprintd crashes.
* commit '8c98f38676d9da5df54f7819d9391beb802ce0ec':
  Make FingerprintService more tolerant of fingerprintd crashes.
2015-07-23 21:49:07 +00:00
Jorim Jaggi
f30c5f5618 am 93a25f77: am fba92611: am fcf9acb9: am 20df6234: Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev
* commit '93a25f77bb4b4aeb7b3a1313fe3117f4c9781dc8':
  Add callback to voice interaction session for lockscreen shown
2015-07-23 21:48:48 +00:00
Adrian Roos
aebb144b3c am e674e950: am 9fb98375: am b30f841c: resolved conflicts for merge of c1244a29 to mnc-dr-dev
* commit 'e674e9500c723848e896d281fc4bf45285689170':
  Touch, wake and unlock
2015-07-23 21:48:42 +00:00
Svetoslav Ganov
607bc34f93 Merge "Reset permissions and app links when clearing app preferences - framework" into mnc-dev 2015-07-23 21:46:53 +00:00
Svetoslav Ganov
258e630a6b Merge "Shut down UiAutomationConnection without a lock held" into mnc-dev 2015-07-23 21:44:58 +00:00
Tim Kilbourn
115189fd6b am cc855ad7: Merge "Properly synchronize interactivity state." into mnc-dev
* commit 'cc855ad737e61fc02a057e811f2e6e34bbff0e37':
  Properly synchronize interactivity state.
2015-07-23 20:51:57 +00:00
Tim Kilbourn
cc855ad737 Merge "Properly synchronize interactivity state." into mnc-dev 2015-07-23 20:39:44 +00:00
Jun Mukai
d2e7e355d8 Allow sticky immersive mode by mouse hover.
When the app enters into the immersive mode, swipe down from the
top edge makes immersive_sticky (showing transient status bar),
but this is hardly done by mouse. As is discussed in the bug,
we want to make the same effect for mouse hover at the very top
line of the screen for 500msec.

Same applied to navigation bar with the bottom of the screen.

Bug: 20093789
Change-Id: If4484b5bcee567ea89c28ed06807564cb8f9ccef
2015-07-23 13:31:04 -07:00
Zhentao Sun
f26a9a20ae am c6cd1f9a: Added service that listens for gestures.
* commit 'c6cd1f9a83b2807ef7434b6775a07e1e9208d4e0':
  Added service that listens for gestures.
2015-07-23 19:21:29 +00:00
Adrian Roos
2237c32fe1 am 58adc7ad: Merge "Send BATTERY_CHANGED if maxChargingCurrent changes" into mnc-dr-dev
* commit '58adc7ad48990f2ffa0d4858bd6910dd9eb6aabc':
  Send BATTERY_CHANGED if maxChargingCurrent changes
2015-07-23 19:21:24 +00:00
Dianne Hackborn
d363399b97 am 86350411: am b7394671: Merge "Work on issue #22303510: Additional permissions aren\'t properly..." into mnc-dev
* commit '863504111546fb46fcb5af356efb267c8582018a':
  Work on issue #22303510: Additional permissions aren't properly...
2015-07-23 19:21:14 +00:00
Wale Ogunwale
1aaf7d6cb9 am aecf9ba8: am ff21279e: Merge "Fixed issue with not finding existing activity for background user" into mnc-dev
* commit 'aecf9ba839d440fb89055bcb8454cf72d0afaf41':
  Fixed issue with not finding existing activity for background user
2015-07-23 19:21:02 +00:00
Wenchao Tong
25975f1b22 am bf3a24d5: Merge "Ignore the active network scorer when checking for idleness" into mnc-dev
* commit 'bf3a24d5ec004a46cc75b947226fb7c23e4a0ed1':
  Ignore the active network scorer when checking for idleness
2015-07-23 19:20:51 +00:00
Amith Yamasani
5a18b4bfe2 am b3e40760: Merge "Avoid a deadlock between PMS and AppOpsService" into mnc-dev
* commit 'b3e407609f567884f9322e7b34461baa14e3f3ae':
  Avoid a deadlock between PMS and AppOpsService
2015-07-23 19:20:41 +00:00
Jim Miller
8cc0e80f06 am 4a31ee0a: am 091f0e5c: Make FingerprintService more tolerant of fingerprintd crashes.
* commit '4a31ee0a745e048a2c9c4db1444404373c1d606b':
  Make FingerprintService more tolerant of fingerprintd crashes.
2015-07-23 19:20:41 +00:00
Jorim Jaggi
fba926118e am fcf9acb9: am 20df6234: Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev
* commit 'fcf9acb95a536f939a418529f642e60f51f5886a':
  Add callback to voice interaction session for lockscreen shown
2015-07-23 19:20:27 +00:00
Adrian Roos
9fb98375e8 am b30f841c: resolved conflicts for merge of c1244a29 to mnc-dr-dev
* commit 'b30f841cb44e132598939b0797dad41f6c0004a7':
  Touch, wake and unlock
2015-07-23 19:20:22 +00:00
Nick Kralevich
a2adb4c544 am 06b93a48: Merge "Revert "UsbDeviceManager: fix b/21429947 regression"" into mnc-dev
* commit '06b93a48ad0d2274ff41683e08b8a1429045b0a9':
  Revert "UsbDeviceManager: fix b/21429947 regression"
2015-07-23 19:20:05 +00:00
Svetoslav Ganov
5974a7ea2f am 492fc648: Merge "Grant record audio to system reco service by default" into mnc-dev
* commit '492fc6483184a0e82d5d1a77634a38c10c7577ac':
  Grant record audio to system reco service by default
2015-07-23 19:20:01 +00:00
Adam Lesinski
7d8d2865a6 am f90ed330: Merge "UsageStats: Reduce log spam during time change" into mnc-dev
* commit 'f90ed330a0c7f54b963ef651a53be946f6d463ce':
  UsageStats: Reduce log spam during time change
2015-07-23 19:19:56 +00:00
Adam Lesinski
a403d5ccfb am 05f5cb45: Merge "UsageStats: Gracefully handle corrupt filenames" into mnc-dev
* commit '05f5cb45997fdc8831798bb84e50854cdfab2bcb':
  UsageStats: Gracefully handle corrupt filenames
2015-07-23 19:19:28 +00:00
Svetoslav Ganov
cc3c6dbf1e am 3d6f6060: Merge "Add a privileged permission to get user accounts" into mnc-dev
* commit '3d6f606031da248a3b1fd6f0f569ac33a26c0b5e':
  Add a privileged permission to get user accounts
2015-07-23 19:19:14 +00:00
John Reck
3328fe58a1 am 3f2c5108: Merge "Fix ATLAS_MAP_ENTRY_FIELD_COUNT" into mnc-dev
* commit '3f2c51084b9d9578532c8a88e7a5444eeedc86c2':
  Fix ATLAS_MAP_ENTRY_FIELD_COUNT
2015-07-23 19:19:06 +00:00
Nick Kralevich
dd856a3f0d am 3b0bbd7b: Merge "UsbDeviceManager: fix b/21429947 regression" into mnc-dev
* commit '3b0bbd7b96568f0d0121136fcac9d4e1a5ffd237':
  UsbDeviceManager: fix b/21429947 regression
2015-07-23 19:18:55 +00:00
Tim Kilbourn
ad49498e91 am 1aadfc2b: Merge "Miss USB device Interface from UsbManager.getDeviceList()." into mnc-dev
* commit '1aadfc2bc46a14b6c95dc45ec11c4191cac5062d':
  Miss USB device Interface from UsbManager.getDeviceList().
2015-07-23 19:18:46 +00:00
Jeff Sharkey
e87dc6dba5 am f6e9a3ed: Merge "More info to support CTS, fix reconcile bug." into mnc-dev
* commit 'f6e9a3ede53ae487838c19714ad62f25a4a6ca4c':
  More info to support CTS, fix reconcile bug.
2015-07-23 19:18:25 +00:00
Jorim Jaggi
5091ca9c82 am ac73f1ef: Partially fix that beginning of animation is skipped
* commit 'ac73f1efea0cb23881571e18e87ffc7f388af7ad':
  Partially fix that beginning of animation is skipped
2015-07-23 19:18:15 +00:00