13278 Commits

Author SHA1 Message Date
Robert Greenwalt
f2eb6fbc0a am 36a151ab: Merge "Use the old interface when resetting connections" into jb-mr2-dev
* commit '36a151abcd794524358a74599a1f4ab130ca7b55':
  Use the old interface when resetting connections
2013-05-24 09:24:32 -07:00
Robert Greenwalt
36a151abcd Merge "Use the old interface when resetting connections" into jb-mr2-dev 2013-05-24 16:21:35 +00:00
Robert Greenwalt
80eb63b58b Use the old interface when resetting connections
The new one is often null when disconnected, so using the new fails.
In other situations, it's the connections on the old network we want
to reset anyway, so the old code when it would work would also do
the wrong thing (unless new iface == old iface).

bug:9112928
Change-Id: I1fcae89cc3aa9d712e516e7c97cece0b89869bd9
2013-05-23 18:33:06 -07:00
Andrew Wilson
f25b876c8d am 55bf965e: Merge "Compare binder instances when checking if listeners match." into jb-mr2-dev
* commit '55bf965e89df5986a7a988c2b1ec2cd9f01edb56':
  Compare binder instances when checking if listeners match.
2013-05-23 13:08:04 -07:00
Andrew Wilson
55bf965e89 Merge "Compare binder instances when checking if listeners match." into jb-mr2-dev 2013-05-23 18:47:48 +00:00
Amith Yamasani
77049e1303 am 60b4afed: Merge "Fix account filtering for specific package name" into jb-mr2-dev
* commit '60b4afedbeea11983b748d0d8ea9032d177dd6e7':
  Fix account filtering for specific package name
2013-05-23 07:41:09 -07:00
Amith Yamasani
e342309704 Fix account filtering for specific package name
Hacks to enable gms to see accounts were interfering with checking for
explicit package name.

Bug: 9095427
Change-Id: Iae65ea2a678d7403d023fa1a61c01347b77c3b5a
2013-05-22 19:41:45 -07:00
Andrew Wilson
152942be13 Compare binder instances when checking if listeners match.
Bug: 9069919
Change-Id: I06130105cb703de35de76ab2fceba3855fa5407a
2013-05-22 09:35:35 -07:00
Robert Greenwalt
657eb614ef am 4c32885c: Merge "Don\'t put up wifi-available note when disabled" into jb-mr2-dev
* commit '4c32885c4249be9b0a9e674b96ebacc78152b47e':
  Don't put up wifi-available note when disabled
2013-05-21 12:56:04 -07:00
Robert Greenwalt
4c32885c42 Merge "Don't put up wifi-available note when disabled" into jb-mr2-dev 2013-05-21 19:54:39 +00:00
Robert Greenwalt
8c77692554 Don't put up wifi-available note when disabled
With the new scan-always mode we will get scan results when disabled.
Don't tell the user about open AP when they've turned off wifi.

bug:9067982
Change-Id: I7a303c2a6f87a331443eeb54fa8ff5b467c0a1ff
2013-05-21 11:17:11 -07:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Christopher Tate
f057153980 am f95fdc97: Merge "Maintain restrictions when downgrading system apps" into jb-mr2-dev
* commit 'f95fdc9754eea76066905424044b7c6d43c60c2d':
  Maintain restrictions when downgrading system apps
2013-05-14 17:18:15 -07:00
Christopher Tate
f95fdc9754 Merge "Maintain restrictions when downgrading system apps" into jb-mr2-dev 2013-05-15 00:14:06 +00:00
Christopher Tate
acee6e9121 Maintain restrictions when downgrading system apps
When an upgraded system-bundled app is reverted to the factory
version, we now maintain restricted profiles' access policies
w.r.t. that app.

Bug 8905395

Change-Id: I3f230ac3f70a77fb14c0180b44c9b42fc49250a2
2013-05-14 16:47:07 -07:00
Matthew Xie
b82fc420f3 am f270fc3b: Merge "cannot turn on bluetooth" into jb-mr2-dev
* commit 'f270fc3b5014e39614f7e6499cd6aa4ea18e8616':
  cannot turn on bluetooth
2013-05-14 16:21:30 -07:00
Matthew Xie
f270fc3b50 Merge "cannot turn on bluetooth" into jb-mr2-dev 2013-05-14 23:18:04 +00:00
Zhihai Xu
dd9d17d458 cannot turn on bluetooth
implement error recovery when bluetooth stack return error with error
transition state from TURNING_ON to OFF due to ENABLE_TIMEOUT.

issue 7566317

Change-Id: I709b475bbfbd90e4f6e423f9eedc5340c89b2cb0
2013-05-13 19:18:26 -07:00
Chris Wren
e39e313a35 am c7588aa3: Merge "restart notification listener on package add" into jb-mr2-dev
* commit 'c7588aa3913f0eb797457f97ff6381c1ee65c232':
  restart notification listener on package add
2013-05-12 15:06:55 -07:00
Chris Wren
c7588aa391 Merge "restart notification listener on package add" into jb-mr2-dev 2013-05-12 22:04:05 +00:00
Christopher Tate
ecb4dbf6fc am 1965b447: Revert "The default home intent needs CATEGORY_DEFAULT"
* commit '1965b4479d07750756ccf845134df6ddd5ce4103':
  Revert "The default home intent needs CATEGORY_DEFAULT"
2013-05-10 15:08:27 -07:00
Christopher Tate
1965b4479d Revert "The default home intent needs CATEGORY_DEFAULT"
This reverts commit 1fea6b374f612ca8cedc17de873526f0f7c42a4e.

Bug 8895796

Change-Id: I80ecf1b718829c25e2a7adae956ebe9493cb3f33
2013-05-10 15:01:02 -07:00
Chris Wren
3da7302dd2 restart notification listener on package add
Bug: 8813471
Change-Id: Icf6c69811392c4567a5c842740e463fb957e7563
2013-05-10 14:49:53 -04:00
Amith Yamasani
069d7e9b81 am 153919ed: Merge "Cache the scaled avatar drawables in the keyguard user switcher" into jb-mr2-dev
* commit '153919ed2f128fb5d1b55782ea89fadcc20fc841':
  Cache the scaled avatar drawables in the keyguard user switcher
2013-05-09 16:23:31 -07:00
Matthew Xie
c0c7cebe3f am b566c466: Merge "Donot bind to GATT service when BLE is not supported" into jb-mr2-dev
* commit 'b566c466c73d351d01e64d1c9ba609133efc4ffd':
  Donot bind to GATT service when BLE is not supported
2013-05-09 16:23:26 -07:00