13991 Commits

Author SHA1 Message Date
Daniel Sandler
99d1f7f41e am f5ceaf4b: Merge "Archive a copy of each dismissed notification." into jb-mr2-dev
* commit 'f5ceaf4b19362b3cf7882bf8a6d086841f551fed':
  Archive a copy of each dismissed notification.
2013-05-21 10:37:27 -07:00
Daniel Sandler
f5ceaf4b19 Merge "Archive a copy of each dismissed notification." into jb-mr2-dev 2013-05-21 17:35:17 +00:00
Brett Chabot
2251059ee1 Merge "Build native libinput tests using BUILD_NATIVE_TESTS" 2013-05-21 05:00:30 +00:00
Daniel Sandler
26b81d594c Archive a copy of each dismissed notification.
We don't want to save all the heavyweight stuff, but we
can't lighten the notification in place because there may be
other active references.

Bug: 8839246
Change-Id: Id6dcc1cf5ae196ee3e42908d6b3ec4e928e9f0c5
2013-05-21 00:58:32 -04:00
Dianne Hackborn
77f342c37c Merge "Add app ops for wake locks." 2013-05-21 00:54:07 +00:00
Dianne Hackborn
713df150b9 Add app ops for wake locks.
Currently only supports auditing, not disabling.

Change-Id: Ie85f02c29b490d96e073f54d59e165d48c7c00c9
2013-05-20 16:49:46 -07:00
Svetoslav Ganov
18117c2f2c am 20b3b743: am 507bd53a: Merge "Do not report the fake UI automation service to clients." into jb-mr2-dev
* commit '20b3b743c0871d4ac88f61ca6b3509d01d406b22':
  Do not report the fake UI automation service to clients.
2013-05-20 16:42:34 -07:00
Robert Greenwalt
9af2fc5bd2 am 8ff86240: am b11672de: Merge "Add a time margin for deferred enable." into jb-mr2-dev
* commit '8ff86240dc49c1b863154aea6b2e1fd07cfd04b6':
  Add a time margin for deferred enable.
2013-05-20 16:39:10 -07:00
Svetoslav Ganov
20b3b743c0 am 507bd53a: Merge "Do not report the fake UI automation service to clients." into jb-mr2-dev
* commit '507bd53aa8906f7f3297684edb485706a4a573a1':
  Do not report the fake UI automation service to clients.
2013-05-20 16:38:20 -07:00
Svetoslav Ganov
507bd53aa8 Merge "Do not report the fake UI automation service to clients." into jb-mr2-dev 2013-05-20 23:36:41 +00:00
Robert Greenwalt
8ff86240dc am b11672de: Merge "Add a time margin for deferred enable." into jb-mr2-dev
* commit 'b11672de5272f6dcf7e8f4a9d88f2925cdc4c2dd':
  Add a time margin for deferred enable.
2013-05-20 16:34:54 -07:00
Michael Wright
86172f6252 Pipe through bounding box information
Change-Id: Ic09f2f8f18e21f9582e4ed10aad3b7ec1cc41ddc
2013-05-20 16:25:14 -07:00
Satoshi Kataoka
c6f7a7ff88 Merge "A tiny cleanup as the supplement of I9b5ef954479150bc4735 Bug: 3483284 Bug: 8851603" 2013-05-20 21:32:03 +00:00
Satoshi Kataoka
12afe1450e A tiny cleanup as the supplement of I9b5ef954479150bc4735
Bug: 3483284
Bug: 8851603

Change-Id: Ia6dd894dced9cc68c04aafdcae754a404cf52e83
2013-05-21 06:19:27 +09:00
Satoshi Kataoka
f1a6d646a4 Merge "Fix a bug on the focus of the input method switching dialog" 2013-05-20 21:11:47 +00:00
Satoshi Kataoka
02679f647b Fix a bug on the focus of the input method switching dialog
Bug: 8851603
Change-Id: I9b5ef954479150bc47351197c792fb96aba70d01
2013-05-21 05:59:56 +09:00
Craig Mautner
b3b36ba138 Resize all changed windows and fix moveTaskToStack
- Add all changing windows to mResizingWindows when an ActivityStack
is resized.

- Stop calling TaskStack.setBounds if the bounds haven't changed.

- Make moving a task from one stack to another work properly.

- Eliminate unused methods and redundant variables in WindowState and
WindowStateAnimator.

Change-Id: I3a950c777bcc50cdeced150d44423d4d0b38af4a
2013-05-20 13:25:14 -07:00
Craig Mautner
f7bfefb598 Reformat wrapped lines and merge sendMessages.
Change-Id: I2834966196c2e6a778fc0cb71e4a56411b24c3f0
2013-05-20 13:25:14 -07:00
Robert Greenwalt
e47d7d4380 Add a time margin for deferred enable.
We were getting delayed message delivered 1 ms before we expected.
bug:9014777

Change-Id: I70e681ff6b4155d31097b43529478b39c816e70b
2013-05-20 11:49:46 -07:00
Robert Greenwalt
e0fc187549 am dfbf9901: am 5c11e8ee: Fix off-by-1 error in timing
* commit 'dfbf9901b4c16c6f7658d3e8bdb1573886c927e4':
  Fix off-by-1 error in timing
2013-05-20 09:44:42 -07:00
Robert Greenwalt
dfbf9901b4 am 5c11e8ee: Fix off-by-1 error in timing
* commit '5c11e8ee5463b88907814e3e8716af292f90fb86':
  Fix off-by-1 error in timing
2013-05-20 09:43:17 -07:00
Robert Greenwalt
5c11e8ee54 Fix off-by-1 error in timing
If deferred action msg was delivered promptly it would end up
looking like it too needed to be deferred and then nothing
would end up getting done.

bug:9014777
Change-Id: I243df70463ebb9333efd6df510f71f9d8d9bdf91
2013-05-20 09:28:08 -07:00
Christian Beck
f503c8f377 Add missing ACTION_MEDIA_UNMOUNTED intent
When an SD card is removed without the user unmounting, the intent
ACTION_MEDIA_BAD_REMOVAL is fired but is missing the preceeding
ACTION_MEDIA_UNMOUNTED which is needed to keep UI consistency.

Now when bad media removal is detected an ACTION_MEDIA_UNMOUNTED
intent is sent before the ACTION_MEDIA_BAD_REMOVAL.

Change-Id: I133300f42bafab141351e796d7cfc13c15d133e0
2013-05-20 09:26:32 +02:00
Robert Greenwalt
a75ab0337a am c3de50cd: am 30c798d5: Merge "Add some temp wifi debugging output" into jb-mr2-dev
* commit 'c3de50cd3cff76082bc01b04a8a6bbde300d725e':
  Add some temp wifi debugging output
2013-05-19 12:51:47 -07:00
Robert Greenwalt
c3de50cd3c am 30c798d5: Merge "Add some temp wifi debugging output" into jb-mr2-dev
* commit '30c798d58772efd595fffebd9d0d54f717e34ed6':
  Add some temp wifi debugging output
2013-05-19 12:49:44 -07:00
Robert Greenwalt
30c798d587 Merge "Add some temp wifi debugging output" into jb-mr2-dev 2013-05-19 19:46:58 +00:00
John Spurlock
fb16a68cc6 am c6ab8a61: am d0154550: Merge "Deactivate notification listeners disabled at runtime." into jb-mr2-dev
* commit 'c6ab8a614767cae1fc9df5984414c9f15ea7b588':
  Deactivate notification listeners disabled at runtime.
2013-05-19 01:25:34 -07:00
John Spurlock
c6ab8a6147 am d0154550: Merge "Deactivate notification listeners disabled at runtime." into jb-mr2-dev
* commit 'd0154550e0d5e8dea5b65849747266f5fa0d2d5d':
  Deactivate notification listeners disabled at runtime.
2013-05-19 01:23:30 -07:00
Robert Greenwalt
02ba86f0cc Add some temp wifi debugging output
bug: 9014777
Change-Id: I38c61f235742a36be10cdf9125e19ac9406a61b9
2013-05-18 13:40:49 -07:00
John Spurlock
79f7892c10 Deactivate notification listeners disabled at runtime.
PACKAGE_CHANGED is called when either the application or any
of its components change.  Rework old early exit code to
handle component-level disabling wrt listeners.

Note PACKAGE_CHANGED can take quite a while to reach NMS.
Up to ten seconds (!) after component-disabling in app.

Bug:8982243
Change-Id: Ia325516140dd9288466a663192a5326019f071ab
2013-05-18 14:29:40 -04:00
Svetoslav Ganov
319d55bd15 Do not report the fake UI automation service to clients.
For UI test automation purposes we register a fake accessibility service
and suspend all other services. When the UI automation serivce is unregistered
we restore the suspended ones. Since the UI automation serivce is fake and
incomplete, for example it has not resolve info, it should not be reported
to clients as being installed or enabled.

bug:8871034

Change-Id: I66792cd028159c1652d3c8a2982164821282ab24
2013-05-17 19:23:51 -07:00
Chris Wren
0f7a734050 am 5baf581d: am 743054f5: Merge "disable notification listeners on uninstall" into jb-mr2-dev
* commit '5baf581d58a86a0f9ea9689a1418b925ac49021e':
  disable notification listeners on uninstall
2013-05-17 15:10:22 -07:00
Chris Wren
5baf581d58 am 743054f5: Merge "disable notification listeners on uninstall" into jb-mr2-dev
* commit '743054f5b3ad088b00adac44bb6d1f542d4375db':
  disable notification listeners on uninstall
2013-05-17 15:08:19 -07:00
Chris Wren
743054f5b3 Merge "disable notification listeners on uninstall" into jb-mr2-dev 2013-05-17 22:06:14 +00:00
Michael Wright
a7f7a5a30e am 1aa4bec5: am 4361e1f4: Remove assist swipe from TOUCH_NAVIGATION devices
* commit '1aa4bec5e41628dc6086436331a37b5174a001df':
  Remove assist swipe from TOUCH_NAVIGATION devices
2013-05-17 14:59:25 -07:00
Michael Wright
1aa4bec5e4 am 4361e1f4: Remove assist swipe from TOUCH_NAVIGATION devices
* commit '4361e1f46ef9e30c78679b5e2717b74d66191692':
  Remove assist swipe from TOUCH_NAVIGATION devices
2013-05-17 14:57:25 -07:00
Michael Wright
4361e1f46e Remove assist swipe from TOUCH_NAVIGATION devices
Bug: 9019927
Change-Id: I0a67ee00038b6fba7818f64ba02515767e34fe06
(cherry picked from commit 681a3d710402b80a8375a05172b1fb6f720295be)
2013-05-17 21:30:02 +00:00
Dianne Hackborn
9f337b694a am 46449b8b: am d31db759: Merge "Fix issue #9000597: PackageManager get NPE while running performance plan" into jb-mr2-dev
* commit '46449b8bbca2b937771d284c081012ff4696cbe2':
  Fix issue #9000597: PackageManager get NPE while running performance plan
2013-05-17 13:36:21 -07:00
Dianne Hackborn
46449b8bbc am d31db759: Merge "Fix issue #9000597: PackageManager get NPE while running performance plan" into jb-mr2-dev
* commit 'd31db759cba78447ba1f4286a84c27a30a5aeb5c':
  Fix issue #9000597: PackageManager get NPE while running performance plan
2013-05-17 13:34:30 -07:00
Chris Wren
ae9bb5737c disable notification listeners on uninstall
Bug: 8979640
Change-Id: I9f1d118e5ce210b829476e0971f3d55fc778c227
2013-05-17 16:02:53 -04:00
Dianne Hackborn
2c44c74b88 Fix issue #9000597: PackageManager get NPE while running performance plan
Change-Id: I2bf777e8b15704d21320f95059d94648122396a8
2013-05-17 12:07:21 -07:00
Brett Chabot
1bff36f954 Build native libinput tests using BUILD_NATIVE_TESTS
Change-Id: Ic50c828e1e8879e70aa85de63303ead11886d498
2013-05-16 23:07:47 -07:00
Robert Greenwalt
fb6dab36d5 am 06433861: am c12783a9: Add min delay between disable and enable of wifi
* commit '0643386128eba71178ee3913e7c76965bd344d73':
  Add min delay between disable and enable of wifi
2013-05-16 14:05:18 -07:00
Robert Greenwalt
0643386128 am c12783a9: Add min delay between disable and enable of wifi
* commit 'c12783a90e08bd2e20eb75f68192fbf7bad80357':
  Add min delay between disable and enable of wifi
2013-05-16 14:02:49 -07:00
Craig Mautner
9bebad9147 Merge "Move sleep from ActivityStack to Supervisor" 2013-05-16 21:02:01 +00:00
Robert Greenwalt
c12783a90e Add min delay between disable and enable of wifi
We sometimes have issues if disable, enable seq happens to fast.
This should only slow down those fast cases.

bug:8715336
Change-Id: I4f7fe9708b7c3c2300c441511838e8a70eaad5d1
2013-05-16 20:57:52 +00:00
Craig Mautner
0eea92c67b Move sleep from ActivityStack to Supervisor
- Move activitySleptLocked, checkReadyForSleepLocked,
mGoingToSleepActivities, mGoingToSleep, mSleepTimeout from
ActivityStack to ActivityStackSupervisor.

- Fix bug that was causing mGoingToSleepActivities to always be
empty.

- Add more debug logging.

Change-Id: Ibd57bd49bf6f468567571b390f3051faaeee1aa1
2013-05-16 13:35:39 -07:00
John Spurlock
427e8edcf5 am 0c8dcf4d: am c037282c: Merge "Rebind notification listeners for current user." into jb-mr2-dev
* commit '0c8dcf4dcf3a04d2d2b1ca7a67a8c38ca50cc619':
  Rebind notification listeners for current user.
2013-05-16 11:12:50 -07:00
John Spurlock
0c8dcf4dcf am c037282c: Merge "Rebind notification listeners for current user." into jb-mr2-dev
* commit 'c037282c1ca0d7589168c73f1cf8b19ecc3ffca4':
  Rebind notification listeners for current user.
2013-05-16 11:09:15 -07:00
John Spurlock
3ec4e7050a Rebind notification listeners for current user.
Use ForUser overload when reading setting inside system server.

Bug: 9000206
Change-Id: Ie87aed578d29425d8f32b23aeb8aa7118922c889
2013-05-16 13:42:38 -04:00