9272 Commits

Author SHA1 Message Date
Craig Mautner
fb52eccb65 am 393295fa: Merge "Keep layout from overwriting translate dimensions" into jb-dev
* commit '393295fabff828d3bc974a617d152ff0895a4071':
  Keep layout from overwriting translate dimensions
2012-05-09 11:19:07 -07:00
Craig Mautner
393295fabf Merge "Keep layout from overwriting translate dimensions" into jb-dev 2012-05-09 11:17:19 -07:00
satok
2e5c0d47cf am 14124c69: Merge "Fix the issue that the insets linger after closing the voice input" into jb-dev
* commit '14124c696d82e68f93baed905ca01fc498ae1fc6':
  Fix the issue that the insets linger after closing the voice input
2012-05-09 11:07:06 -07:00
satok
14124c696d Merge "Fix the issue that the insets linger after closing the voice input" into jb-dev 2012-05-09 11:04:51 -07:00
satok
e0a99414bd Fix the issue that the insets linger after closing the voice input
Bug: 6456954
Change-Id: Idf7700271cf882dfbf35c9d16f0f173a791221bc
2012-05-10 02:57:11 +09:00
JP Abgrall
90e6771b9b am 956f9bd0: Merge "services: input events: enable debugging in EventHub (touch screen issues)" into jb-dev
* commit '956f9bd0049b86b45868dfbd9b539d3ac35cdec2':
  services: input events: enable debugging in EventHub (touch screen issues)
2012-05-09 10:43:33 -07:00
JP Abgrall
956f9bd004 Merge "services: input events: enable debugging in EventHub (touch screen issues)" into jb-dev 2012-05-09 10:41:28 -07:00
Craig Mautner
a83580614f Keep layout from overwriting translate dimensions
If the layout goes through more than one pass after detecting a window
movement but before animation begins then the later pass overwrites
the animation offsets. The incorrect values are large leading to an
animation starting location in the bottom right corner.

Fixes bug 6450310.

Change-Id: I0f74e67b3e9a15a9246151abf6d47384509340e9
2012-05-09 10:37:41 -07:00
satok
c38ff8df0c am 93d744de: Fix sort order of the input method switcher in IMMS
* commit '93d744deb167d5c681b5bb5627fd36a92f1ea79a':
  Fix sort order of the input method switcher in IMMS
2012-05-09 02:01:51 -07:00
satok
93a5cfb30b am a71293f3: Merge "Do not return stale subtypes" into jb-dev
* commit 'a71293f36cb6f6b906301a426c6c5f388e118552':
  Do not return stale subtypes
2012-05-09 01:50:11 -07:00
Dianne Hackborn
dde27194ef am a4e2ec64: Merge "Fix Issue 26574: Service\'s onStartCommand receiving incorrect flag..." into jb-dev
* commit 'a4e2ec64db896366592b3b2347eb2ac6d2ca060a':
  Fix Issue 26574: Service's onStartCommand receiving incorrect flag...
2012-05-09 01:49:23 -07:00
Craig Mautner
e47330b06f am 79b7742c: Merge "Fix wallpaper exposure bugs." into jb-dev
* commit '79b7742cf17c79c529bbcbd1acc2d871a90e8fbc':
  Fix wallpaper exposure bugs.
2012-05-09 01:49:15 -07:00
Kenny Root
bb1028de0f am c29b49fa: Merge "Handle addition of system apps during OTA" into jb-dev
* commit 'c29b49faf3e193a8c72c25c6e362ac26ea0e2464':
  Handle addition of system apps during OTA
2012-05-09 01:49:01 -07:00
Jeff Brown
3d42f8f8ca am 9ac663ef: Merge "Disable input dispatch until boot finished." into jb-dev
* commit '9ac663ef9ab6ec455403d1e71bf897c34d3b311e':
  Disable input dispatch until boot finished.
2012-05-09 01:48:32 -07:00
Eric Laurent
776339fe4c am c8ade15d: Merge "Silent and Vibrate mode clean up" into jb-dev
* commit 'c8ade15dadd680c5e4b201f3b7b0823a13dedb3e':
  Silent and Vibrate mode clean up
2012-05-09 01:48:30 -07:00
Svetoslav Ganov
d71f6e9a81 am 14326fd4: Merge "DefaultGestureHandlingHelperService should not include non-important views." into jb-dev
* commit '14326fd456f8b457e4ab7b53393b9b1e0d1726aa':
  DefaultGestureHandlingHelperService should not include non-important views.
2012-05-09 01:48:19 -07:00
Kenny Root
71244f0b6c am 8a2fe268: Merge "Prune hidden system apps when removed via OTA" into jb-dev
* commit '8a2fe26873f73a7a422cadf9e5ccfd7c68bbd9ca':
  Prune hidden system apps when removed via OTA
2012-05-09 01:47:53 -07:00
Nick Pelly
75b6793208 am c4eb11db: Merge "Increase interval threshold below which we just leave the GPS on." into jb-dev
* commit 'c4eb11db04be07000e996d09b477a7a833435db8':
  Increase interval threshold below which we just leave the GPS on.
2012-05-09 01:47:06 -07:00
Adam Powell
2521bfdc01 am 69de7e1a: Fix a bug in ActivityManagerService#navigateUpTo
* commit '69de7e1a4ee9455ecd5a4aedfb6e5c395364dbbe':
  Fix a bug in ActivityManagerService#navigateUpTo
2012-05-09 01:45:47 -07:00
Kenny Root
83ea86091b am 29bb27ef: Merge "Add encryption parameters to package installation" into jb-dev
* commit '29bb27ef90564a294d506c2ffd546ba21788aeac':
  Add encryption parameters to package installation
2012-05-09 01:45:43 -07:00
satok
93d744deb1 Fix sort order of the input method switcher in IMMS
Bug: 6333988
Change-Id: Ief392c9157f2a37600e517ec9caf586ffb9d5f0d
2012-05-09 17:14:08 +09:00
satok
a71293f36c Merge "Do not return stale subtypes" into jb-dev 2012-05-08 23:39:32 -07:00
Dianne Hackborn
a4e2ec64db Merge "Fix Issue 26574: Service's onStartCommand receiving incorrect flag..." into jb-dev 2012-05-08 17:19:15 -07:00
Dianne Hackborn
d8f10240c0 Fix Issue 26574: Service's onStartCommand receiving incorrect flag...
...parameter for Intents

Change-Id: I2e2332c87e008c7ad6a89e17ae3f732c78e376ef
2012-05-08 17:14:58 -07:00
Craig Mautner
79b7742cf1 Merge "Fix wallpaper exposure bugs." into jb-dev 2012-05-08 17:01:43 -07:00
JP Abgrall
df0a89daa8 services: input events: enable debugging in EventHub (touch screen issues)
Enable verbose logging, but limit the output of events to only those that
are stale by more than 1ms.
This does not overly pollute the logcat output.


Bug: 6258051
Change-Id: I32012a379ca0e97c0834975482cd91f9eeb08907
2012-05-08 16:38:33 -07:00
Craig Mautner
0afddcb7f1 Fix wallpaper exposure bugs.
Qualify the test for wallpaper animation to exclude the dummy
animation. This keeps us from treating a dummy-animating wallpaper
as an exiting wallpaper and providing the wrong animation.

Hide wallpapers when the wallpaper target window is hidden. This
fixes a timing issue where the wallpaper was exposed for one pass
through performLayout after the launcher was hidden.

Fixes bug 6454992.

Change-Id: Ib4f9205c01a37e6f48f1f93ddcf2476e40ff942f
2012-05-08 16:32:50 -07:00
Kenny Root
c29b49faf3 Merge "Handle addition of system apps during OTA" into jb-dev 2012-05-08 16:14:20 -07:00
Kenny Root
208d341bbd Handle addition of system apps during OTA
If there were apps already installed that were added in a later system
OTA, bad things would happen.

If the previously installed application is an older version, simply
delete the installed application. If the system app is older than the
previously installed one, mark it as a disabled system app and use the
previoulsy installed application.

Additionally, the application will now have the correct granted
permissions.

Bug: 6251602
Change-Id: Iea444b6acac460fca1e08d4e2cbf68a258214ca6
2012-05-08 15:57:44 -07:00
Jeff Brown
9ac663ef9a Merge "Disable input dispatch until boot finished." into jb-dev 2012-05-08 15:15:56 -07:00
Eric Laurent
c8ade15dad Merge "Silent and Vibrate mode clean up" into jb-dev 2012-05-08 15:15:49 -07:00
Eric Laurent
bffc3d1bd3 Silent and Vibrate mode clean up
Clean up related to new Vibration policy.
The vibrate behavior is now only derived from:
 - presence of a vibrator on the device
 - current ringer mode selected: NORMAL, VIBRATE or SILENT
If no vibrator is present the ringer mode can only be NORMAL or SILENT.

The control of ringer mode via volume keys when volume keys control the "master"
stream type (RING on phones, MUSIC on tablets) is as follows:
If a vibrator is present:
 VOL- and volume equals 1: NORMAL => VIBRATE
 VOL- and volume equals 0 and not continuous press: VIBRATE => SILENT
 VOL+ and in SILENT mode: SILENT => VIBRATE
 VOL+ and in VIBRATE mode: VIBRATE => NORMAL, volume = 1
If no vibrator is present:
 VOL- and volume equals 0 and not continuous press: NORMAL => SILENT
 VOL+ and in SILENT mode: SILENT => NORMAL, volume = 0

VIBRATE_ON and VIBRATE_IN_SILENT settings are not stored/retreived any more.

AudioService checks and corrects ringer mode and stream volumes if necessary when reading from
DB at boot time.

Also:
 Added dump for stream volumes in AudioService.
 Added device names missing in AudioSystem for USB accessory and USB device.

Issue: 6036529
Issue: 6414950
Issue: 6448163

Change-Id: I77fb821ec63e4e566320cac2701b4ac466e86aef
2012-05-08 15:10:37 -07:00
Svetoslav Ganov
14326fd456 Merge "DefaultGestureHandlingHelperService should not include non-important views." into jb-dev 2012-05-08 14:46:01 -07:00
Jeff Brown
c042ee2acd Disable input dispatch until boot finished.
Bug: 6263070
Change-Id: I25e15e3d8af8eb3343c7b684fec345337d9f6aab
2012-05-08 13:58:32 -07:00
Kenny Root
8a2fe26873 Merge "Prune hidden system apps when removed via OTA" into jb-dev 2012-05-08 12:50:07 -07:00
Nick Pelly
c4eb11db04 Merge "Increase interval threshold below which we just leave the GPS on." into jb-dev 2012-05-08 10:27:22 -07:00
satok
fdf419e81d Do not return stale subtypes
Bug: 6294329
Change-Id: I3f0713f94c291298dfd447d1b65bd7c6d2858492
2012-05-08 17:05:46 +09:00
Kenny Root
c52d6fd043 Prune hidden system apps when removed via OTA
System applications which had an update applied to them at some point
were in a semi-broken state when removed via an OTA. The
"updated-package" setting would stay around forever and permissions
wouldn't be revoked.

Change-Id: I908e813b5de59c0f777d9b051253b28255a1c694
2012-05-07 23:07:49 -07:00
Adam Powell
69de7e1a4e Fix a bug in ActivityManagerService#navigateUpTo
Deliver new intents to an existing parent from the calling uid obtained from
the applicationInfo instead of the process record, since the process record
might be dead.

Stoopid monkeys.

Bug 6328725

Change-Id: I4371a5705ccd7004f0dfe11da7c48d1563fb8dac
2012-05-07 18:42:24 -07:00
Kenny Root
29bb27ef90 Merge "Add encryption parameters to package installation" into jb-dev 2012-05-07 18:41:27 -07:00
Svetoslav Ganov
ef5889810c DefaultGestureHandlingHelperService should not include non-important views.
1. Since we are using a stateless proxy accessibility service to
   perform default accessibility gesture handling it shuld not
   operate against not important views.

bug:6422069

Change-Id: I74df9c2415ab3b164d9ac5873f7004c0459e2bfa
2012-05-07 18:05:31 -07:00
Nick Pelly
b041f23026 Increase interval threshold below which we just leave the GPS on.
Hot TTTF is about 5 seconds, so don't cycle the GPS hardware until
the interval is 10 seconds.

Also add some more dumpsys logging.

Bug: 6367964
Change-Id: I39402fc61f34458a1639c8814610a02606a8eb79
2012-05-07 17:12:25 -07:00
Anonymous Coward
ceb1b0bfae Add encryption parameters to package installation
Change-Id: Ic9f8ab9f8110f08bb3c00725cfce5b8ee7b766f3
2012-05-07 16:34:49 -07:00
Dianne Hackborn
eef6121618 am 8e11051a: Merge "Tweak anim API to automatically call Intent.setSourceBounds()." into jb-dev
* commit '8e11051a06b3362b7d7cda654f8dcb5ca3760494':
  Tweak anim API to automatically call Intent.setSourceBounds().
2012-05-07 16:15:25 -07:00
Dianne Hackborn
8e11051a06 Merge "Tweak anim API to automatically call Intent.setSourceBounds()." into jb-dev 2012-05-07 16:12:44 -07:00
Dianne Hackborn
d367ca88ee Tweak anim API to automatically call Intent.setSourceBounds().
Also don't retain the source bounds in recent tasks, since it
has no meaning there and it would be better when relaunching an
activity to have a new bounds set based on wherever it is now
being launched from.

Change-Id: Ia90c04ee98a888a7f725b038abe23d71e2b12800
2012-05-07 15:54:58 -07:00
Dianne Hackborn
009e6e6b5e am bae365c1: Merge "Fix issue #6319312: Consecutive call to Activity\'s onCreate()/onResume()..." into jb-dev
* commit 'bae365c166538d5c2319bf42aaf1715a1fb749e7':
  Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()...
2012-05-07 15:14:50 -07:00
Dianne Hackborn
bae365c166 Merge "Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()..." into jb-dev 2012-05-07 15:12:33 -07:00
Dianne Hackborn
755c8bfbff Fix issue #6319312: Consecutive call to Activity's onCreate()/onResume()...
...without onPause() in between

There was a bug in the handling of "always finish activities" where we
would go through destroying activities while in the middle of updating
the activity stack.  This would result in the activity behind the
non-full-screen activity being created and then immediately destroyed,
which things were not expecting.

Change-Id: Idaa89089f7b1af7eb747d7b8f9f394beeb2d23fa
2012-05-07 15:06:09 -07:00
Craig Mautner
22135e46b1 am d8efe424: Merge "Change DimAnimator to reflect rotations." into jb-dev
* commit 'd8efe42496806b483bbacea28d2456e8b2eac4fb':
  Change DimAnimator to reflect rotations.
2012-05-07 13:13:26 -07:00