11123 Commits

Author SHA1 Message Date
Robert Greenwalt
4e579b5ac2 am a30d9694: Merge "Monitor the right interface re VPN" into jb-mr1-dev
* commit 'a30d969401a8533a5a341664421ba9b1e150bac3':
  Monitor the right interface re VPN
2012-10-15 11:37:13 -07:00
Robert Greenwalt
a30d969401 Merge "Monitor the right interface re VPN" into jb-mr1-dev 2012-10-15 11:34:13 -07:00
Dianne Hackborn
48f6b7e228 am 59cb2cf1: Merge "Revert fix to issue #6880627: PendingIntent.getService() returns..." into jb-mr1-dev
* commit '59cb2cf15c912280b32292c79c2c0e5bfea49b68':
  Revert fix to issue #6880627: PendingIntent.getService() returns...
2012-10-12 17:46:39 -07:00
Robert Greenwalt
53c04bdd35 Monitor the right interface re VPN
Must remember the outer interface - undoes a change from a
couple months ago that broke things.

bug:7336302
Change-Id: Ia4f60862c60f3078853e151980e09cbf22a57222
2012-10-12 17:02:45 -07:00
Dianne Hackborn
861a3b2d4f Revert fix to issue #6880627: PendingIntent.getService() returns...
...stale intent of force stopped app

Fixing this caused other problems elsewhere that we don't have time
to address at this point.

Fixes issue #7338275: Tapping clock home screen widget doesn't open
alarms anymore

Change-Id: Iedc1fae5f62b6ead28d1895d709591358e5d6634
2012-10-12 15:25:20 -07:00
Jeff Sharkey
49db71e962 am 810df895: Merge "Return ApplicationInfo with requested userId." into jb-mr1-dev
* commit '810df8951eb4bbe77f150483208f04daadac5dd9':
  Return ApplicationInfo with requested userId.
2012-10-11 17:25:50 -07:00
Jeff Brown
1984e8c096 am 3da6c219: Merge "Do not launch Somnambulator as a dock app." into jb-mr1-dev
* commit '3da6c219a8b1acebbfd8a56ee31b5d91d0425dc4':
  Do not launch Somnambulator as a dock app.
2012-10-11 17:23:55 -07:00
Jeff Sharkey
810df8951e Merge "Return ApplicationInfo with requested userId." into jb-mr1-dev 2012-10-11 17:21:23 -07:00
Jeff Brown
3da6c219a8 Merge "Do not launch Somnambulator as a dock app." into jb-mr1-dev 2012-10-11 17:17:06 -07:00
Jeff Brown
11159e9a78 Do not launch Somnambulator as a dock app.
Fixes a black flash that occurred when the device was docked
because the UiModeManagerService was launching the Somnambulator
to start the dream when docked.  This caused an unnecessary
activity transition and could in fact make dreaming less
reliable than if the UiModeManagerService started the dream itself.

Moved common code from UiModeManagerService and Somnambulator
to Sandman to ensure it is kept in sync.

Bug: 7328545
Change-Id: I46102784e2ab1acc0241d43a48abf0581278af24
2012-10-11 16:29:41 -07:00
Jeff Sharkey
38f8688bae Return ApplicationInfo with requested userId.
Return ApplicationInfo with requested userId instead of trying to
infer it from calling UID.

Bug: 7334712
Change-Id: I9ce0061e2d020b0d74c7c9cd22d89c5ff2466a6c
2012-10-11 16:10:23 -07:00
Winson Chung
a58800d153 am 4cce397c: Merge "Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)" into jb-mr1-dev
* commit '4cce397c0dab44cf7b1b657d0e5410b5970eef55':
  Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)
2012-10-11 14:58:47 -07:00
Jeff Brown
65d8433f7b am 2e21bdbe: Merge "Ensure MediaRouter correctly handles renamed Wifi displays." into jb-mr1-dev
* commit '2e21bdbe303a8abba406bdb5469944419e3a698a':
  Ensure MediaRouter correctly handles renamed Wifi displays.
2012-10-11 14:58:44 -07:00
Jeff Brown
35499475d2 am 17026864: Merge "Ensure Binder in-calls to UiModeManagerService are guarded." into jb-mr1-dev
* commit '17026864e846630da7b619b55c5a65311484656c':
  Ensure Binder in-calls to UiModeManagerService are guarded.
2012-10-11 14:57:05 -07:00
Winson Chung
4cce397c0d Merge "Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)" into jb-mr1-dev 2012-10-11 14:56:56 -07:00
Jeff Brown
2e21bdbe30 Merge "Ensure MediaRouter correctly handles renamed Wifi displays." into jb-mr1-dev 2012-10-11 14:56:56 -07:00
Jeff Brown
17026864e8 Merge "Ensure Binder in-calls to UiModeManagerService are guarded." into jb-mr1-dev 2012-10-11 14:53:54 -07:00
Craig Mautner
a37994b2b4 am 46fb9e9f: Merge "Check for apps closing and restore mExiting test." into jb-mr1-dev
* commit '46fb9e9f226c234c2b95428b8827df3cb0333cde':
  Check for apps closing and restore mExiting test.
2012-10-11 14:52:15 -07:00
Craig Mautner
46fb9e9f22 Merge "Check for apps closing and restore mExiting test." into jb-mr1-dev 2012-10-11 14:48:57 -07:00
Jeff Brown
2444ae7e2b Ensure MediaRouter correctly handles renamed Wifi displays.
Fix a couple of bugs that cause MediaRouter to disconnect from
the current Wifi display whenever it is renamed.

Added an extra check in WifiDisplayAdapter for identity renames.
The Settings app already handles this case but it's good to have
the service check for it as well so we don't store unnecessary
aliases.

Bug: 7310777
Change-Id: I8fddd32ca59f9b798ee31b467b81457508c345f8
2012-10-11 14:30:21 -07:00
Winson Chung
6611988429 Letting partial update fall through if the widget has not received a full update yet. (Bug 7214731)
Change-Id: I4da99c259df51f8f66d3ade1156040bd0360ca5d
2012-10-11 14:27:03 -07:00
Craig Mautner
a987d43bc9 Check for apps closing and restore mExiting test.
Removal of the mExiting test in a previous CL was a mistake leading
to z-order errors. In particular the auto complete dialog was on top
of the IME and was being dismissed due to touches on the IME.

Restoring mExiting alone missed cases where apps were exiting which
don't set mExiting. Adding a test for membership in mClosingApps
fixes that.

Bug: 7327220 fixed.
Change-Id: I3965b8a07080d1347bdada51ffeafe6ef2e32c8e
2012-10-11 14:13:31 -07:00
Winson Chung
f0a8045e72 am ee0d8deb: Merge "Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)" into jb-mr1-dev
* commit 'ee0d8deb5e4bb9e2d9caef2c988f483afe9f24a7':
  Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)
2012-10-11 13:59:13 -07:00
Svetoslav Ganov
756cf7e882 am b3c38156: Merge "Screen magnification does not auto-pan when fragment dialog pops up." into jb-mr1-dev
* commit 'b3c38156fc3f1ff2621c8e0961ebf75a5486d2b4':
  Screen magnification does not auto-pan when fragment dialog pops up.
2012-10-11 13:59:10 -07:00
Winson Chung
ee0d8deb5e Merge "Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)" into jb-mr1-dev 2012-10-11 13:56:24 -07:00
Jeff Brown
487bb6e20b Ensure Binder in-calls to UiModeManagerService are guarded.
Fixed a couple of problems where locks were not being taken or
where the calling identity was being clear deep in the call
stack whereas it should be cleared as close to the entry point
possible to ensure code correctness.

Bug: 7328545
Change-Id: I8ff646a772cd7f4025d5604bc35c6372c3d2428e
2012-10-11 13:35:42 -07:00
Winson Chung
596b1850f3 Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)
Change-Id: Ie19b629deea9133800df265a2cebedc8bcb2a74d
2012-10-11 12:46:54 -07:00
Svetoslav Ganov
0ea16037c7 Screen magnification does not auto-pan when fragment dialog pops up.
1. We auto pan when certain type of window pop up to make sure the user
   knows about the context change. This does not happen however for
   fragment dialog since its window type is not in the list of one
   we auto pan for. Updating the window type list.

bug:7332090

Change-Id: I9b097c57df929d2e4e807a948c3a0540f4092a76
2012-10-11 12:40:58 -07:00
Svetoslav Ganov
d3e5180f7c am d07fa6e0: Merge "Prevent out of range magnification scale to be persisted." into jb-mr1-dev
* commit 'd07fa6e0dc8141e5e77ffec6863f81a246bf8384':
  Prevent out of range magnification scale to be persisted.
2012-10-11 11:39:36 -07:00
Svetoslav Ganov
ee44fae196 Prevent out of range magnification scale to be persisted.
1. If a bad magnification scale is persisted, i.e. it is
   not between the min and max, the screen magnifier gets
   into a bad state which even a reboot does not fix since
   the scale is persisted in settings.

   This change ensures that only valid scales are presisted.
   In general a bad value should not be attempted to be
   persisted but at this point this is the safest change.

bug:7288239

Change-Id: I3e9c7c091772fa64128ab8403c2127ce65cb94b8
2012-10-11 11:17:56 -07:00
Matthew Xie
d8481f9665 am a517de36: Donot reset mEnable flag when binding timeout.
* commit 'a517de36c44ab8cad5a267315aedf940aefa44cb':
  Donot reset mEnable flag when binding timeout.
2012-10-11 01:45:50 -07:00
Matthew Xie
a517de36c4 Donot reset mEnable flag when binding timeout.
During start up, binding could take a while. When binding timeout
only reset mBinding but not mEnable.
bug 7328147

Change-Id: I306a84ca53d9e1d05111395642626e68d19e9663
2012-10-11 01:29:02 -07:00
Jeff Brown
d2d7d5c890 am 60fa4617: Merge changes I50eb7dcf,I7ae92ce1,Icb22db1c into jb-mr1-dev
* commit '60fa4617bc4be292a9e0ae10cf259153dec07aa9':
  Don't enable input dispatch until the screen is visible.
  Dejank electron beam.
  Don't process UEvents in Dalvik unless they match a pattern.
2012-10-10 23:26:05 -07:00
Jeff Brown
51d5a04e3d am 3c0081b0: Merge "Use exactly the same timings for the ElectronBeam as JB." into jb-mr1-dev
* commit '3c0081b069acf06912b2497cb93664efc43c52ed':
  Use exactly the same timings for the ElectronBeam as JB.
2012-10-10 23:26:01 -07:00
Jeff Brown
78eb122450 Dejank electron beam.
On some devices it can take hundreds of milliseconds to get a
brand new EGL surface performing in tip-top shape.  To get it
ready make it do a few pushups before the show begins.

Bug: 7318962
Change-Id: I7ae92ce100c368327042a29ffa65faee9b567c8d
2012-10-10 21:46:55 -07:00
Jeff Brown
3c584f20ac Use exactly the same timings for the ElectronBeam as JB.
Bug: 7318962
Change-Id: Ic04bac5b07ec64fed84a6381ee1916ddeed01255
2012-10-10 19:47:18 -07:00
Jean-Michel Trivi
7e466e894a am bcfc1ca8: Merge "Don\'t play notifications during speech recognition" into jb-mr1-dev
* commit 'bcfc1ca8ab8bf057e20d9369af3d007d80ca83e4':
  Don't play notifications during speech recognition
2012-10-10 16:33:15 -07:00
Jean-Michel Trivi
bcfc1ca8ab Merge "Don't play notifications during speech recognition" into jb-mr1-dev 2012-10-10 16:30:56 -07:00
Craig Mautner
82314aeb55 am 0a75ed08: Merge "Revert "Remove debugging statements before final ROM."" into jb-mr1-dev
* commit '0a75ed0805dd7f97ff058623eb8e4f4b258c44ab':
  Revert "Remove debugging statements before final ROM."
2012-10-10 15:42:09 -07:00
Craig Mautner
0a75ed0805 Merge "Revert "Remove debugging statements before final ROM."" into jb-mr1-dev 2012-10-10 15:38:58 -07:00
Svetoslav Ganov
cafd061ae7 am f864401c: Merge changes I00665385,Ic76db232 into jb-mr1-dev
* commit 'f864401cfa1fdf863003f9d2d624fd742f7b5f4b':
  Send accessibility notification events only for the current user.
  No sound produced on global actions dialog pops up if no vibrator is present.
2012-10-10 15:38:57 -07:00
Svetoslav Ganov
f864401cfa Merge changes I00665385,Ic76db232 into jb-mr1-dev
* changes:
  Send accessibility notification events only for the current user.
  No sound produced on global actions dialog pops up if no vibrator is present.
2012-10-10 15:36:30 -07:00
Chris Craik
63b57ef1f6 am c1940167: Merge "Use the original caller pid for computing visibility" into jb-mr1-dev
* commit 'c1940167109098b5748cde025e49575c6515e490':
  Use the original caller pid for computing visibility
2012-10-10 15:14:04 -07:00
Chris Craik
c194016710 Merge "Use the original caller pid for computing visibility" into jb-mr1-dev 2012-10-10 15:11:24 -07:00
Svetoslav Ganov
c31ed39e7a Send accessibility notification events only for the current user.
1. The notification manager service is firing accessibility events
   for notification for a background user. Events for the current
   user's notifications should be sent.

bug:7326302

Change-Id: I00665385ba2106f161928dad1b76536c93c17f27
2012-10-10 14:58:33 -07:00
Chris Craik
3198ef3f97 Use the original caller pid for computing visibility
bug:7325771

Make Strict mode violations flicker the screen for visible app correctly.

Change-Id: I293dc9e945cb0366a1cd7b63a5b746159aab7c74
2012-10-10 14:52:30 -07:00
Svetoslav Ganov
743c0eb6c0 am 9ea6343f: Merge "The active window for accessibility purposes can be miscomputed." into jb-mr1-dev
* commit '9ea6343fa4dc6c0e2144880594fa7a80f94c31f3':
  The active window for accessibility purposes can be miscomputed.
2012-10-10 14:18:12 -07:00
Svetoslav Ganov
9ea6343fa4 Merge "The active window for accessibility purposes can be miscomputed." into jb-mr1-dev 2012-10-10 14:15:14 -07:00
Craig Mautner
64ecc0e101 Revert "Remove debugging statements before final ROM."
The bug cropped up again. Need these statements to pin it down.

This reverts commit f1f3b49b949af72692f7f85a1c1ef220e8630e30

Change-Id: Ie0548232daff32ee2541249b0950e23bd98c08d2
2012-10-10 13:22:10 -07:00
Svetoslav Ganov
6ae8a24fc0 The active window for accessibility purposes can be miscomputed.
1. The active window is the one that the user touches or the one
   that has input focus. We recognize the user touching a window
   by the received accessibility hover events and the user not
   touching the screen by a call from the touch explorer. It is
   possible that the user touches window that does not have
   input focus and as soon as he lifts finger the active one
   will become the window that has input focus but now we get
   he hover accessibility events from the touched window which
   incorrectly changes the active window to be the touched one.
   Note that at this point the user is not touching the screen.

bug:7298484

Change-Id: Ife035a798a6e68133f9220eeeabdfcd35a431b56
2012-10-10 13:09:04 -07:00