1402 Commits

Author SHA1 Message Date
Dianne Hackborn
d94df45b3d Rework thumbnail API to not suffer from IPC failures.
Thumbnails are now requested separately, so we don't exceed the
IPC buffer size limit.

Also implement issue #3349553: Please provide a hook to intercept
fragment-breadcrumb clicks

And maybe fix issue #3439199: Music Notification does not turn on
when app switching out of Music app

Change-Id: Ie939e78cc8ded07b18112760e053185947549f61
2011-02-16 18:53:31 -08:00
Daniel Sandler
439f5c6b39 Merge "Fix NPE." 2011-02-16 11:32:39 -08:00
Eric Fischer
aebe3dfe61 am 874ae43c: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit '874ae43ce1c7fc1fe6c1423b581757fe14edce6e':
  Import revised translations.  DO NOT MERGE
2011-02-16 10:38:11 -08:00
Eric Fischer
abe92da72f Import revised translations. DO NOT MERGE
Change-Id: Id7d999bfc9d422292aa81d5a8c579840e9cc1438
2011-02-16 10:18:37 -08:00
Daniel Sandler
bec7d63c9c Fix NPE.
I believe this is the result of a race condition involving multiple tickers under load. The fix simply guards against the null pointer.

Bug: 3448450
Change-Id: Icc78c89890f0a41c574f7077b1b450e9fd4ca28b
2011-02-15 14:24:58 -05:00
satok
e2a50b9c2e Add the Id of InputMethodInfo at the tail of Application label at sorting InputMethods
Change-Id: I632a715e94712b4f2197d5981b691d49a9de89f2
2011-02-15 17:50:50 +09:00
Eric Fischer
3537011651 Import revised translations. DO NOT MERGE
Change-Id: If134b2db7449d3646541fc83e8973938926fb481
2011-02-14 17:21:02 -08:00
Jim Miller
55e26aa150 Fix 3423212: Constrain large app icons to 64x64 in recents.
Change-Id: I3400632b6aec97edad29455961a700db2acea099
2011-02-14 15:52:09 -08:00
Daniel Sandler
c1afcf06f8 Put the pocket back in my pocket for later.
Change-Id: Ifa6b540abede35ba92ab6721274655aef1458fbc
2011-02-10 11:53:29 -05:00
Daniel Sandler
1cfe753017 Bringing back the pocket.
Bug: 3203179
Change-Id: Ic1513ae9cbc502e328bcf484f83198f2c12102a2
2011-02-08 16:33:07 -05:00
Eric Fischer
1e09ca2a1f am c7bece13: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit 'c7bece13495949db1736263a7cf5cf67c6165c51':
  Import revised translations.  DO NOT MERGE
2011-02-08 10:40:47 -08:00
Eric Fischer
7dd2196e8b Import revised translations. DO NOT MERGE
Change-Id: Icb56518620be62481ed0d152f7eb9ab44d6f759d
2011-02-07 17:19:23 -08:00
Joe Onorato
91445d73e0 am 3162211b: am 2742c9c2: am 163c28b5: Merge "Managed dialogs should run on the same thread as their activity." into gingerbread
* commit '3162211bc78c98836f0c9d76a8e94741e4255bed':
  Managed dialogs should run on the same thread as their activity.
2011-02-07 13:43:50 -08:00
Romain Guy
e28d3e1c41 am 7846d403: am 1c0ab385: Merge "Open the location settings when clicking the GPS notification." into honeycomb
* commit '7846d4039ffa42583021152863c245eedcf0d46a':
  Open the location settings when clicking the GPS notification.
2011-02-07 13:42:23 -08:00
Mike Cleron
85cabc2eb3 am 9cfa9c7a: am f6141980: Merge changes I46acd27a,I70b322e1 into honeycomb
* commit '9cfa9c7a3f5f23dec6ef4575407c1076d1b3c479':
  aa is better than cc
  Prevent ProgressBar from slowing down everything. bug #3422568
2011-02-07 13:41:21 -08:00
Daniel Sandler
32cd1d5053 resolved conflicts for merge of 31796297 to master
Change-Id: Ice632b3378f8f67c186245fdb63b022ade864ba1
2011-02-07 16:12:16 -05:00
Justin Ho
6da8239f5e am a9b9f9c8: am b3e00457: Merge "Updated notification area layout Bumping clock up 1px Swapping in new Bluetooth icons" into honeycomb
* commit 'a9b9f9c816b2dac559cd06a756587f92e6f2215c':
  Updated notification area layout Bumping clock up 1px Swapping in new Bluetooth icons
2011-02-07 11:37:48 -08:00
Andy Stadler
76324fcabe Fix warnings
* wrong package vs. file path (this was an error in eclipse)
* unused imports
* unused variables (at least for now)

Change-Id: Ic316e7e8586f75df5a048e98a21a65abf777deda
2011-02-04 12:50:09 -08:00
Joe Onorato
3162211bc7 am 2742c9c2: am 163c28b5: Merge "Managed dialogs should run on the same thread as their activity." into gingerbread
* commit '2742c9c2c640b6593321a0c5d56c8ba09ed58cc5':
  Managed dialogs should run on the same thread as their activity.
2011-02-04 10:15:37 -08:00
Romain Guy
e5e764ad0b Open the location settings when clicking the GPS notification.
Change-Id: I4203d75b7d18ab61f1f8e77452440bdc47161a10
2011-02-03 23:58:21 -08:00
Mike Cleron
f6141980c8 Merge changes I46acd27a,I70b322e1 into honeycomb
* changes:
  aa is better than cc
  Prevent ProgressBar from slowing down everything. bug #3422568
2011-02-03 21:17:09 -08:00
Daniel Sandler
4ad2547fe0 Merge "Ongoing notification for GPS use." into honeycomb 2011-02-03 20:49:10 -08:00
Romain Guy
e28b430486 aa is better than cc
Bug:
Change-Id: I46acd27ae0fe93d9dc15aa1d3eeb06c1b344fada
2011-02-03 19:26:57 -08:00
Daniel Sandler
e40451a89d Ongoing notification for GPS use.
This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.

The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).

Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).

Bug: 3412807

Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
2011-02-03 21:11:46 -05:00
Joe Onorato
c7f8b6fcf5 Managed dialogs should run on the same thread as their activity.
Bug: 3418998
Change-Id: I9b1cf73f9d6f8a5594f405546fcaa3cfd6f03c45
2011-02-03 17:50:02 -08:00
Daniel Sandler
8cd46b577b am 63944f6c: am 2243cca4: Merge "Time to take down the Christmas lights." into honeycomb
* commit '63944f6c38090e263d824d9c4a074d2baf13a21c':
  Time to take down the Christmas lights.
2011-02-03 17:19:16 -08:00
Eric Laurent
2e8fbebff4 am 6f1bd261: am 9c0a1003: Merge "Fix issue 3371080" into honeycomb
* commit '6f1bd261b7fd86ac7817ca061dfb55b95150b836':
  Fix issue 3371080
2011-02-03 17:18:46 -08:00
Daniel Sandler
589a6a3355 am 62362af8: am 81034187: Merge "Move the low battery sound to the notification stream." into honeycomb
* commit '62362af8f93a44147e27a43c56d3c8da22ae1864':
  Move the low battery sound to the notification stream.
2011-02-03 17:18:23 -08:00
Daniel Sandler
4dce4fc8ea am a2e82d4c: am 6f922cbe: Merge "Implement priority ordering in notifications." into honeycomb
* commit 'a2e82d4c69bc25eb9f262be0efb4bd38695c4f86':
  Implement priority ordering in notifications.
2011-02-03 17:16:54 -08:00
Joe Onorato
247c0c1bba am 020c021c: am e9dea7b7: Merge "Add a bluetooth icon and data direction to the status bar." into honeycomb
* commit '020c021c62f804ed08d89a3a38457a002184158e':
  Add a bluetooth icon and data direction to the status bar.
2011-02-03 17:16:31 -08:00
Justin Ho
de9fa2cfe0 am a29acdfb: am 1cee14f1: Merge "System bar tweaks" into honeycomb
* commit 'a29acdfb8a3c9812718ead057f77ef5dbd508682':
  System bar tweaks
2011-02-03 17:15:33 -08:00
Justin Ho
ba6d8ac50a Updated notification area layout
Bumping clock up 1px
Swapping in new Bluetooth icons

Change-Id: Ib98f402889478121860633ffdb490c422218889e
2011-02-03 16:32:48 -08:00
Daniel Sandler
2243cca40c Merge "Time to take down the Christmas lights." into honeycomb 2011-02-03 10:33:51 -08:00
Daniel Sandler
8053b55f5b Time to take down the Christmas lights.
Bug: 3420764
Change-Id: Ie76341f165f8232efdcc90af66776751117b443a
2011-02-03 13:26:12 -05:00
Eric Laurent
9c0a1003bd Merge "Fix issue 3371080" into honeycomb 2011-02-03 10:26:05 -08:00
Eric Laurent
25101b0b9a Fix issue 3371080
Modified default volume control logic in AudioService:
1 IN_CALL volume if in video/audio chat
2 NOTIFICATION if notification is playing or was playing less than 5s ago.
3 MUSIC

Modified silent mode:
- now also affect MUSIC stream type
- entering silent mode when VOL- hard key is pressed once while selected
stream volume is already at 0 (except for VOICE_CALL stream).
- exiting silent mode when pressing VOL+ hard key while in silent mode

Play sound FX (audible selections, keyboard clicks) at a fixed volume.

Modified audio framework:
- isStreamActive() method now implemented in AudioPolicyManagerBase (previously AudioFlinger)
- iStreamActive() now specifies a time window during which the stream is considered
active after it actually stopped.

Change-Id: I7e5a0724099450b9fc90825224180ac97322785f
2011-02-03 09:26:24 -08:00
Daniel Sandler
d57c8d93c0 Move the low battery sound to the notification stream.
This will allow its volume to be governed by the user's chosen
notification volume.

Bug: 3409396
Change-Id: I1bc59fd76f4b5250beac530b2711dd59d79b5384
2011-02-03 12:14:34 -05:00
Daniel Sandler
a31e4190cb Implement priority ordering in notifications.
Ongoings are the only notifications currently given higher
priority (and it's in an internal data structure, not a
public API, so fear not about abuse---this will be no worse
than on the phone where ongoings floated to the top).

The only thing left is to give privileged customers a way to
alter the priority of their notifications.

Bug: 3412807
Bug: 3146719
Change-Id: I9e738cc413982845cf4858faa8ccd0a7dbf3187c
2011-02-03 01:01:20 -05:00
Joe Onorato
e9dea7b735 Merge "Add a bluetooth icon and data direction to the status bar." into honeycomb 2011-02-02 21:22:49 -08:00
Joe Onorato
fce2bf3735 Add a bluetooth icon and data direction to the status bar.
Bug: 3354414
Change-Id: I21cc9a2597e3b22bc5860a042d8a8cc4e93ca5b3
2011-02-02 21:14:17 -08:00
Justin Ho
1cee14f154 Merge "System bar tweaks" into honeycomb 2011-02-02 18:47:53 -08:00
Justin Ho
6301e12415 System bar tweaks
Adjusted brightness of clock and notification icons
Adding padding on right of battery indicator to 16dips to match mocks
Updated Home/Recent/Back buttons to match new brightness values
Bug: 3362749

Change-Id: I12b45b2b90b417da8d51630ca4682a3f1375774c
2011-02-02 18:21:33 -08:00
Paul Westbrook
7759e9217f am 59927ce5: am 8b805ddc: Merge "Enable retrieving default download manager settings" into honeycomb
* commit '59927ce5ce34b6b26e6410102b3580cc6b4e1335':
  Enable retrieving default download manager settings
2011-02-01 15:12:46 -08:00
Paul Westbrook
d99d0dc43a Enable retrieving default download manager settings
Enable retrieving the default download manager settings from
a resource, when the SettingsProvider database is created

The default setting for these values is -1, which will cause
DownloadManger to not enforce a limit.

Bug: 3341145
Change-Id: I25294d0f75fb0bdf20d4bef54457056c25c31add
2011-02-01 14:36:24 -08:00
Joe Onorato
bf86edaad9 am ba426a7e: am 8f4fe8fe: Merge "When the data flows, the icon glows." into honeycomb
* commit 'ba426a7e86fa958c1536c58a71ca9bb2c6e79479':
  When the data flows, the icon glows.
2011-02-01 13:25:12 -08:00
Justin Ho
65a6c48235 am fdfde68f: am aece15a8: Merge "Updated notification panel alpha" into honeycomb
* commit 'fdfde68fc22d40711f6e99883e64253e1a305372':
  Updated notification panel alpha
2011-02-01 10:09:38 -08:00
Tadashi G. Takaoka
87793907c4 am aa9082bc: am 2a7ade6d: Merge "Update hard keyboard status on closing input methods panel" into honeycomb
* commit 'aa9082bc799fd3d61a80d0bc95b0452100a3dca4':
  Update hard keyboard status on closing input methods panel
2011-02-01 10:09:21 -08:00
Joe Onorato
8f4fe8fe17 Merge "When the data flows, the icon glows." into honeycomb 2011-01-31 22:16:02 -08:00
Joe Onorato
c198bb1db8 When the data flows, the icon glows.
Bug: 3354414
Change-Id: I1734c8f63d02731d7194364ce7cb692d6de820ac
2011-01-31 20:28:59 -08:00
Justin Ho
1ea4840437 am 35af96c7: am 90a9ab56: Merge "Updating notification title close asset" into honeycomb
* commit '35af96c75b9530aa9a2c6d950536685c6774ddad':
  Updating notification title close asset
2011-01-31 18:38:12 -08:00