33824 Commits

Author SHA1 Message Date
Romain Guy
03ad783c50 Merge "Cleanup of libhwui" into jb-mr1-dev 2012-08-07 11:59:39 -07:00
Elliott Hughes
be53bae9c9 Merge "Switch DateUtils and Time over to using the CLDR for all week and month names." 2012-08-07 11:54:23 -07:00
Dianne Hackborn
ee8e74a005 am 6eff50de: am a4191505: Merge "Add power menu action to take a bug report" into jb-mr1-dev
* commit '6eff50de8172976c85e7cc1ca06ac398a2d6f367':
  Add power menu action to take a bug report
2012-08-07 11:51:11 -07:00
Dianne Hackborn
a419150573 Merge "Add power menu action to take a bug report" into jb-mr1-dev 2012-08-07 11:45:47 -07:00
Dianne Hackborn
5773bfdb7c Add power menu action to take a bug report
Change-Id: I5f58d99e9a27a1fc496fa54e0c0ee333087155da
2012-08-07 11:42:09 -07:00
Nick Kralevich
f097b16cfd Content Providers: change default for android:exported
Change the default value of android:exported to true
for applications which target a newer API version.
This will help stop inadvertent content provider
exposure to untrusted apps.

Bug: 3306452

Change-Id: I8cb34e823aef9551319951ce92217345c54cee63
2012-08-07 11:34:00 -07:00
Romain Guy
17112ad8a2 Cleanup of libhwui
Change-Id: Ib7f5771548462c00027a8ad57badfb68c50644f9
2012-08-07 11:25:15 -07:00
Mikhail Naganov
1202d66f78 Implement WebSettings.{get|set}TextSize via {get|set}TextZoom.
TextSize is deprecated, so we wouldn't expect from WebViewProvider
implementations to re-implement it in some other way than Android WebView does
it. This also makes recently added TextSize.getValue method redundant.

Change-Id: Ia9d0c743424be0727be6d5df6c7da30514d621b7
2012-08-07 18:26:52 +01:00
Mikhail Naganov
690c6b1925 Remove unused BROWSER_TEXT_SIZE_CHANGE log event.
It turns out that the BROWSER_TEXT_SIZE_CHANGE event isn't listed
in google3/wireless/android/production/checkin_config/root,
which means that statistics on it isn't collected, so the logging
statement doesn't have any useful effect and can be removed to
simplify code.

Change-Id: I66d694cdb13e677bb979f5e962ed2cc8d743bdec
2012-08-07 18:16:17 +01:00
Nick Kralevich
530db7a0d3 am 2989c7f0: am b1f938c1: Merge "Show more info when a testcase fails." into jb-mr1-dev
* commit '2989c7f0dddc46577f745fce4aefc454dd81f917':
  Show more info when a testcase fails.
2012-08-07 08:47:51 -07:00
Nick Kralevich
b1f938c1c1 Merge "Show more info when a testcase fails." into jb-mr1-dev 2012-08-07 08:42:49 -07:00
Svetoslav Ganov
071efcac33 am 53efd9da: am 85b1041f: Merge "Window position not reported if the window is not moved." into jb-mr1-dev
* commit '53efd9dac8b85e0dff484293c15d802655fd9d1c':
  Window position not reported if the window is not moved.
2012-08-06 23:56:33 -07:00
Svetoslav Ganov
85b1041f89 Merge "Window position not reported if the window is not moved." into jb-mr1-dev 2012-08-06 23:51:36 -07:00
Svetoslav Ganov
758143ecfe Window position not reported if the window is not moved.
1.If a window is shown but never moved the window window
  is never notified for its current location. Therefore,
  accessibility nodes do not contain correct bounds in
  screen coordinates.

bug:6926295

Change-Id: I7df18b095d33ecafffced75aba9e4f4693b0c393
2012-08-06 23:49:38 -07:00
Ganesh Ganapathi Batta
6f6c54519a Auto connection/disconnection related changes
Remove ACTION_CONNECT_OTHER_PROFILES as it is no longer used
Allow only PRIORITY_ON and PRIORTY_OFF  as priority params for SetPriority()
API in BluetoothA2DP and BluetoothHeadset
BluetoothPBAP: Pass on proxy object as part of Service Connected callback

Change-Id: Ida00fc2b7d1dcb91b01f7ddd2cea482367a3b334
2012-08-06 23:24:26 -07:00
Elliott Hughes
99c406e42b Switch DateUtils and Time over to using the CLDR for all week and month names.
Change-Id: I92c73c269c6f90125cf834d434883595ba4b42d4
2012-08-06 19:41:22 -07:00
Scott Main
40eee61e25 docs: fix broken links
and update sitemap text file

Change-Id: I6982c3f029c46135ae856b8484d906c2882bad3a
2012-08-06 18:04:23 -07:00
Adam Powell
6ab17ad40a am 51c6ae52: am ecbbfdd3: Merge "Make ActionBar fail more cleanly when invalid heights are set" into jb-mr1-dev
* commit '51c6ae52222240d300095f95518c4d20061d9eda':
  Make ActionBar fail more cleanly when invalid heights are set
2012-08-06 17:09:58 -07:00
Adam Powell
ecbbfdd3bf Merge "Make ActionBar fail more cleanly when invalid heights are set" into jb-mr1-dev 2012-08-06 17:04:24 -07:00
Adam Powell
570470a332 Make ActionBar fail more cleanly when invalid heights are set
Also add "none" flag value for null displayOptions in xml

Change-Id: Ided3433638f02ba2a18ce08db265d7a8ac4f216c
2012-08-06 17:00:17 -07:00
Ashish Sharma
47925232ec Merge "Setup idletimer for network interface." 2012-08-06 16:22:04 -07:00
Scott Main
819ca9768b am 09ec6aba: am 1398102c: am bd24f5cc: am 53b0fda5: misc doc bugs. Fix sdk samples path Fix method signature in fragment doc code snippet Fix typo in a11y javadoc code snippet Fix markup error in brands page Fix markup error on content providers doc Fix typo on about
* commit '09ec6aba00d15bc19a92303d0ed181d0eef4bfc6':
  misc doc bugs. Fix sdk samples path Fix method signature in fragment doc code snippet Fix typo in a11y javadoc  code snippet Fix markup error in brands page Fix markup error on content providers doc Fix typo on about>start page
2012-08-06 16:01:51 -07:00
Scott Main
1398102c35 am bd24f5cc: am 53b0fda5: misc doc bugs. Fix sdk samples path Fix method signature in fragment doc code snippet Fix typo in a11y javadoc code snippet Fix markup error in brands page Fix markup error on content providers doc Fix typo on about>start page
* commit 'bd24f5cca5e51ba0e819f943b981cf2e9f64ec46':
  misc doc bugs. Fix sdk samples path Fix method signature in fragment doc code snippet Fix typo in a11y javadoc  code snippet Fix markup error in brands page Fix markup error on content providers doc Fix typo on about>start page
2012-08-06 15:57:53 -07:00
Scott Main
bd24f5cca5 am 53b0fda5: misc doc bugs. Fix sdk samples path Fix method signature in fragment doc code snippet Fix typo in a11y javadoc code snippet Fix markup error in brands page Fix markup error on content providers doc Fix typo on about>start page
* commit '53b0fda5fd7c532fc1d93abd5f8a85276821cc6d':
  misc doc bugs. Fix sdk samples path Fix method signature in fragment doc code snippet Fix typo in a11y javadoc  code snippet Fix markup error in brands page Fix markup error on content providers doc Fix typo on about>start page
2012-08-06 15:48:08 -07:00
Scott Main
53b0fda5fd misc doc bugs.
Fix sdk samples path
Fix method signature in fragment doc code snippet
Fix typo in a11y javadoc  code snippet
Fix markup error in brands page
Fix markup error on content providers doc
Fix typo on about>start page

Change-Id: Ie2a528dd4fbd19e5cb1c0844f6fc6272669c8ab9
2012-08-06 15:43:01 -07:00
Romain Guy
ec40b29ca0 am 3dfb4a1a: am 8c654e09: Merge "Add new debug tool to track hardware layers updates" into jb-mr1-dev
* commit '3dfb4a1a7977eb61acf28d64bdca9659e786c774':
  Add new debug tool to track hardware layers updates
2012-08-06 14:56:05 -07:00
Romain Guy
8c654e0934 Merge "Add new debug tool to track hardware layers updates" into jb-mr1-dev 2012-08-06 14:52:41 -07:00
Romain Guy
4ff0cf4b83 Add new debug tool to track hardware layers updates
You can setprop debug.hwui.show_layers_updates true to flash
hw layers in green when they update. This is also a setting
in the Dev. section of the settings app.

Change-Id: Ibe1d63a4f81567dc1d590c9b088d2e7505df8abf
2012-08-06 14:51:10 -07:00
Jeff Sharkey
088f29f55e Cleaner controls between Vpn and init services.
Change-Id: I35edf054f4a1190f7fb7b4c48ee832e899c9528b
2012-08-06 14:48:49 -07:00
Haoyu Bai
f71ca8a572 Setup idletimer for network interface.
Change-Id: I1251b60f4c3c31c75c2acd531495ca75bbb35ff5
2012-08-06 14:27:55 -07:00
Nick Kralevich
ff92aa74c1 Show more info when a testcase fails.
Change-Id: I5aa6967981824f3291daef915453fe7420cfed9e
2012-08-06 13:54:05 -07:00
Jeff Sharkey
3d403aacd4 am a51e444e: am 4e4306ab: Merge "Include network type that caused broadcast." into jb-mr1-dev
* commit 'a51e444ed44baa39564d066e78a0650bfd57ccea':
  Include network type that caused broadcast.
2012-08-06 13:44:53 -07:00
Jeff Sharkey
4e4306ab14 Merge "Include network type that caused broadcast." into jb-mr1-dev 2012-08-06 13:40:44 -07:00
Jeff Sharkey
75fbb4bdfd Include network type that caused broadcast.
Network type can be obtained through EXTRA_NETWORK_INFO, but offer
it as first-class extra since the returned NetworkInfo is deprecated.

Bug: 6936247
Change-Id: Ief59577afd2bd930f0f4c5650b413feef86bfbc3
2012-08-06 11:45:01 -07:00
Elliott Hughes
db9d339d4b Merge "Use ICU's CLDR data for "AM" and "PM" strings." 2012-08-06 09:40:32 -07:00
Chuanxia Dong
6614bb6579 StorageManager: fix issue that GREF has increased to 2011 in system server with intel stress test.
Issue description:
When run ICS stress test, always meet GREF issue. one of contributor is MountService$MountServiceBinderListener.
log info
19:21:11.609   222 24316 W dalvikvm:        24 of com.android.server.am.ActivityManagerService$AppDeathRecipient (24 unique instances)
19:21:11.609   222 24316 W dalvikvm:       479 of com.android.server.MountService$MountServiceBinderListener (479 unique instances)
19:21:11.619   222 24316 W dalvikvm:         7 of com.android.server.accessibility.AccessibilityManagerService$6 (7 unique instances)
Note: PID 222 is system server.

Issue alaysis:
Everyone can call getSystemService(Context.STORAGE_SERVICE) to get service.
When other service get StorageManager, StorageManager will new MountServiceBinderLister and
register a listener in MountService, which won't be unregistered. It's easy to generate a lot of
instance of unused MountService$MountServiceBinderListener in system server.

Issue fix:
So change the policy to be:
1. Doesn't new MountServiceBinderLister in construction.
2. when other service needs to register listener in StorageManager,
StorageManager will register listener with MountService.
3. When other service needs to unregister listener in StorageManager,
if there is no more other listeners in StorageManager, StorageManager
will unregister listener in MountService.

Change-Id: Iaaf889f44a1a5f62b9f65b3ab1b486c9b7dcaf7f
Author: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare  <bruce.j.beare@intel.com>
2012-08-06 14:53:17 +08:00
Jeff Sharkey
cbc1a8c40f am 5d945958: am 9c5c6595: Merge "Make LocalSocket Closeable." into jb-mr1-dev
* commit '5d94595889071d84b6d0b6517656f298a4153a09':
  Make LocalSocket Closeable.
2012-08-05 14:59:41 -07:00
Jeff Sharkey
9c5c659597 Merge "Make LocalSocket Closeable." into jb-mr1-dev 2012-08-05 14:55:28 -07:00
Jeff Sharkey
065b299df4 Make LocalSocket Closeable.
Enables usage of IoUtils.closeQuietly().

Change-Id: I91126297c1f235ae9da09f82d8f4f22db46558eb
2012-08-05 14:21:07 -07:00
Raph Levien
9d5bcfe69b am d7306c05: am b79413e9: Merge "Fix bug 6930875: ArrayIndexOutOfBoundsException on Battery details" into jb-mr1-dev
* commit 'd7306c05b28438f78478049d7c44d96e278eced4':
  Fix bug 6930875: ArrayIndexOutOfBoundsException on Battery details
2012-08-03 18:05:41 -07:00
Raph Levien
b79413e92d Merge "Fix bug 6930875: ArrayIndexOutOfBoundsException on Battery details" into jb-mr1-dev 2012-08-03 18:00:53 -07:00
Dianne Hackborn
c5f61b7325 am e1fdc79b: am 2e5746a7: Merge "We can now (kind-of) change screen density on the fly." into jb-mr1-dev
* commit 'e1fdc79ba2ab32bb084b193d187df1fa8b769e86':
  We can now (kind-of) change screen density on the fly.
2012-08-03 17:50:57 -07:00
Dianne Hackborn
2e5746a7a8 Merge "We can now (kind-of) change screen density on the fly." into jb-mr1-dev 2012-08-03 17:45:52 -07:00
Dianne Hackborn
dde331cebd We can now (kind-of) change screen density on the fly.
Preloaded drawables now have a density associated with them, so we
can load the correct drawable if we are using a different density.

Window manager now formally keeps track of the density for each
screen, allowing it to be overridden like you can already do with
size, and relies on this density to drive itself internally and
the configurations it reports.

There are a new set of Bitmap constructors where you provide a
DisplayMetrics so they can be constructed with the correct density.
(This will be for when you can have different windows in the same
app running at different densities.)

ActivityThread now watches for density changes, and pushes them
to the DENSITY_DEVICE and Bitmap global density values for that
process.

A new am command allows you to change the density.
2012-08-03 17:27:29 -07:00
Romain Guy
357a4e87c1 am 06a2680b: am c0921191: Use correct color for default holo gradient
* commit '06a2680bd7d33047bc71f166c8f18bfb7443e22e':
  Use correct color for default holo gradient
2012-08-03 17:26:55 -07:00
Romain Guy
c09211911c Use correct color for default holo gradient
Change-Id: I7976c8d986da69dd312fe28cc6d88fc896bdf926
2012-08-03 17:21:04 -07:00
Romain Guy
2e902bc148 am 52a42219: am 5e80cacf: Replace stretched background textures with real gradients
* commit '52a42219fd285b56769f493902a5e4fced5b5d33':
  Replace stretched background textures with real gradients
2012-08-03 16:26:03 -07:00
Romain Guy
5e80cacfad Replace stretched background textures with real gradients
Change-Id: I320733aaef191318d32fa823d9a6140585f49417
2012-08-03 16:17:14 -07:00
Chiao Cheng
509e1f1a97 Adding limit and offset query parameters to CallLog.
Allows clients to paginate through call logs.

Change-Id: Icdd796f990ccf25f5f5e2183412e5391f4572add
2012-08-03 15:19:37 -07:00
Raph Levien
4c7a4a7767 Fix bug 6930875: ArrayIndexOutOfBoundsException on Battery details
The wrong constant was used to count the number of user activity types.
The number of types changed recently, so before then nothing bad
happened. Now we get an AIOOB.

This is the change to NUM_USER_ACTIVITY_TYPES:

Change-Id: I05045180129b30fa09fe5f5e1e3b0ac25fee23b4
https://googleplex-android-review.googlesource.com/#/c/211982/
2012-08-03 14:37:15 -07:00