91279 Commits

Author SHA1 Message Date
Svetoslav Ganov
c886060272 Incorrect temporary detach of accessibility focused view may lead to a crash.
1. If an app naither reattaches nor removes detached view that has
   accessibility focus, an exception in the drawing of accessibility
   focus occurs since we are trying to compute the focused rect by
   offseting the bounds of the focused view in coords of the root
   but the focused one is not attached.

bug:7297191

Change-Id: Ib69d52e474b8ea365754f5311f5e809bd757dd1a
2012-10-05 18:47:13 -07:00
Dirk Dougherty
9aeb0a81da Doc change: Add core quality and tablet quality docs and spotlight.
Change-Id: Ia88e66818200fdc20417c0fe20672a5758284028

Conflicts:

	docs/html/distribute/googleplay/quality/core.jd
	docs/html/distribute/googleplay/quality/index.jd
	docs/html/distribute/googleplay/quality/tablet.jd
2012-10-05 18:47:10 -07:00
Adam Cohen
a21bf0c6ea Suppress unnecessary calls to update widget size (issue 7287744)
Change-Id: I2cec03a32b42f7a56e0f538dcd5c09de4ce2e076
2012-10-05 18:20:46 -07:00
Satoshi Kataoka
31689d95a1 am 1bdb01a0: am f23a2df3: am f9485002: Merge "Fix the issue on the input method switch picker" into jb-mr1-dev
* commit '1bdb01a099ca64adf14ac0fcbdc9410d06ee41a2':
  Fix the issue on the input method switch picker
2012-10-05 18:04:30 -07:00
Satoshi Kataoka
1bdb01a099 am f23a2df3: am f9485002: Merge "Fix the issue on the input method switch picker" into jb-mr1-dev
* commit 'f23a2df326418bdc42c2e27a66383a60935f1f05':
  Fix the issue on the input method switch picker
2012-10-05 18:02:24 -07:00
Satoshi Kataoka
f23a2df326 am f9485002: Merge "Fix the issue on the input method switch picker" into jb-mr1-dev
* commit 'f948500239803b2b7247ff5058e39e4d645c5b70':
  Fix the issue on the input method switch picker
2012-10-05 18:01:14 -07:00
Satoshi Kataoka
f948500239 Merge "Fix the issue on the input method switch picker" into jb-mr1-dev 2012-10-05 17:59:09 -07:00
Svetoslav Ganov
a1a2cdf78a am 5bfa59b3: am 82d5b6e1: am 020daada: Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev
* commit '5bfa59b32fcfd09fcd66381cc7d951f156d1363b':
  Accessibility focus not cleared on temporary detach.
2012-10-05 17:40:38 -07:00
Svetoslav Ganov
5bfa59b32f am 82d5b6e1: am 020daada: Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev
* commit '82d5b6e1dde07fbd0bd6ed1720c92e06b7dadd93':
  Accessibility focus not cleared on temporary detach.
2012-10-05 17:38:27 -07:00
Jim Miller
0dc3384b92 am d172ca91: am 263d99aa: am 5a3322fe: Merge "Fix unresponsive back button in keyguard." into jb-mr1-dev
* commit 'd172ca91910ae20f10a0d50ec62ee7e7a4d10c3d':
  Fix unresponsive back button in keyguard.
2012-10-05 17:36:43 -07:00
David Hu
722876a989 Update the location tracker test app
Updated it to use the new location api

Change-Id: Ie11ea7ac25e53dd117af5b7bf45061f1f629a90c
2012-10-05 17:36:31 -07:00
Svetoslav Ganov
82d5b6e1dd am 020daada: Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev
* commit '020daada9d5311921fe3185c68f083cf4aac18f8':
  Accessibility focus not cleared on temporary detach.
2012-10-05 17:36:16 -07:00
Jim Miller
d172ca9191 am 263d99aa: am 5a3322fe: Merge "Fix unresponsive back button in keyguard." into jb-mr1-dev
* commit '263d99aaa6a6a827dbac1e1a6b6b18b9bb0f78b7':
  Fix unresponsive back button in keyguard.
2012-10-05 17:35:27 -07:00
Jeff Brown
a3225e20de Fix a deadlock involving BatteryService.
The PowerManager may call into the BatteryService while
holding its locks.  We need to be careful that the BatteryService
doesn't call into other services, particularly the ActivityManager
while holding its own locks.

Bug: 7298218
Change-Id: Ibf8ab13224f204a9857825265e864f93583bce8e
2012-10-05 17:34:41 -07:00
Jim Miller
b62305412b Don't disable multi-user widget when Device Policy is enabled.
While fixing this bug, I fixed a few other issues:
- Always call showAppropriateWidgetPage(), even when DPM enabled
- Always disable status view interaction, even when DPM enabled

Fixes bug 7294880

Change-Id: Ia8495555c1940f2b38f42389558f46fde6aab775
2012-10-05 17:34:28 -07:00
Jeff Brown
bfd4e32509 Lock the screen while dreaming after the appropriate timeout.
Bug: 7267187
Change-Id: I26ce3970a2d7cf446efe3e8c810fbbf3ddfcc47b
2012-10-05 17:34:17 -07:00
Jeff Brown
7af8d1bdc5 Ensure that dreams show while docked.
Fixed a race between the UiModeManagerService and PowerManagerService
both of which are trying to wake the device when docked / powered.

Bug: 7281240
Change-Id: Ia41fef48f17f2a2eb56549437d295f9a86c95af2
2012-10-05 17:34:06 -07:00
Jeff Brown
2fc69ff376 Coordinate screen on with the window manager.
Bug: 7267457
Change-Id: Ic2c322253639e1f0b2e4e72a7b145025d0240f93
2012-10-05 17:33:56 -07:00
Svetoslav Ganov
020daada9d Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev 2012-10-05 17:33:36 -07:00
Jim Miller
263d99aaa6 am 5a3322fe: Merge "Fix unresponsive back button in keyguard." into jb-mr1-dev
* commit '5a3322fec3be02cda158a0a9c66be725e4056746':
  Fix unresponsive back button in keyguard.
2012-10-05 17:32:25 -07:00
Jim Miller
5a3322fec3 Merge "Fix unresponsive back button in keyguard." into jb-mr1-dev 2012-10-05 17:29:36 -07:00
Svetoslav Ganov
8d0739da7f Accessibility focus not cleared on temporary detach.
1. There was a path for removing a view without clearing its accessibility focus.
   Then when we try to draw the focused rectangle we get an exception since the
   accessibility focused view is not attached to the view tree when computing
   the location of the rectangel to draw.

bug:7297191

Change-Id: I81e3c35e830e27cf95e73accb665629d0c456afb
2012-10-05 17:26:49 -07:00
Amith Yamasani
8320de8e29 Fix widget cross-talk between users due to Settings widget
Bug: 7247911
Bug: 7294899

Also did some cleanup of unused code that resulted from refactoring
the app widget service. Fixed a few more ambiguous calls that weren't
using the correct user id.
Added some logging and improved the dump() formatting.

Change-Id: I27abb5c6341458e1e50a2cc9ab67e8de573ab283
2012-10-05 17:24:37 -07:00
Jeff Brown
8807740e46 am 5b7d8922: am 3894073c: am fdcb2257: Merge "Fix a deadlock involving BatteryService." into jb-mr1-dev
* commit '5b7d892209be72b9092a9268bf98bbad2f9e9e5e':
  Fix a deadlock involving BatteryService.
2012-10-05 17:22:43 -07:00
Jeff Brown
5b7d892209 am 3894073c: am fdcb2257: Merge "Fix a deadlock involving BatteryService." into jb-mr1-dev
* commit '3894073c1daa5dc5bf8b459be1e4a60b3832f1bb':
  Fix a deadlock involving BatteryService.
2012-10-05 17:21:31 -07:00
Tim Murray
6fadc74bfd Merge "Add copyFrom(Allocation a)." 2012-10-05 17:21:30 -07:00
Jim Miller
0a34d9edf0 Fix unresponsive back button in keyguard.
When keyguard doesn't have focus, events weren't being propagated to
keyguard properly.  The fix is to grab the back-button event from the
top-level view and handle it there.

Change-Id: Ied9761919cff30173f43f03e4c2a1732387e618e
2012-10-05 17:15:41 -07:00
Scott Main
6cd677c3ae am 808f5553: am 85307740: am 6409e445: am 1c2056d6: am 98d4d719: am 2ed01adc: a few more crosslinks for design guide (to other design docs or dev docs)
* commit '808f5553b4db532bdd1d084c4a1957a45497b986':
  a few more crosslinks for design guide (to other design docs or dev docs)
2012-10-05 17:14:38 -07:00
Jeff Brown
3894073c1d am fdcb2257: Merge "Fix a deadlock involving BatteryService." into jb-mr1-dev
* commit 'fdcb2257d20435326baa41dd713c7ffee322e84c':
  Fix a deadlock involving BatteryService.
2012-10-05 17:14:13 -07:00
Scott Main
808f5553b4 am 85307740: am 6409e445: am 1c2056d6: am 98d4d719: am 2ed01adc: a few more crosslinks for design guide (to other design docs or dev docs)
* commit '853077407489b702504d8c086c0ef48152727fa2':
  a few more crosslinks for design guide (to other design docs or dev docs)
2012-10-05 17:12:29 -07:00
Jeff Brown
fdcb2257d2 Merge "Fix a deadlock involving BatteryService." into jb-mr1-dev 2012-10-05 17:11:14 -07:00
Tim Murray
64380cef85 Merge "add resize2D to Java API" 2012-10-05 17:11:02 -07:00
Scott Main
8530774074 am 6409e445: am 1c2056d6: am 98d4d719: am 2ed01adc: a few more crosslinks for design guide (to other design docs or dev docs)
* commit '6409e445fbaef14852d13d51441538c0739ec07e':
  a few more crosslinks for design guide (to other design docs or dev docs)
2012-10-05 17:10:23 -07:00
Scott Main
6409e445fb am 1c2056d6: am 98d4d719: am 2ed01adc: a few more crosslinks for design guide (to other design docs or dev docs)
* commit '1c2056d6a5578f8c878535a3fb79a385ed1639d9':
  a few more crosslinks for design guide (to other design docs or dev docs)
2012-10-05 17:07:58 -07:00
Scott Main
1c2056d6a5 am 98d4d719: am 2ed01adc: a few more crosslinks for design guide (to other design docs or dev docs)
* commit '98d4d7196870205d5d93df330bdef0c23fcaf2c0':
  a few more crosslinks for design guide (to other design docs or dev docs)
2012-10-05 17:05:55 -07:00
Scott Main
98d4d71968 am 2ed01adc: a few more crosslinks for design guide (to other design docs or dev docs)
* commit '2ed01adc8d1af5a11520bd71450b764ca36fcb1c':
  a few more crosslinks for design guide (to other design docs or dev docs)
2012-10-05 17:03:33 -07:00
Adam Cohen
cd71051173 am af07eb04: am 345d2f05: am 12ac6077: Merge "Don\'t disable multi-user widget when Device Policy is enabled." into jb-mr1-dev
* commit 'af07eb04a3879679753d74f74706aaccf262f3fe':
  Don't disable multi-user widget when Device Policy is enabled.
2012-10-05 17:02:46 -07:00
Adam Cohen
af07eb04a3 am 345d2f05: am 12ac6077: Merge "Don\'t disable multi-user widget when Device Policy is enabled." into jb-mr1-dev
* commit '345d2f05688b1b7c105b7c1a63301b887ddf7f51':
  Don't disable multi-user widget when Device Policy is enabled.
2012-10-05 17:01:25 -07:00
Adam Cohen
345d2f0568 am 12ac6077: Merge "Don\'t disable multi-user widget when Device Policy is enabled." into jb-mr1-dev
* commit '12ac6077ffdeb1af572594b869fa331a941f41c8':
  Don't disable multi-user widget when Device Policy is enabled.
2012-10-05 16:58:25 -07:00
Adam Cohen
12ac6077ff Merge "Don't disable multi-user widget when Device Policy is enabled." into jb-mr1-dev 2012-10-05 16:55:28 -07:00
Tim Murray
f671fb0b35 Add copyFrom(Allocation a).
Change-Id: Ibc334326083b5471584dcf1c068e4e810aede20f
2012-10-05 16:45:45 -07:00
Jeff Brown
de0777f8a0 am a3afcd4a: am c285bd62: am ec7131ff: Merge "Lock the screen while dreaming after the appropriate timeout." into jb-mr1-dev
* commit 'a3afcd4a6c386563ce770c4bf2a3726822be8857':
  Lock the screen while dreaming after the appropriate timeout.
2012-10-05 16:41:58 -07:00
Jeff Brown
a3afcd4a6c am c285bd62: am ec7131ff: Merge "Lock the screen while dreaming after the appropriate timeout." into jb-mr1-dev
* commit 'c285bd62b54e3da657629e4d23987220936dab14':
  Lock the screen while dreaming after the appropriate timeout.
2012-10-05 16:40:06 -07:00
Jeff Brown
c285bd62b5 am ec7131ff: Merge "Lock the screen while dreaming after the appropriate timeout." into jb-mr1-dev
* commit 'ec7131ffe3e5684eff4c19f577b324d0e5a61d33':
  Lock the screen while dreaming after the appropriate timeout.
2012-10-05 16:37:29 -07:00
Jeff Brown
ec7131ffe3 Merge "Lock the screen while dreaming after the appropriate timeout." into jb-mr1-dev 2012-10-05 16:35:08 -07:00
Jeff Brown
605ea69ab1 Fix a deadlock involving BatteryService.
The PowerManager may call into the BatteryService while
holding its locks.  We need to be careful that the BatteryService
doesn't call into other services, particularly the ActivityManager
while holding its own locks.

Bug: 7298218
Change-Id: Ibf8ab13224f204a9857825265e864f93583bce8e
2012-10-05 16:33:10 -07:00
Jeff Brown
6aaf29589b Lock the screen while dreaming after the appropriate timeout.
Bug: 7267187
Change-Id: I26ce3970a2d7cf446efe3e8c810fbbf3ddfcc47b
2012-10-05 16:21:05 -07:00
Craig Mautner
eef14894db am 51e461a9: am f630bd76: am 2874a540: Merge "Add flag for displaying non-user\'s Windows to user." into jb-mr1-dev
* commit '51e461a9853b534b3e62052923a3ea7e39a2e4c9':
  Add flag for displaying non-user's Windows to user.
2012-10-05 16:21:02 -07:00
Jeff Sharkey
47ee491b82 am 7cc641e4: am 39de779d: am d7eece34: Merge "Clear identity when requesting current user." into jb-mr1-dev
* commit '7cc641e494810628292f4f158ea9ad71dd695271':
  Clear identity when requesting current user.
2012-10-05 16:20:58 -07:00
Craig Mautner
51e461a985 am f630bd76: am 2874a540: Merge "Add flag for displaying non-user\'s Windows to user." into jb-mr1-dev
* commit 'f630bd762fb4770eaadc02492e32b0aa18d28416':
  Add flag for displaying non-user's Windows to user.
2012-10-05 16:18:43 -07:00