85905 Commits

Author SHA1 Message Date
Adam Powell
6f2a3d2982 Quick settings user display and switching
Load user information for the current user and display in quick
settings tile. Name is pulled from the contacts DB from the "Me"
profile, which will override the raw name on the system user if
needed.

Open the user switcher on the lock screen if this tile is clicked and
there is more than one user registered on the system. If there is only
one user, show the "Me" quick contact card.

Darken the background protection behind the user's name on the QS tile
layout so that it's readable against very light profile pic
backgrounds.

Bug 7175023
Bug 7257997

Change-Id: Ia1e7dd7af72dbd49113a827f9228e0a32e20a0dc
2012-10-05 22:36:13 -07:00
Svetoslav Ganov
d9c99124d4 Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev 2012-10-05 20:04:37 -07:00
Jeff Brown
4d12d5be8f Merge "Recover from bad input event timestamps from the kernel." into jb-mr1-dev 2012-10-05 19:44:36 -07:00
Jeff Brown
f33b2b2b24 Recover from bad input event timestamps from the kernel.
This can happen due to a race when the input device is
opened or if the kernel happens to be missing the required
Android patches to set the timestamp correctly.

Bug: 7291243
Change-Id: If4319440eaff2889147c86296abd39efc5664346
2012-10-05 19:33:28 -07:00
Amith Yamasani
b71ccfcf9b Merge "Fix widget cross-talk between users due to Settings widget" into jb-mr1-dev 2012-10-05 19:13:46 -07:00
Dirk Dougherty
2b1cab00d1 am 42bf1848: am daf69014: am a4c7176d: Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs
* commit '42bf1848fef341f4da38d6342856a189adada8d2':
  Doc change: Add core quality and tablet quality docs and spotlight.
2012-10-05 19:07:43 -07:00
Dirk Dougherty
42bf1848fe am daf69014: am a4c7176d: Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs
* commit 'daf69014b5f25accae38dfef3d5880b4b7b87f8b':
  Doc change: Add core quality and tablet quality docs and spotlight.
2012-10-05 19:06:06 -07:00
Dirk Dougherty
daf69014b5 am a4c7176d: Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs
* commit 'a4c7176dbc5193085ba3f2f602d16adac12cfa63':
  Doc change: Add core quality and tablet quality docs and spotlight.
2012-10-05 19:03:51 -07:00
Dirk Dougherty
a4c7176dbc Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs 2012-10-05 19:01:06 -07:00
Dirk Dougherty
bfe4362a4c am 07afab6b: am 34765caf: am d8a4a72a: Merge "Doc change: edits to distribute content." into jb-dev-docs
* commit '07afab6bd4ef390f97096f14a2bb3d5852836b4c':
  Doc change: edits to distribute content.
2012-10-05 18:56:40 -07:00
Dirk Dougherty
07afab6bd4 am 34765caf: am d8a4a72a: Merge "Doc change: edits to distribute content." into jb-dev-docs
* commit '34765caf6543bce8a4669563eb21f0077d4e2d26':
  Doc change: edits to distribute content.
2012-10-05 18:54:45 -07:00
Dirk Dougherty
34765caf65 am d8a4a72a: Merge "Doc change: edits to distribute content." into jb-dev-docs
* commit 'd8a4a72ab5f99d2dc5e95a07d9e3eb6ada40da6b':
  Doc change: edits to distribute content.
2012-10-05 18:52:13 -07:00
Dirk Dougherty
d8a4a72ab5 Merge "Doc change: edits to distribute content." into jb-dev-docs 2012-10-05 18:50:03 -07:00
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
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
020daada9d Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev 2012-10-05 17:33:36 -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
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
Jeff Brown
fdcb2257d2 Merge "Fix a deadlock involving BatteryService." into jb-mr1-dev 2012-10-05 17:11:14 -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
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
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
2874a54068 Merge "Add flag for displaying non-user's Windows to user." into jb-mr1-dev 2012-10-05 16:14:12 -07:00
Jeff Sharkey
d7eece3448 Merge "Clear identity when requesting current user." into jb-mr1-dev 2012-10-05 16:14:12 -07:00
Jeff Sharkey
b06ccdfbc0 Merge "Ellipsize long avatar names in user switcher." into jb-mr1-dev 2012-10-05 16:08:25 -07:00
Jeff Sharkey
b78738fa06 Clear identity when requesting current user.
Bug: 7298189
Change-Id: Ie9c160f12067f1b9426acbfee67ef81e8f5f7992
2012-10-05 16:03:01 -07:00
Jeff Brown
0728206a11 Merge "Ensure that dreams show while docked." into jb-mr1-dev 2012-10-05 16:01:52 -07:00
Jeff Sharkey
7b83158d8e Ellipsize long avatar names in user switcher.
Bug: 7294380
Change-Id: Id82354172ee9be6b76ca98863e058ab0a58ecb78
2012-10-05 15:50:28 -07:00
Jeff Sharkey
aa99257dec Merge "Only play notification sounds for active user." into jb-mr1-dev 2012-10-05 15:35:14 -07:00
Craig Mautner
88400d3a31 Add flag for displaying non-user's Windows to user.
Created a new flag that indicates that a window should be shown
to all users. For the flag to be valid the owner of the window
must have system permissions.

Also separated system window types into those that show to all
users (e.g. StatusBar, Keyguard, ....) and those that appear only
to the owning users (e.g. Drag, ANR, TOAST, ...). Those that appear
only to their owner can override their default behavior using
the new flag (e.g. LowBattery).

Fixes bug 7211965.

Change-Id: I1fdca25d57b7b523f0c7f8bceb819af656c388d4
2012-10-05 15:29:25 -07:00
Jim Miller
7221d3ae08 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 15:29:20 -07:00
Jeff Sharkey
8637bd9766 Only play notification sounds for active user.
Bug: 7298302
Change-Id: I1e176f7b17bb51b878f2e8b345804780df92d487
2012-10-05 15:29:01 -07:00
Christopher Tate
73755c95ff Merge "Fix settings restore" into jb-mr1-dev 2012-10-05 15:24:06 -07:00
Jeff Brown
9fca9e9698 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 15:21:06 -07:00
Romain Guy
5075f8e323 Merge "Update TextureView's layer on size change Bug #7171323" into jb-mr1-dev 2012-10-05 15:14:07 -07:00
Christopher Tate
3543beb255 Fix settings restore
Now with more fix.

Bug 7249405

Change-Id: Ib8bc2e9c5b054054f4aaacf14af8d5a0d05d6e3a
2012-10-05 15:01:42 -07:00
Romain Guy
88801b270f Update TextureView's layer on size change
Bug #7171323

Change-Id: I24bedd7775ebf585ffcbd43b661e9c961f380c29
2012-10-05 14:58:33 -07:00
Jeff Brown
3f1246a29b Merge "Coordinate screen on with the window manager." into jb-mr1-dev 2012-10-05 14:55:26 -07:00
Christopher Tate
d0f199308e Merge "Make sure settings writes are permission checked correctly" into jb-mr1-dev 2012-10-05 14:46:01 -07:00
Jeff Brown
c38c9be031 Coordinate screen on with the window manager.
Bug: 7267457
Change-Id: Ic2c322253639e1f0b2e4e72a7b145025d0240f93
2012-10-05 14:39:23 -07:00
Dianne Hackborn
7ef38ea9e5 Merge "Fix issue #7275122: Wall paper jank when switching users" into jb-mr1-dev 2012-10-05 12:54:52 -07:00
Justin Ho
26bf1a7c75 Merge "Revert "Updating Roboto fonts with updated Cyrillic glyphs and fixes to tabular numerals. Bug:7198855,7070912"" into jb-mr1-dev 2012-10-05 12:18:26 -07:00
Justin Ho
f4037ff4b7 Merge "Revert "Updated Roboto fonts with correct T comma accent encoding"" into jb-mr1-dev 2012-10-05 12:15:16 -07:00