9519 Commits

Author SHA1 Message Date
Jeff Brown
943d52f6f2 am 44877a16: am 35499475: am 17026864: Merge "Ensure Binder in-calls to UiModeManagerService are guarded." into jb-mr1-dev
* commit '44877a16e7313e0523975b5511107631fabc8115':
  Ensure Binder in-calls to UiModeManagerService are guarded.
2012-10-11 17:53:12 -07:00
Craig Mautner
e75ded7c0d am 567f47b8: am a37994b2: am 46fb9e9f: Merge "Check for apps closing and restore mExiting test." into jb-mr1-dev
* commit '567f47b8aa0789c1631e9a5a275c787d1eee2311':
  Check for apps closing and restore mExiting test.
2012-10-11 17:53:08 -07:00
Winson Chung
5d8080f8b8 am ef36a549: am f0a8045e: am ee0d8deb: Merge "Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)" into jb-mr1-dev
* commit 'ef36a5494249c57855a5eabd6a5536d8447c1b68':
  Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)
2012-10-11 17:52:47 -07:00
Svetoslav Ganov
4cc7342daf am cf19242d: am 756cf7e8: am b3c38156: Merge "Screen magnification does not auto-pan when fragment dialog pops up." into jb-mr1-dev
* commit 'cf19242d7b9688220cf821fe598de35d932ca2d2':
  Screen magnification does not auto-pan when fragment dialog pops up.
2012-10-11 17:52:43 -07:00
Svetoslav Ganov
7510e4820b resolved conflicts for merge of a7f38925 to master
Change-Id: If0e3a1046dfeef9260284e84f2a74525ddea00f7
2012-10-11 17:49:28 -07:00
Jeff Brown
44877a16e7 am 35499475: am 17026864: Merge "Ensure Binder in-calls to UiModeManagerService are guarded." into jb-mr1-dev
* commit '35499475d238b6f4f5a07fd59dcddc4bc391f0d8':
  Ensure Binder in-calls to UiModeManagerService are guarded.
2012-10-11 17:13:08 -07:00
Craig Mautner
567f47b8aa am a37994b2: am 46fb9e9f: Merge "Check for apps closing and restore mExiting test." into jb-mr1-dev
* commit 'a37994b2b4e2fe02c93c40699442c7a13052c57c':
  Check for apps closing and restore mExiting test.
2012-10-11 17:13:03 -07:00
Winson Chung
ef36a54942 am f0a8045e: am ee0d8deb: Merge "Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)" into jb-mr1-dev
* commit 'f0a8045e727e9bff08b4890521912afc6564a895':
  Skip merge and assign RemoteViews directly if updateAppWidget() has not been called. (Bug 7214731)
2012-10-11 17:12:26 -07:00
Svetoslav Ganov
cf19242d7b am 756cf7e8: am b3c38156: Merge "Screen magnification does not auto-pan when fragment dialog pops up." into jb-mr1-dev
* commit '756cf7e88294905f0dfa6a25981e0592e1df1689':
  Screen magnification does not auto-pan when fragment dialog pops up.
2012-10-11 17:12:22 -07:00
Svetoslav Ganov
a7f38925f7 am d3e5180f: am d07fa6e0: Merge "Prevent out of range magnification scale to be persisted." into jb-mr1-dev
* commit 'd3e5180f7cec9df97e983f228aa753efcd193013':
  Prevent out of range magnification scale to be persisted.
2012-10-11 17:11:37 -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
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
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
27dbabd119 am 1c1b02a1: am d8481f96: am a517de36: Donot reset mEnable flag when binding timeout.
* commit '1c1b02a1340933151f5e5804df6d4d195902ab2c':
  Donot reset mEnable flag when binding timeout.
2012-10-11 01:51:55 -07:00
Matthew Xie
1c1b02a134 am d8481f96: am a517de36: Donot reset mEnable flag when binding timeout.
* commit 'd8481f9665d9073ae739729b8c931a323c6f8f62':
  Donot reset mEnable flag when binding timeout.
2012-10-11 01:49:01 -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
f02070ca7d am aabf7a59: am d2d7d5c8: am 60fa4617: Merge changes I50eb7dcf,I7ae92ce1,Icb22db1c into jb-mr1-dev
* commit 'aabf7a5940ab917a3d2835d32707dccc418a42a9':
  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-11 00:17:56 -07:00
Jeff Brown
ba251d2816 am 035a0521: am 51d5a04e: am 3c0081b0: Merge "Use exactly the same timings for the ElectronBeam as JB." into jb-mr1-dev
* commit '035a0521de0ee91111b46ded6ba8475fff5dcf84':
  Use exactly the same timings for the ElectronBeam as JB.
2012-10-11 00:17:52 -07:00
Jeff Brown
aabf7a5940 am d2d7d5c8: am 60fa4617: Merge changes I50eb7dcf,I7ae92ce1,Icb22db1c into jb-mr1-dev
* commit 'd2d7d5c8903c7fd6078b16492ee7b21347fce5f2':
  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-11 00:15:57 -07:00
Jeff Brown
035a0521de am 51d5a04e: am 3c0081b0: Merge "Use exactly the same timings for the ElectronBeam as JB." into jb-mr1-dev
* commit '51d5a04e3da16ac71895e933cc390ea64ec06fcc':
  Use exactly the same timings for the ElectronBeam as JB.
2012-10-11 00:15:54 -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
7e04bd1cc1 am afb19545: am 7e466e89: am bcfc1ca8: Merge "Don\'t play notifications during speech recognition" into jb-mr1-dev
* commit 'afb195453a40ba41ee4a08a1d920110c5b8af58e':
  Don't play notifications during speech recognition
2012-10-10 17:23:22 -07:00
Jean-Michel Trivi
afb195453a am 7e466e89: am bcfc1ca8: Merge "Don\'t play notifications during speech recognition" into jb-mr1-dev
* commit '7e466e894ad4738a76c94c871cfc2f900518aea8':
  Don't play notifications during speech recognition
2012-10-10 16:36:07 -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
518bafeb9c am 132134a1: am 82314aeb: am 0a75ed08: Merge "Revert "Remove debugging statements before final ROM."" into jb-mr1-dev
* commit '132134a19aaaeefb5d722856a8f4b17c49967f96':
  Revert "Remove debugging statements before final ROM."
2012-10-10 15:47:04 -07:00
Craig Mautner
132134a19a am 82314aeb: am 0a75ed08: Merge "Revert "Remove debugging statements before final ROM."" into jb-mr1-dev
* commit '82314aeb550987adc0f604e9d3d21567219a1a32':
  Revert "Remove debugging statements before final ROM."
2012-10-10 15:44:03 -07:00
Svetoslav Ganov
724d619120 am 867644c1: am cafd061a: am f864401c: Merge changes I00665385,Ic76db232 into jb-mr1-dev
* commit '867644c1317447fda2402c4fc024e44c254a74e8':
  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:44:03 -07:00
Svetoslav Ganov
867644c131 am cafd061a: am f864401c: Merge changes I00665385,Ic76db232 into jb-mr1-dev
* commit 'cafd061ae7ef5ff8ca3c8b28b84d5f1d94e71b01':
  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:42:15 -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
51472f6f00 am e6153ee3: am 63b57ef1: am c1940167: Merge "Use the original caller pid for computing visibility" into jb-mr1-dev
* commit 'e6153ee3215e4487ea4e0939bb21600e32a0c1cc':
  Use the original caller pid for computing visibility
2012-10-10 15:18:57 -07:00
Chris Craik
e6153ee321 am 63b57ef1: am c1940167: Merge "Use the original caller pid for computing visibility" into jb-mr1-dev
* commit '63b57ef1f642672cde284103904f85d4ae31bcd8':
  Use the original caller pid for computing visibility
2012-10-10 15:16:08 -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