4861 Commits

Author SHA1 Message Date
Adam Powell
589e6f960d Better screen size adaptation for ResolverActivity
Change-Id: I2c982c0b7c722ca7cad46cc23ac8d161bee3a1ff
2012-05-06 20:53:07 -07:00
Dianne Hackborn
58d5ff8757 Merge "Fix typo." into jb-dev 2012-05-06 18:07:19 -07:00
Dianne Hackborn
79e0110f9d Fix typo.
Change-Id: I29a270c7499a96718b3d2cad8c2b89783a5607f8
2012-05-06 18:03:24 -07:00
Adam Powell
b2269d67c4 Merge "Revisions to ResolverActivity" into jb-dev 2012-05-06 17:54:48 -07:00
Adam Powell
c587861fe8 Revisions to ResolverActivity
Bug 6428812

Change ResolverActivity to use a grid rather than a list, and present
buttons for "Use Always" and "Just Once". Use large launcher icons
when appropriate.

Change-Id: I177360a727cbc4b401ffbcea83d1b3dac1de5744
2012-05-06 17:52:30 -07:00
Dianne Hackborn
7bfa14570e Merge "Finish up issue #6249094: Display permissions based on relevance to private data" into jb-dev 2012-05-06 17:49:53 -07:00
Dianne Hackborn
99222d212f Finish up issue #6249094: Display permissions based on relevance to private data
Added bitmaps for permission group icons.  We had to pick either
icons for a dark or light background, and it had to be light for
settings, so the installer theme has gone back to dark.

Tweaked the permission groups to match the icons.

Redid the group priorities to make them correct (they were written
with higher priorities being less important).

Fixed bug where priority was not being used for system apps.

Change-Id: Ia3d3f0c1614a11b4cfd11682ce9e6c9f87d75c06
2012-05-06 17:45:13 -07:00
Svetoslav Ganov
464676bcb4 Merge "Showing default activity in activity chooser view only if enough space." into jb-dev 2012-05-06 17:17:34 -07:00
Svetoslav Ganov
340e2611de Showing default activity in activity chooser view only if enough space.
1. While a default target is very convenient, having two targets for the
   widget on a phone takes too much space and the apps do not have room
   to add other essential affordances to the action bar. Making the default
   activity show only of the screen is large enough - the action bar
   accommodates at least four targets i.e. 500dip.

2. Fixed a bug where changing the backing model of an ActivityChooserView
   when the view is not shown did not remove the observer for the old
   model, hence the View can get into a state where it responds to changes
   of two models while presenting only one. Also in such a case the view
   would leak since the singleton model will keep a handle to it.

3. Updated the documentation of share action provider to explain how a
   a developer can change the backing history file and refresh the UI
   based on the historical data in that file.

bug:6447692

Change-Id: Id5c9e54cd5df322ded8574ba028cb680e628243b
2012-05-05 17:49:16 -07:00
Michael Jurka
d7683d748d Make recents thumbnails look a bit better on Nakasi
Bug: 6405276

Change-Id: I9faea28b027de2ef1ee45a65eed2f7a43eee901b
2012-05-04 15:59:20 -07:00
Eric Fischer
c9c199a51a Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-04 14:16:23 -07:00
Fabrice Di Meglio
8396830d8f Merge "Hide RTL related APIs - DO NOT MERGE" into jb-dev 2012-05-04 13:19:41 -07:00
Fabrice Di Meglio
66388dcb09 Hide RTL related APIs - DO NOT MERGE
- fix bug #6441155 API review: @hide RTL layout APIs

Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
2012-05-04 13:15:12 -07:00
Eric Fischer
1f2740cd73 Import translations. DO NOT MERGE
Change-Id: I0731da1e265e2684fd7acb76fddd76cebcdf0e1e
2012-05-04 12:47:16 -07:00
Chris Wren
d6297dbfe9 Add an alternate title that can be used in the overflow of a InboxStyle.
Always hide contentText for BigTextStyle and InboxStyle.
Style cannot be used without specialization, it should be abstract.

Bug: 6428978
Bug: 6274137
Bug: 6317471
Change-Id: I21531a94494f891a058a477805b177e736b921cf
2012-05-04 12:45:38 -07:00
Dianne Hackborn
610f310b19 Merge "New permissions UI." into jb-dev 2012-05-03 19:03:11 -07:00
Dianne Hackborn
0e128bb2e0 New permissions UI.
Had to keep around a little of the old API for the device
admin settings UI to continue to use.

Change-Id: I84c5666a7f3fec0495eae196a0ffc2223c9e6f82
2012-05-03 19:00:23 -07:00
Jeff Sharkey
cc152567d5 Make fixed-width dialogs larger on sw600dp.
Leaves at existing size for sw720dp devices.

Bug: 6378944
Change-Id: I8be079869c724eb05949cb56e137626e32140afb
2012-05-03 16:55:16 -07:00
Eric Fischer
7b7281edc1 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-03 15:16:52 -07:00
Brian Colonna
9b4dc0f701 Merge "Fix 6396479: Made FUL unlock layout look good on nakasi" into jb-dev 2012-05-03 15:09:18 -07:00
Eric Fischer
ac786550d1 Import translations. DO NOT MERGE
Change-Id: Iba7e238df292ae2cbf948db84bfcbe1d82bc6ccb
2012-05-03 14:36:10 -07:00
Adrian Ludwig
23746be026 Merge "Reorganizing permissions into groups oriented around user-understandable concepts." into jb-dev 2012-05-03 11:18:24 -07:00
Adam Powell
1f2077c3a0 Merge "Fix AlertDialog positioning for dialogs spawned from DialogWhenLarge activities" into jb-dev 2012-05-03 10:57:22 -07:00
Chris Wren
e4a2a4f142 rework big text to handle gmail use case
Change-Id: I3175e198bd6f39025f4257454b43c459ed1e38f5
2012-05-03 09:40:02 -04:00
Adam Powell
8877cc3e6e Fix AlertDialog positioning for dialogs spawned from DialogWhenLarge
activities

Bug 6413342

Clear extra attributes in the base theme so that they properly overlay
a ContextThemeWrapper over a fixed-size dialog theme.

Change-Id: Ia0d49f0746ca01516afa1eaea7091e5da60d14ae
2012-05-02 18:35:23 -07:00
John Wang
22930da77f Merge "Add unusable SIM message." into jb-dev 2012-05-02 17:37:44 -07:00
John Wang
82b2cd0fe9 Add unusable SIM message.
Inform user "Unusable SIM card." when SIM is permanently disabled
due to too many wrong PUK inputs.

bug:5548405

Change-Id: Id82c7681f58f09709c630b4bc455facb549938ed
2012-05-02 17:14:50 -07:00
Brian Colonna
3018997534 Fix 6396479: Made FUL unlock layout look good on nakasi
For the portrait layouts, the size of the unlock view was reduced
because it was outside the bottom bounds of the screen, making it
look much wider than it was high.  The fix makes it look square.

For the landscape layouts, the size of the unlock view was increased
because it was leaving only thin slivers of background space on the
top and bottom.  It now fills the entire right half of the screen.

This was also tested on the Xoom to make sure it looks reasonable on
10 inch tablets, even though FUL doesn't ship on the Xoom.

Change-Id: I969912a944d20560d31729806273dec47aaa6ecb
2012-05-02 17:58:25 -04:00
Winson Chung
3e1cf5b423 Merge "Updating task and fragment transitions. (Bug 5285022)" into jb-dev 2012-05-02 14:51:08 -07:00
Winson Chung
bd127f0966 Updating task and fragment transitions. (Bug 5285022)
Change-Id: Iae7cc88d7b608360455956488562a40cbdb725f9
2012-05-02 14:49:28 -07:00
Eric Fischer
ef3e44f69a Import translations. DO NOT MERGE
Change-Id: I5ae8fc8c95a47a3b981a10bf2218c774de71627f
2012-05-02 12:58:28 -07:00
Adrian Ludwig
dc410cb349 Reorganizing permissions into groups oriented around user-understandable concepts.
These groups are assigned priority for sort-order when displayed to users, and use
the new permissionGroupFlags to indicate whether they contain personalInfo.

Change-Id: I27e81912e08b8d7766b8ce449b4b3bd6473d8f07
2012-05-02 09:56:41 -07:00
Eric Fischer
dd8412d4fb Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-01 13:42:13 -07:00
Eric Fischer
48c220df10 Import translations. DO NOT MERGE
Change-Id: I50b9a3a66234f1570955532c6383570cade19232
2012-05-01 12:19:31 -07:00
Dianne Hackborn
a25c8a97af Merge "Add new APIs for permission group flags and priorities." into jb-dev 2012-05-01 11:15:51 -07:00
Amith Yamasani
2d25d467e6 Merge "Fixes PreferenceScreen padding and scrollbar position." into jb-dev 2012-05-01 10:22:01 -07:00
satok
6dbac37981 Merge "Show ongoing ime switch icon on sw600" into jb-dev 2012-04-30 22:02:07 -07:00
satok
c861b68a52 Show ongoing ime switch icon on sw600
Bug: 6422307
Change-Id: If10758e0d4ca59da4f3ab07d52dda6673af9c0a8
2012-05-01 12:05:12 +09:00
Dianne Hackborn
fd5015be41 Add new APIs for permission group flags and priorities.
Change-Id: I2d476c6aa9dbd05407ec49be45986f42d2acf9e7
2012-04-30 18:19:09 -07:00
Jeff Brown
c5c33c363e Merge "Add support for using the lid switch to turn off the screen." into jb-dev 2012-04-30 17:15:57 -07:00
Amith Yamasani
f9638a4aee Fixes PreferenceScreen padding and scrollbar position.
Bug: 6399996
Changed the scrollbarStyle for tablets

Bug: 6405440
Inflate the listview from a layout with padding.

Change-Id: I838bb073ee2f0e23ac7163cc632679278dbccf05
2012-04-30 16:32:39 -07:00
Jeff Brown
c458ce98ce Add support for using the lid switch to turn off the screen.
Added a config option to allow the lid switch to turn off the
screen.  This is a closer match to what a lid switch should be
doing.

Removed an old feature to bypass keyguard when keyboard is visible
because the way it was plumbed in made bad assumptions about
the meaning of the lid switch.  Also, the last product we shipped
that had a physical keyboard turned this config option off.
So away it goes.  We can bring it back someday if we really want it.
It's questionable how useful the feature is anyhow, since it only
works when the keyguard is unsecure and when the lid switch is
unlikely to be jostled in the user's pocket.

Fixed a bug where we would tell the power manager that the keyboard
was visible even if the lid switch did not control the keyboard.
This used to cause the power manager to try to set the keyboard
brightness, which doesn't work.

Bug: 6377115
Bug: 6406726
Change-Id: Ic84b71d09563d51c92cd1cf132fa8bdee6509103
2012-04-30 15:48:42 -07:00
Eric Fischer
14ff8c0084 Import translations. DO NOT MERGE
Change-Id: Icc783beaa23278f07fc5fed64b7631c1d088208c
2012-04-30 12:31:45 -07:00
Philip Milne
65340c1682 Merge "Fixes for optical bounds feature." into jb-dev 2012-04-27 16:57:41 -07:00
Philip Milne
7a23b49a8c Fixes for optical bounds feature.
1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance.
2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS.
3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS.
4. Complete GridLayout implementation.
5. Change the default_gap between components to 8dp, to align with the Style Guide.

Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
2012-04-27 16:46:57 -07:00
Jeff Sharkey
6ee3fe8849 Merge "Migrate ringtone playback to SystemUI." into jb-dev 2012-04-27 16:28:32 -07:00
Adrian Ludwig
2c85f5119e Merge "Update the short strings associatd with permissions to improve readability." into jb-dev 2012-04-27 16:22:21 -07:00
Irfan Sheriff
a5ab608295 Merge "Switch to standard commands for pno & power save" into jb-dev 2012-04-27 14:44:26 -07:00
Jeff Sharkey
098d580cc2 Migrate ringtone playback to SystemUI.
Introduce IRingtonePlayer, which handles playback for both Ringtone
objects and Notifications. SystemUI now hosts this player, which it
registers with AudioService. It also keeps MediaPlayer instances
warm, and cleans them up after stop() or Binder death.

Move both Ringtone and NotificationManagerService to play back audio
through this new interface.

Bug: 6376128, 6350773
Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
2012-04-27 14:15:05 -07:00
Irfan Sheriff
e2639d782e Switch to standard commands for pno & power save
Remove DRIVER commands and switch to cfg based commands

Bug: 6318223
Change-Id: I5e21c4bb554c2992a52fd3c1741629645b22ae43
2012-04-27 13:01:04 -07:00