58108 Commits

Author SHA1 Message Date
Dianne Hackborn
e5ba16a7af Work on issue #5144065: Tap on Music icon from Home screen - a different app opens
When force stopping an app, when removing its activities also finish any
activities from other apps above it in the task.  This avoids some situations
where the task gets into a bad state where its root becomes a different app.

Change-Id: I79e5cd520ae321bec80adefd2ccc2b0370ace372
2011-09-09 14:48:13 -07:00
Ben Komalo
13c7197da8 Revert encryption mapping for device wipes.
External storage volumes that were emulated+encrypted needed to have
their encryption mapping removed so that it doesn't try to encrypt the
volume after formatting them.

This just wires through an argument through vold, and assumes that vold
will do the right thing even if there is no encryption mapping set.

Bug: 5017638
Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
2011-09-09 14:44:40 -07:00
Dianne Hackborn
ddb715b238 Pull animation attributes out of main view class.
These are now in a separate class that is only allocated when
needed by the view.

Change-Id: I9601bb43b3b4bfdabd982b02f7cd7534437b8ac3
2011-09-09 14:43:39 -07:00
Adam Powell
7c8375d652 Bug 5214224 - List item metrics
Base list item padding on the theme. Adjust stock framework list items
to obey this. Adjust text sizes in stock list items based on existing
theme attributes.

Change-Id: I98a441e5494fa1d1d34a5f05e525e54e8b0d78b9
2011-09-09 14:41:37 -07:00
Kazuhiro Ondo
b1a3f0ca4b Fix no data issue after system server crash
FW was checking "Radio Available" instead of "Radio On" when
broadcasting data availability. This was causing an issue in
a certain recovery case (system server restart/phone process
restart) where "Radio (modem) is available" but radio was
turned off.

This patch obsolete the use of mRadioAvailable attribute and
use RadioState from RIL directly to check if Radio is ON.

Bug:5077346
Change-Id: Ie7ac05e3d5e328e3d5303541ca41326754f309c1
2011-09-09 14:39:53 -07:00
Ben Murdoch
2376f8253f Relax form autocomplete conditions
Use the URL host and path rather than the complete url to store
form autocomplete data. This helps in the situation that a site
uses some dynamic query string on the page that contains the form.

Also set the autoocmplete threshold to 1 so that we don't flick the
autocomplete options up and down as you type the first few characters.

Bug: 5265606
Change-Id: I7b372400062ae34f70a78b786007910dc179b101
2011-09-09 22:38:39 +01:00
yoonsung.nam
90cfe5c366 am 37f770f0: DO NOT MERGE: Notify overall state instead of current changed state
* commit '37f770f03f975982fbe7a1f133e03724bd3dc81a':
  DO NOT MERGE: Notify overall state instead of current changed state
2011-09-09 14:33:33 -07:00
Dianne Hackborn
104f6a07c9 Merge "Fix issue #5273986: The power usage of the mp3 background playback..." 2011-09-09 14:28:05 -07:00
Irfan Sheriff
295da73f05 Disable p2p when airplane mode is turned on
Bug: 5286610
Change-Id: Ia895dfbf0d1bc39458f4a4d24595c862750eea38
2011-09-09 14:10:15 -07:00
Kazuhiro Ondo
52d51c42b6 am eb7763ef: DO NOT MERGE: Fix leak in SIM ready registrants
* commit 'eb7763efa52bad67ff828ad895ff172190e86035':
  DO NOT MERGE: Fix leak in SIM ready registrants
2011-09-09 13:55:13 -07:00
yoonsung.nam
37f770f03f DO NOT MERGE: Notify overall state instead of current changed state
TelephonyRegistry notifies wrong state thourgh onDataConnectionStateChanged().
As a result, browser works even though there is no data icon in status bar.
The issue is reproducible as following senario:
1. There are two connections.
2. Network type is changed and one of the connections is disconnected
at the same time.
3. TelephonyRegisitry notifies disconnect state to apps which are listening
PhoneStateLinstener.

Change-Id: Iac1e2b14e41715a63ea0d842cb44d232447e814a
Signed-off-by: yoonsung.nam <yoonsung.nam@samsung.com>
2011-09-09 13:51:08 -07:00
Peter Ng
d67ff5c41d Merge "list_dividers for xh are now 2pixels high." 2011-09-09 13:38:40 -07:00
James Dong
4a0c91fc50 Don't check mFilledBuffers whether it is empty or not when the port reconfiguration is not meant for buffer reallocation
Change-Id: Iee9b18449bce9d7565ab5cc7f9e999484051196c
related-to-bug: 5233843
2011-09-09 13:27:27 -07:00
Dianne Hackborn
9fe6cb5cc2 Fix issue #5273986: The power usage of the mp3 background playback...
...increased from ~50mA to 260mA

Change-Id: I24d7188185f4ec5ff9e1f29c15472ae56c851e5e
2011-09-09 13:02:43 -07:00
Kazuhiro Ondo
eb7763efa5 DO NOT MERGE: Fix leak in SIM ready registrants
SIM Ready registrants was keep growing after air plane mode
toggle or RIL recovery.

Bug: 5222722
Change-Id: Iac9fcb86f96f9e42440e641cd94736fed6f45813
2011-09-09 13:02:09 -07:00
Irfan Sheriff
998196d64d Finalize wifi watchdog default settings
- Reduce DNS counts from 15 to 5. 15 was for debug.
- Keep success scenario as atleast 1 being successful
- Wait for a second to start checks (for some setups)
- Use one bar as a start for doing periodic DNS checks
- Do a DNS check every hour (instead of half hour)

Bug: 5284337
Change-Id: Ie64d8cac48318a0c4c59f91ad21f8c6712b71338
2011-09-09 12:36:28 -07:00
Peter Ng
920d06db8d Merge "Updated CAB done assets" 2011-09-09 11:27:40 -07:00
Svetoslav Ganov
99e109915e Merge "The time and data pickers did not support IME editor action correctly." 2011-09-09 11:24:24 -07:00
Peter Ng
4618a53e38 list_dividers for xh are now 2pixels high.
-1px everywhere but xhdpi
-deleted no dpi
-changed holo_light #000 15%
-changed holo_dark #fff 10%

Change-Id: I1ee16bb21b80655d62b91a2b43b3740700463cc7
2011-09-09 11:23:50 -07:00
Svetoslav Ganov
5b60d38a8a Merge "Update the sharing UI according to latest UX specs." 2011-09-09 11:18:40 -07:00
Peter Ng
d64cb7d579 Updated CAB done assets
-removed cab background on press and focused

Change-Id: Ib93632955bbaa62497acc82079091019ba7991c3
2011-09-09 11:07:51 -07:00
Jeff Brown
1d50a2c068 Merge "Adjust layers for system overlays." 2011-09-09 11:06:25 -07:00
Brian Colonna
f731747745 Merge "Moved FaceLock bind/unbind calls inside of null check" 2011-09-09 10:52:09 -07:00
Daniel Sandler
99f6ecc2fd Merge "Show roaming icon in status bar." 2011-09-09 10:39:04 -07:00
Subir Jhanb
37f8b51b43 Merge "NPE check in the SyncStateContract BUG:5196483" 2011-09-09 10:36:09 -07:00
Ken Wakasa
758c787d7a Merge "Suppress "Automatic" subtype name in tablet's IME switcher panel" 2011-09-09 10:19:51 -07:00
Fred Quintana
7cbfa977ec Merge "Add a form of getAuthToken that both accepts an options Bundle and doesn't accepts an activity." 2011-09-09 09:52:45 -07:00
Peter Ng
a6f61c5c39 Merge "Status bar close dragdown resized to 32dp" 2011-09-09 09:52:05 -07:00
Ken Wakasa
bbf0b66ede Suppress "Automatic" subtype name in tablet's IME switcher panel
bug: 5282718
Change-Id: Ibecd6309eba9ac2fe173be7db4ba353e5821bd43
2011-09-10 01:47:49 +09:00
Brian Colonna
15ea55a6f1 Moved FaceLock bind/unbind calls inside of null check
- I am not sure under what circumstances mKeyguardView can be null in
  onScreenTurnedOn() and I never saw this behavior before the commit,
  but it can happen and prevent the device from booting

- Patched to fix line length

Change-Id: I39efa5c1d68158af5c108430036fe7c715ef855b
2011-09-09 11:53:36 -04:00
Marco Nelissen
02ea7d4877 Merge "Fix bug 5045498 Unhide Remote Control Client API" 2011-09-09 08:44:19 -07:00
Eric Laurent
ebf6478f55 Merge "Fix issue 4673378: switching from VoIP to GSM call" 2011-09-09 08:27:04 -07:00
Justin Ho
ce0027532d Merge "Add default videos for background replacement." 2011-09-09 07:49:40 -07:00
Ken Wakasa
8b83a72976 Fix a bug in InputMethodSubtype constructor
bug: 5249480

Change-Id: I707e45cc0606dae7824c478ab586fc24d3f417f8
2011-09-09 20:56:29 +09:00
Mathias Agopian
94d86daeb5 Merge "Fix another problem with refreshing the screen when switching to/from overlay" 2011-09-09 01:50:13 -07:00
Mathias Agopian
28706e3fbd Merge "Improve SF dumpsys output wrt HWC" 2011-09-09 01:50:01 -07:00
Mathias Agopian
0a5abdb316 Fix another problem with refreshing the screen when switching to/from overlay
the previous fix was incorrect. See comment in setupHardwareComposer for
full explanations.

Change-Id: Ib24a9af000b8f95cf7319f9272d34997064ceb6d
2011-09-09 01:47:48 -07:00
Jim Miller
4f4ed38a88 Merge "Fix 5185505: Add support for weak biometric sensors to lockscreen." 2011-09-09 00:58:01 -07:00
Jim Miller
6edf2637e9 Fix 5185505: Add support for weak biometric sensors to lockscreen.
Added binder interfaces to the framework.

Change-Id: I7d55b45baa4d1600ebd2a3828e85c3357cfcfb58
2011-09-09 00:53:02 -07:00
Mathias Agopian
5bd1b2794b Improve SF dumpsys output wrt HWC
Change-Id: Ibdb7930fa3b521bfd3f44750ed98cfd75f9a01fe
2011-09-09 00:49:44 -07:00
Chih-Chung Chang
fa720d3015 Merge "Fix 5278371: OOM in MediaItemThumbnailTest" 2011-09-08 23:38:44 -07:00
Chih-Chung Chang
a18886ca08 Fix 5278371: OOM in MediaItemThumbnailTest
Because we request 400x240 thumbnails. 100 thumbnails needs 38M,
which is too much. Change it to 70 now.

Also handle the case if the thumbnail callback throws exception.

Change-Id: Iac4ee72f308b7c7a6ae860983197601cf89bee8f
2011-09-09 13:58:59 +08:00
Mathias Agopian
6b77231bcc Merge "Fix an issue is SF that caused drawing artifacts when hwc changed mode" 2011-09-08 22:46:25 -07:00
Mathias Agopian
4bacc9dc67 Fix an issue is SF that caused drawing artifacts when hwc changed mode
we were not redrawing and/or clearing the FB properly when
hwc moved a layer from/to FB to/from OVERLAY.

In these cases we needed to expand the dirty region to include
the layer that changed mode.

Also split composeSurfaces() which was becoming quite large.

Change-Id: Id6fa1acfc4ff694037fddf7efd037a4405732073
2011-09-08 22:43:01 -07:00
Michael Jurka
6c0d41a4ea Merge "Fix FrameLayout padding when foreground drawable is set" 2011-09-08 20:56:35 -07:00
Michael Jurka
02473da2b0 Fix FrameLayout padding when foreground drawable is set
The padding of the foreground drawable was being added to the padding that already existed, even if the foreground drawable was drawing within the padded region. This was preventing having a foreground drawable and a background drawable set on a FrameLayout that overlapped perfectly.

Change-Id: I355ff9323fb49afc5816f47ec9e257e0ff849861
2011-09-08 20:39:16 -07:00
Michael Jurka
6f90f2a1aa Merge "Updated Recent Apps visuals" 2011-09-08 20:36:54 -07:00
Peter Ng
02038e3cbb Updated Recent Apps visuals
-added padding to portrait and landscape layout recent item
-updated drawable stroke on press and drag

Change-Id: I98e0073f5fba6d13f041871337e4dc534bbc1460
2011-09-08 20:35:19 -07:00
Svetoslav Ganov
a53efe9923 The time and data pickers did not support IME editor action correctly.
1. Updated TextView to traverse all focusable items. It was searching focus
   down and up and was missing right and left focusabled. Updated the focus
   seach to use FOCUS_FORWARD and FOCUS_BACKWARD - now all focusable views
   are visited.

2. TimePicker and DatePicker were not specifying the IME options for
   the next and done editor actions.

bug:5264046

Change-Id: Ief80863fc312582f2f76928bf6e915f620c427e5
2011-09-08 20:19:48 -07:00
Neal Nguyen
fbfe6d971d Fixing DownloadManager Test app.
The skip notification version of waitForDownloadOrTimeout wasn't actually
skipping the DownloadManager notification check.

Change-Id: Iee42d9c67e63c9dc45ef5aad8ada7d34c31eeb60
2011-09-08 20:05:32 -07:00