Commit Graph

19943 Commits

Author SHA1 Message Date
Jeff Sharkey
d712530185 am 4107beec: Merge "Introduce immediate CONNECTIVITY_ACTION variant."
* commit '4107beecaab18b393e56a0c34b333f0a6e15be2f':
  Introduce immediate CONNECTIVITY_ACTION variant.
2011-08-29 20:01:46 -07:00
Jeff Sharkey
4107beecaa Merge "Introduce immediate CONNECTIVITY_ACTION variant." 2011-08-29 20:00:12 -07:00
Dianne Hackborn
efc1b3b4d9 am 42930641: Merge "Fix issues 5158104 and 4981556 (fragment problems)"
* commit '42930641792ecd23fee6b2913ba1e7cf24634f3d':
  Fix issues 5158104 and 4981556 (fragment problems)
2011-08-29 18:42:29 -07:00
Dianne Hackborn
4293064179 Merge "Fix issues 5158104 and 4981556 (fragment problems)" 2011-08-29 18:40:21 -07:00
Jim Miller
3a34149c13 am 476769b4: Merge "Fix 5044158: Integrate music transport control into LockScreen"
* commit '476769b42f38ebf943ea859d98faa94fdc38eec1':
  Fix 5044158: Integrate music transport control into LockScreen
2011-08-29 18:32:42 -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
5e72362245 am 37656214: Merge "Un-hide the new BackupAgent.onFullBackup() API"
* commit '376562143436353bbd745d3cce413f649a09dda8':
  Un-hide the new BackupAgent.onFullBackup() API
2011-08-29 18:13:50 -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
John Reck
ce9b2d9218 am 30cca602: Merge "Fix contentInvalidateAll NPE"
* commit '30cca6020df6fede4043a9f6715be470d3132c57':
  Fix contentInvalidateAll NPE
2011-08-29 17:16:14 -07:00
John Reck
30cca6020d Merge "Fix contentInvalidateAll NPE" 2011-08-29 17:14:11 -07:00
Matthew Xie
cae4ce1f6d am d56b3c95: Merge "Move Bluetooth remove service record handler to the app main thread"
* commit 'd56b3c952469a63aa9d4fc860be24b80a4b0e3b6':
  Move Bluetooth remove service record handler to the app main thread
2011-08-29 16:34:05 -07:00
Daniel Lehmann
127ebfd8a0 am 82e0c6f3: Merge "Add the lookup_key column, which should have been in the previous CL"
* commit '82e0c6f3dec5c7359166b9ff720f9fcc8c6801d7':
  Add the lookup_key column, which should have been in the previous CL
2011-08-29 16:33:38 -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
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
Chet Haase
0f561d618f am 32901b4f: Merge "Fixed bug with invalidation in top-level Views."
* commit '32901b4fec5db9a137add68f0f38518636593668':
  Fixed bug with invalidation in top-level Views.
2011-08-29 15:39:11 -07:00
Jeff Brown
49a47f5446 am 8d3feb62: Merge "Add a "show touches" option for demos and presentations. Bug: 4569045"
* commit '8d3feb6292ba7e87adeb4982e8cf27114a8ee2e4':
  Add a "show touches" option for demos and presentations. Bug: 4569045
2011-08-29 15:18:46 -07:00
Jamie Gennis
931b706fbe am a258f0c8: Merge "Surface: move the SurfaceTexture ctor"
* commit 'a258f0c8ffeb447aa8d3216ec276bc26b4f3f5d8':
  Surface: move the SurfaceTexture ctor
2011-08-29 15:18:14 -07:00
Gilles Debunne
acb89cfc85 am 474cac1c: Merge "Suggestions popup window is dismissed on tap outside."
* commit '474cac1c212e1f02deaffe5512941af9cb2a760b':
  Suggestions popup window is dismissed on tap outside.
2011-08-29 15:17:49 -07:00
John Reck
83ff786f72 am 082a9fa3: Merge "Tap highlight fix + small perf increase"
* commit '082a9fa3438d343942851e538bb38b86ab1873b3':
  Tap highlight fix + small perf increase
2011-08-29 15:17:41 -07:00
Chet Haase
f6f53b1e69 am 890a631e: Merge "Made the Switch class public."
* commit '890a631ede4f0d209b53d1924a545ed8d3b6f003':
  Made the Switch class public.
2011-08-29 15:16:15 -07:00
Romain Guy
68acd2236d am f8c015d2: Merge "Italic should be italic and bold should be bold."
* commit 'f8c015d2628d8ef3056698a3b6a052889ae15d01':
  Italic should be italic and bold should be bold.
2011-08-29 15:16:03 -07:00
Adam Powell
e1634c98f3 am b5d80fca: Merge "Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode"
* commit 'b5d80fca2eb7f6053e6d404a0d4a7c213dad1317':
  Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode
2011-08-29 15:14:54 -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
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
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
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
Chet Haase
890a631ede Merge "Made the Switch class public." 2011-08-29 11:21:49 -07:00
Romain Guy
f8c015d262 Merge "Italic should be italic and bold should be bold." 2011-08-29 11:13:23 -07:00
Romain Guy
94d5e9ad65 Italic should be italic and bold should be bold.
Change-Id: I68933a7d7c32951c4d52d945baaedcb2583caef4
2011-08-29 11:12:19 -07:00
Chet Haase
150176d830 Made the Switch class public.
Tweaked the API of Switch slightly and made the class public (it was
hidden before).

Change-Id: I4a099e8afd18a11a5850252025ae3bbbb866830d
2011-08-29 10:59:58 -07:00
Adam Powell
b5d80fca2e Merge "Fix bug 5124021 - Menu visibility incorrect when restoring ListView selection mode" 2011-08-29 10:42:43 -07:00
John Reck
0ba72ad45b Tap highlight fix + small perf increase
Bug: 5229717

Change-Id: I9ebc92dc96d77ff9051517b717d203686b574f7a
2011-08-29 10:29:09 -07:00
Adam Powell
9a5cc2810b Fix bug 5124021 - Menu visibility incorrect when restoring ListView
selection mode

Fix visibility of menus when action modes are initiailized early.

Fix ListView problems persisting check states.

Change-Id: Idc21036dc39259e72f0e6831a0ccb4695f8858ef
2011-08-28 17:13:16 -07:00
Adam Powell
47d129bcb9 am 6b316513: Merge "Fix bug 5067075 - missing scrollbar when entering long signatures"
* commit '6b316513e8ce5c35cafacbeb3b9428fc5c06df67':
  Fix bug 5067075 - missing scrollbar when entering long signatures
2011-08-28 17:00:22 -07:00
Jamie Gennis
df0c84f908 Surface: move the SurfaceTexture ctor
This change moves the Surface ctor that takes a SurfaceTexture to the
portion of the file containing the public APIs.

Change-Id: I192df7bf5c0e6d0d0607bd577d72646312b2f717
2011-08-28 15:09:17 -07:00
Adam Powell
c82c7a5403 Fix bug 5067075 - missing scrollbar when entering long signatures
Let DialogPreferences decide their own IME adjust mode as normal
rather than forcing adjustPan.

Change-Id: Ib53e9f648342430640469a0682308b056e7ef991
2011-08-28 14:36:05 -07:00
Adam Powell
4d94a5b421 am 441cc7db: Merge "Accessibility fixes for action bars"
* commit '441cc7dba318127ffd2f38e5c5d7993fb4326e03':
  Accessibility fixes for action bars
2011-08-26 19:33:59 -07:00
Adam Powell
441cc7dba3 Merge "Accessibility fixes for action bars" 2011-08-26 19:32:09 -07:00
Romain Guy
527c20595b am 3957a76d: Merge "ToggleButton could keep a reference to a previous drawable"
* commit '3957a76d7738ff6fd75bfeb41b04511eec79d488':
  ToggleButton could keep a reference to a previous drawable
2011-08-26 19:31:59 -07:00
Romain Guy
3957a76d77 Merge "ToggleButton could keep a reference to a previous drawable" 2011-08-26 19:30:08 -07:00
Adam Powell
7bc3ca0dc5 Accessibility fixes for action bars
Fix bug 5220543 - fix accessibility events for action buttons

Fix bug 5224260 - fix accessibility events for home/up

Change-Id: I7d55b4819862e1eda0809da92c52ec2d97f36af0
2011-08-26 18:31:47 -07:00