24779 Commits

Author SHA1 Message Date
Gilles Debunne
b5305007a6 Merge "Add EditTextShortcutSpan to provide edit short cut in the text view." 2011-08-30 15:53:33 -07:00
Dianne Hackborn
9c93db60e6 Merge "Fix issues #5233826 and #5209847 -- live wallpapers." 2011-08-30 15:47:17 -07:00
Justin Ho
9b718682ed Merge "Updated action bar/CAB assets Bug: 5156319 5076695" 2011-08-30 15:42:26 -07:00
Christopher Tate
95901a1b8b Merge "Fix JNI for warning about failure to unlink DeathRecipients" 2011-08-30 15:09:54 -07:00
Dianne Hackborn
9e4e727b4a Fix issues #5233826 and #5209847 -- live wallpapers.
5233826	when a live wallpaper starts, it does so regardless of its visibility

The WallpaperService is now very forceful about telling a wallpaper it is
not visible when it first starts.

5209847	Make launcher turn off the wallpaper in all apps.

Fix a bug in the window manager that would not correctly handle the wallpaper
flag changing.

Change-Id: Ie3314043a84664be72a1304a1705408efd789a15
2011-08-30 14:56:31 -07:00
Jamie Gennis
8d102eb672 Merge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afc
* changes:
  MediaDump: use the MediaPlayer#setSurface method
  HTML5VideoView: switch to MediaPlayer#setSurface
  MediaPlayer: unhide the setSurface method
  Surface: unhide the SurfaceTexture ctor
2011-08-30 14:38:56 -07:00
Justin Ho
8b9362d65f Updated action bar/CAB assets
Bug: 5156319 5076695

Change-Id: If80d0bf0d3ca4d6bf22ef6231380c07f73fe966b
2011-08-30 14:08:52 -07:00
Christopher Tate
0d4a792e8d Fix JNI for warning about failure to unlink DeathRecipients
We now (a) use the right Class getName() method, and (b) look it
up once at setup time rather than doing that lookup every time we
want to emit the warning.  Verified to work properly and no longer
crash or throw or otherwise complain.

Change-Id: If0767f8845588ba7f34bac21474f4e2ad5c111d6
2011-08-30 14:06:20 -07:00
Fabrice Di Meglio
c6f19da0ff Merge "Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug" 2011-08-30 13:42:34 -07:00
Jim Miller
25c82e6cb4 Merge "Fix 5233681,5230897: Minor tweaks to lockscreen layout on tablets." 2011-08-30 13:29:24 -07:00
Dave Santoro
d49eea7831 Merge "Profile API modifications." 2011-08-30 13:12:50 -07:00
Claudia de Veaux
fbc4fe3e32 Merge "Remove unnecessary parenthesees in "No service" lock screen string. Bug: 5221160" 2011-08-30 11:05:31 -07:00
Luca Zanolin
e6d3682189 Add EditTextShortcutSpan to provide edit short cut in the text view.
At the moment, EditTextShortcutSpan allows only the deletion of the text. In the future, we may decide to add extra functionality,
like "retry" where all the text is removed and a specific IME is triggered.

Fix the underline. The underline is not defined in thickness, and not as a multiplier of the default underline thickness.

Change the behaviour of SuggestionRangeSpan to match the specification.

Change-Id: I80437d9887c7a2ff8f62c38afbb0cb7add7ee9c8
2011-08-30 18:04:34 +01:00
Narayan Kamath
5cdc720dca Merge "Don't allow TTS engines to synthesize too for ahead." 2011-08-30 09:52:06 -07:00
Gilles Debunne
ce4afc1425 Merge "Moving action popup window when moving text selection" 2011-08-30 09:46:30 -07:00
Gilles Debunne
4cbcc2bc06 Merge "Bug 5218421: new NPE is SpellChecker when using Japanese language" 2011-08-30 09:45:46 -07:00
Svetoslav Ganov
173cc7c86a Merge "Adding accessibility support to the slide lock screen" 2011-08-29 22:09:56 -07:00
Svetoslav Ganov
f058340b2f Adding accessibility support to the slide lock screen
bug:5210233

Change-Id: I93e876524ae6aaf75aadbe6a21c5c17d41a705f0
2011-08-29 22:01:44 -07:00
Jim Miller
2227acd719 Fix 5233681,5230897: Minor tweaks to lockscreen layout on tablets.
- Remove negative padding required by old font which is no longer
required by the new clock font.
- Change brightness of AM/PM indicator to white.

Change-Id: I10540a2976a47014e535f958e07d1c61fa0d8d41
2011-08-29 21:19:36 -07:00
Jeff Sharkey
4107beecaa Merge "Introduce immediate CONNECTIVITY_ACTION variant." 2011-08-29 20:00:12 -07:00
Dianne Hackborn
4293064179 Merge "Fix issues 5158104 and 4981556 (fragment problems)" 2011-08-29 18:40:21 -07:00
Jim Miller
476769b42f Merge "Fix 5044158: Integrate music transport control into LockScreen" 2011-08-29 18:30:44 -07:00
Jim Miller
1c18828d20 Fix 5044158: Integrate music transport control into LockScreen
This integrates a new version of TransportControlView into LockScreen
and adds plumbing to handle new AudioService events to show/hide the view
and updates the required assets for all devices.

Updated to use new AudioManager API. Since the current API only supports
one RCD, the handler now lives in TransportControlView.

Change-Id: I220d4dd760bef35bd84209adc3c5829bf5bc9a2c
2011-08-29 18:29:21 -07:00
Christopher Tate
3765621434 Merge "Un-hide the new BackupAgent.onFullBackup() API" 2011-08-29 18:11:38 -07:00
Dianne Hackborn
6c285977a0 Fix issues 5158104 and 4981556 (fragment problems)
5158104: com.android.contacts: java.lang.IllegalStateException:
Can not perform this action after onSaveInstanceState at
android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1201)

The ViewPager can just commit without worrying about a state loss,
since it can correctly reconstruct its state later.

4981556: Fragment.mImmediateActivity doesn't get restored on orientation change

I am giving up on this thing; I just don't see how it can actually
be correct.  So now instead of getting an exception about a dup
add/remove at point of the add/remove call, this will happen later when
processing the transaction.

Also add an API for controlling the visibility of menus, which ViewPager
can use to have the correct menus shows.  And add a method to get the
name of a back stack entry.

Change-Id: Idcba14cfa2a172545a7a2a2c466cb49ceb789619
2011-08-29 17:58:17 -07:00
Irfan Sheriff
f99360bf8f Merge "Initialize p2p settings" 2011-08-29 17:36:50 -07:00
John Reck
30cca6020d Merge "Fix contentInvalidateAll NPE" 2011-08-29 17:14:11 -07:00
Matthew Xie
d56b3c9524 Merge "Move Bluetooth remove service record handler to the app main thread" 2011-08-29 16:27:54 -07:00
Matthew Xie
484867a8ed Move Bluetooth remove service record handler to the app main thread
Move Bluetooth remove service record handler to the app main thread.
This removes the dependency of caller thread that constructs the
BluetoothAdapter singleton instance. The caller thread could stop while
BluetoothAdapter singleton exists but lose the handler context.
Make the BluetoothService.removeServiceRecord return quickly without
blocking on native call.
bug 4999443

Change-Id: I302534baa381f4aca8192e1e4a9ea21793b07ba6
2011-08-29 16:24:50 -07:00
Jeff Sharkey
961e304583 Introduce immediate CONNECTIVITY_ACTION variant.
New broadcast that is dispatched immediately after connectivity
changes have been handled by ConnectivityService, bypassing any
applicable CONNECTIVITY_CHANGE_DELAY.

Also protect CONNECTIVITY_CHANGE broadcasts, since they should only
be sent by system.

Bug: 5198167
Change-Id: I75f1fb44b21da1879f0ab960bcaa481126d70fde
2011-08-29 16:10:43 -07:00
Fabrice Di Meglio
aef455fd5b Fix bug #5197549 android.text.cts.StaticLayoutTest#testGetEllipsisCount fails on IRK49E mysid-userdebug
- make the ellipsizing condition easier to read
- allow ellipsizing only and only if
	- not MARQUEE
	- single line
	- END only on the last visible line when multiple lines

Change-Id: I6b08e4a735ebc4875a208f0538d9cf937240316e
2011-08-29 16:07:05 -07:00
Daniel Lehmann
82e0c6f3de Merge "Add the lookup_key column, which should have been in the previous CL" 2011-08-29 15:51:56 -07:00
Irfan Sheriff
335e40c0f1 Merge "Use seperate config file for p2p" 2011-08-29 15:22:58 -07:00
Dave Santoro
063084e619 Profile API modifications.
This is a set of changes to allow for splitting off the Profile
concept in the Contacts Provider into a separate database:
- Removed the ALLOW_PROFILE parameter, as it is no longer possible
  to combine profile data with contacts data in a single query.
- Added profile sync state as a separate table.
- Clarified status update API usage to indicate that profile updates
  need to either be done for a specific data ID or using a new
  profile-specific URI.
- Added constant and API for determining whether an ID falls within
  the profile ID-space.

Bug 5204577

Change-Id: Ia0f8c6b490845100dd6d44e5e01a3b27346f077e
2011-08-29 14:49:31 -07:00
Gilles Debunne
57324c7382 Moving action popup window when moving text selection
Long press to select, the action popup (Paste) is displayed.
A second long press moves the selection (selection mode is still on),
but the action popup's location was not updated.

Change-Id: I2ac133e608dbca35ec0236b47b42f029623fc303
2011-08-29 14:42:17 -07:00
Chet Haase
32901b4fec Merge "Fixed bug with invalidation in top-level Views." 2011-08-29 14:39:47 -07:00
Daniel Lehmann
ceb476a584 Add the lookup_key column, which should have been in the previous CL
Also added some more javadocs

Bug:5134325

Change-Id: I486b753f7cfb622e0211bb7f6bd04eb18b6e1e5b
2011-08-29 14:37:31 -07:00
Chet Haase
e4e6e20695 Fixed bug with invalidation in top-level Views.
There was a bug in an InputMethod app, where popups for the keys
would not pop-down again. The problem was that they were being
marked INVISIBLE, but the new invalidation logic noop'd the
invalidate() call that used to take place. Adding to that was logic
in setFlags() that only invalidated a parent for parents that are
instanceof ViewGroup. In this case, the parent is a ViewRootImpl.

Fix is to call invalidateChild() on the parent if it's not a ViewGroup.

Change-Id: I2c2352072d383cee1367ea7ee6c2207077721fd5
2011-08-29 14:34:30 -07:00
Jamie Gennis
fd8feeef49 HTML5VideoView: switch to MediaPlayer#setSurface
This change updates HTML5VideoView to use the new MediaPlayer#setSurface
method rather than MediaPlayer#setTexture, which is going to be removed.

Change-Id: Ia4c8c822bd4735caf95f3f295485d60f016577c1
2011-08-29 14:33:11 -07:00
Claudia de Veaux
b5f34b855b Remove unnecessary parenthesees in "No service" lock screen string.
Bug: 5221160

Change-Id: I7d64e2531f5c15d52251c4f6830547f3e7e86678
2011-08-29 14:22:11 -07:00
Gilles Debunne
9906847cef Bug 5218421: new NPE is SpellChecker when using Japanese language
The spell checker session is null because the Japanase language is not supported.

Change-Id: I41d2157e8f66799fdb6dff718e8903ce6f1bb9fe
2011-08-29 14:12:14 -07:00
Jeff Brown
8d3feb6292 Merge "Add a "show touches" option for demos and presentations. Bug: 4569045" 2011-08-29 14:04:31 -07:00
Christopher Tate
78be158ce4 Un-hide the new BackupAgent.onFullBackup() API
This is intended to be new public API for ICS, and unbundled app
development needs access to it.

Change-Id: I091b31ae9ec319850a93efc3d5860b87b68d355e
2011-08-29 14:02:27 -07:00
Jamie Gennis
0db3aef9f8 Surface: unhide the SurfaceTexture ctor
This change unhides the Surface constructor that creates a Surface that
pushes frames to a SurfaceTexture.

Change-Id: I2e587afc52c9838d25b8681cae7421734b3e7b6e
2011-08-29 13:56:44 -07:00
Jamie Gennis
a258f0c8ff Merge "Surface: move the SurfaceTexture ctor" 2011-08-29 13:41:45 -07:00
Gilles Debunne
474cac1c21 Merge "Suggestions popup window is dismissed on tap outside." 2011-08-29 12:58:36 -07:00
John Reck
082a9fa343 Merge "Tap highlight fix + small perf increase" 2011-08-29 12:55:50 -07:00
Irfan Sheriff
9322687d98 Initialize p2p settings
And fix associated changes from the settings.

With p2p_reconnect setting turned on, it means the p2p group can be
started without a group negotiation. Hence, handle p2p group started in
the P2pEnabledState

Also, reinvocation results in supplicant not reporting device address correctly.
Handle that until supplicant fix is fixed.

Bug: 5002384

Change-Id: I335f6e854acd6839f54da9b460b17ad7505b1098
2011-08-29 12:55:44 -07:00
John Reck
c87b7705a0 Fix contentInvalidateAll NPE
Bug: 5220835
 It is possible to call setProperty before webcore has initialized.
 In that case, the content invalidate is unnecessary as there is no
 content to invalidate, so just ignore the request.

Change-Id: I52471a1739443ba8f1e514a5908678552246d80b
2011-08-29 11:48:56 -07:00
Brandon Keely
5471781430 Merge "Massaging framework window transitions." 2011-08-29 11:34:02 -07:00