Dianne Hackborn
c9421ba1f4
Fix issue #2492387 : system server crash in WallpaperManagerService
...
Also move some of the important framework error logs over to Slog.
Change-Id: If6697c3e4f18498612ebd7b0e4e4f042fd713372
2010-03-11 22:23:46 -08:00
Kenny Root
2fe4c096ef
Merge "Add correct copyright headers to multiple files"
2010-03-11 21:23:51 -08:00
Marc Blank
3ba8324e7a
Merge "Add ORGANIZER_CAN_RESPOND to Calendars column"
2010-03-11 20:32:26 -08:00
Marc Blank
7f355e43b1
Add ORGANIZER_CAN_RESPOND to Calendars column
...
Change-Id: I6c3030772fb769546175a024804f8cd2debfd98c
2010-03-11 20:27:54 -08:00
Adam Powell
db0047a8b3
Merge "Tame some monkeys"
2010-03-11 20:16:36 -08:00
Ray Chen
eff8dae0a9
Merge "Add GPSProcessingMethod tag to ExifInterface."
2010-03-11 19:54:52 -08:00
Kenny Root
15a4d2ffd0
Add correct copyright headers to multiple files
...
Format for the list of changes shows the origin commit reference followed
by the file name.
33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java
33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java
133776-p9 core/java/android/app/IntentService.java
127013-p9 core/java/android/appwidget/AppWidgetHost.java
27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java
60765-p9 core/java/android/content/SyncResult.java
43920-p9 core/java/android/content/pm/ActivityInfo.java
43920-p9 core/java/android/content/pm/ApplicationInfo.java
43920-p9 core/java/android/content/pm/InstrumentationInfo.java
43920-p9 core/java/android/content/pm/PackageInfo.java
44103-p9 core/java/android/content/pm/PackageItemInfo.java
68960-p9 core/java/android/content/pm/PackageStats.java
43920-p9 core/java/android/content/pm/ResolveInfo.java
43920-p9 core/java/android/content/pm/ServiceInfo.java
60641-p9 core/java/android/content/res/Configuration.java
60734-p9 core/java/android/content/res/TypedArray.java
137672-p9 core/java/android/inputmethodservice/ExtractButton.java
123112-p9 core/java/android/inputmethodservice/ExtractEditText.java
119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java
112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java
115078-p9 core/java/android/os/BatteryStats.java
124790-p9 core/java/android/text/style/UpdateAppearance.java
45083-p9 core/java/android/view/RawInputEvent.java
101491-p9 core/java/android/view/inputmethod/EditorInfo.java
114701-p9 core/java/android/view/inputmethod/ExtractedText.java
123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java
119291-p9 core/java/com/android/internal/os/HandlerCaller.java
129279-p9 core/java/com/android/internal/os/PkgUsageStats.java
114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java
114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java
84364-p9 opengl/java/android/opengl/EGLLogWrapper.java
11355-p9 opengl/tools/glgen/src/CFunc.java
11355-p9 opengl/tools/glgen/src/CType.java
11355-p9 opengl/tools/glgen/src/CodeEmitter.java
11355-p9 opengl/tools/glgen/src/GenerateGL.java
11355-p9 opengl/tools/glgen/src/JFunc.java
11355-p9 opengl/tools/glgen/src/JType.java
11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java
11355-p9 opengl/tools/glgen/src/ParameterChecker.java
57236-p9 services/java/com/android/server/status/AnimatedImageView.java
66754-p9 services/java/com/android/server/status/CloseDragHandle.java
57188-p9 services/java/com/android/server/status/DateView.java
46928-p9 services/java/com/android/server/status/ExpandedView.java
70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java
45968-p9 services/java/com/android/server/status/IconData.java
57470-p9 services/java/com/android/server/status/IconMerger.java
82719-p9 services/java/com/android/server/status/LatestItemView.java
45968-p9 services/java/com/android/server/status/NotificationData.java
66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java
57458-p9 services/java/com/android/server/status/NotificationViewList.java
45968-p9 services/java/com/android/server/status/StatusBarException.java
45968-p9 services/java/com/android/server/status/StatusBarIcon.java
46130-p9 services/java/com/android/server/status/StatusBarNotification.java
45968-p9 services/java/com/android/server/status/StatusBarView.java
46199-p9 services/java/com/android/server/status/Ticker.java
62286-p9 services/java/com/android/server/status/TickerView.java
57188-p9 services/java/com/android/server/status/TrackingView.java
86041-p9 telephony/java/android/telephony/PhoneStateListener.java
87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java
136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java
34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java
55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java
127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java
129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java
25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java
46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java
77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
9788976b14 core/java/android/accounts/AuthenticatorDescription.java
5333288354 core/java/android/app/UiModeManager.java
93e7e22ec9 core/java/android/app/FullBackupAgent.java
328c0e7986 core/java/android/content/CursorEntityIterator.java
307da1a46b core/java/android/content/SyncQueue.java
307da1a46b core/java/android/content/SyncOperation.java
eb034652c2 core/java/android/content/pm/LabeledIntent.java
49237345d8 core/java/android/content/pm/FeatureInfo.java
a2b6c3775e core/java/android/content/pm/PackageInfoLite.java
3ecd5f4375 core/java/android/content/pm/RegisteredServicesCacheListener.java
5ebbb4a6b3 core/java/android/content/pm/XmlSerializerAndParser.java
c4516a7b62 core/java/android/database/sqlite/SQLiteTransactionListener.java
9bbc21a773 core/java/com/android/internal/backup/LocalTransport.java
21f1bd17b2 core/java/com/android/internal/content/PackageMonitor.java
4c62fc0e1e core/java/com/android/internal/view/BaseSurfaceHolder.java
4c62fc0e1e core/java/com/android/internal/view/BaseIWindow.java
e540833fdf core/java/com/android/internal/os/SamplingProfilerIntegration.java
192ab90388 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java
1619367ab8 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
27f8002e59 opengl/tools/glgen/stubs/gles11/glGetString.java
560814f6b1 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java
560814f6b1 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java
560814f6b1 opengl/tools/glgen/stubs/gles11/glShaderSource.java
1c4907ee77 opengl/tools/glgen/src/GenerateGLES.java
1c4907ee77 opengl/tools/glgen/src/Jsr239CodeEmitter.java
1c4907ee77 opengl/tools/glgen/src/GLESCodeEmitter.java
69e21f5f6e opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java
c028be4f3b packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
7c6efa13f1 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java
7c6efa13f1 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java
7c6efa13f1 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java
df8a3f31d8 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java
cfaef699e1 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java
cfaef699e1 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
cfaef699e1 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
Copyright header moved to top in following file:
core/tests/coretests/src/android/widget/ListViewTest.java
Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
2010-03-11 18:22:10 -08:00
Romain Guy
8abb26ee6c
Merge "Preserve widgets on upgrade. Bug #2464545 "
2010-03-11 18:14:23 -08:00
Adam Powell
2a20ddd90b
Tame some monkeys
...
Change-Id: I1bdcd466d6bacb0cebdd6bb0b5339477c2c284b0
2010-03-11 18:09:59 -08:00
Romain Guy
d2671e1fcf
Preserve widgets on upgrade.
...
Bug #2464545
Change-Id: I802878af49dc4d98210fb8049df0bbdc49268d99
2010-03-11 18:06:42 -08:00
Ray Chen
e208377fba
Add GPSProcessingMethod tag to ExifInterface.
...
Change-Id: I7575ae3195dc510e7020368794a66bb064839104
2010-03-11 17:41:04 -08:00
David Brown
458e8062c3
Add INCALL_POWER_BUTTON_BEHAVIOR setting.
...
This is part 1 of the fix for bug 2364220 "Accessibility improvements for
ending calls". This change adds a new (hidden) constant
Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR, for a setting that controls
whether the Power button hangs up the current call, or just turns off the
screen.
Bug: 2364220
Change-Id: I14d4a89b27e99cac51dc16826d217072d999b2d6
2010-03-11 17:18:54 -08:00
Adam Powell
80362d4ac8
Merge "Fix tap detection after a long press"
2010-03-11 16:33:58 -08:00
Adam Powell
3b0233959c
Fix tap detection after a long press
...
Change-Id: I004651b8522cac175a72e94a14128d2283da35a4
2010-03-11 16:30:28 -08:00
Tom Taylor
476c2323d5
Merge "Add a new meta_data column"
2010-03-11 15:58:49 -08:00
Vasu Nori
9bcf789a31
Merge "debug-flag covered log messages to help people debug finalizer stuff"
2010-03-11 15:51:32 -08:00
Adam Powell
c1bcc9989c
Merge "Fix overscroll distance calculation for stack-from-bottom ListViews"
2010-03-11 15:01:56 -08:00
Vasu Nori
3695709457
debug-flag covered log messages to help people debug finalizer stuff
...
should help developers figure out why finalizer warnings are coming out
of their app.
Change-Id: I50a4ba96c84c6b3cf4445331e1fb55320d8783e1
2010-03-11 14:57:53 -08:00
Joe Onorato
0521206745
Merge "Throw a better error message when the automatic onClick handling doesn't work."
2010-03-11 14:55:23 -08:00
Joe Onorato
42e14d74f3
Throw a better error message when the automatic onClick handling doesn't work.
...
Change-Id: I61729e26f76a2ab8825e892cd6c70c06f0955e4c
2010-03-11 14:54:21 -08:00
Adam Powell
84222e0425
Fix overscroll distance calculation for stack-from-bottom ListViews
...
Change-Id: Ic8278763586d03c152f7b30b7fdd0b37b0dfc9cb
2010-03-11 14:31:17 -08:00
Tom Taylor
0dd3bdab24
Add a new meta_data column
...
Add a new column to both the pdu and sms tables. This change just adds
the column definitions. Bug 2505620
Change-Id: I34b2794566a2900932ae34bdded4ed361d503d07
2010-03-11 13:37:17 -08:00
Dan Egnor
c95142d4a0
Move boot log file writing into a background thread to avoid ANR.
...
Bug: 2507228
Change-Id: I35695f89f1d62b907f04511e3e6b71722008949b
2010-03-11 13:16:04 -08:00
Daniel Sandler
4bfe7879a4
Merge "Javadoc fix."
2010-03-11 12:23:50 -08:00
Daniel Sandler
b999abc359
Javadoc fix.
...
Change-Id: I8f5acb2f824ff0e94755a9c482286b119d124734
2010-03-11 15:19:53 -05:00
Patrick Scott
08e1f21dd4
Merge "Do not send the not-modified response when validating the cache."
2010-03-11 11:47:22 -08:00
Grace Kloba
5acac5f216
Merge "Implement smart-zoom per Adobe request."
2010-03-11 11:43:56 -08:00
Vasu Nori
06ea4c7c6b
Merge "add more debug info to SQL section in bugreport"
2010-03-11 11:42:45 -08:00
Grace Kloba
c6f95fe523
Implement smart-zoom per Adobe request.
...
When double tap on plugin object, we toggle between
centering plugin object and overview mode.
Fix http://b/issue?id=2501726
2010-03-11 11:40:46 -08:00
Vasu Nori
c3849200fa
add more debug info to SQL section in bugreport
...
after this CL, adb bugreport will the following info (under SQL section
of each app's meminfo dump)
SQL
heap: 344 memoryUsed: 344
pageCacheOverflo: 67 largestMemAlloc: 50
DATABASES
Pagesize Dbsize Lookaside Dbname
1024 7 24 googlesettings.db
1024 26 110 talk.db
1024 11 0 (attached) transient_talk_db
1024 11 32 subscribedfeeds.db
1024 20 27 gservices.db
Change-Id: Iabd13be9793d9794137c60a045b84fa632f13498
2010-03-11 11:38:31 -08:00
Doug Zongker
b5957a3a32
Merge "make RecoverySystem.verifyPackage interruptible"
2010-03-11 11:15:53 -08:00
Doug Zongker
cb95657326
make RecoverySystem.verifyPackage interruptible
...
Change-Id: I09f6746914ef63c81312efd3a8959b0c28f6003a
2010-03-11 11:07:24 -08:00
Adam Powell
b7ef1d9ec9
Make paging touch slop smaller
...
Change-Id: I36e2623dcc6e3209de51d32841ca68ce322cc5d8
2010-03-11 10:25:24 -08:00
Patrick Scott
5ac85ccabb
Do not send the not-modified response when validating the cache.
...
Bug: 2450517
Change-Id: Ibdff4c4b573bb63ac5de94ec7277241bb0242203
2010-03-11 12:41:20 -05:00
Mike LeBeau
84eb8d2a7d
Merge "Fix a variable name reference in Activity docs."
2010-03-11 09:22:18 -08:00
Mike LeBeau
305de9dbda
Fix a variable name reference in Activity docs.
...
Change-Id: Ib0fd1c6b75f73a4470d2cb790884490a3efa8716
2010-03-11 09:21:08 -08:00
Fabrice Di Meglio
4bb75b9e35
Merge "Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)"
2010-03-11 09:20:57 -08:00
Patrick Scott
73f7537b30
Limit the projection to just the url.
...
Todo: bulk request the icons to avoid posting a billion messages.
Bug: 2496872
Change-Id: I6298f8d6f3000cfbbf56c6bed5f98b9836706f6d
2010-03-11 10:33:28 -05:00
Leon Scroggins
aa27045a2c
Use AsyncTask to update the history in the background.
...
Part of http://b/issue?id=2485421
Change-Id: Iccb2c3fc22e14eb1eb88d98ebb4499df14ffb511
2010-03-11 09:45:10 -05:00
Cary Clark
2809631e59
use the correct LayoutParams to fix going to fullscreen view
...
Change-Id: Id4d1841d720011c6fda6c43fe7ffb55762cef259
http://2467842
2010-03-11 08:25:33 -05:00
Adam Powell
bfb5d4b93b
Added overscroll headers and footers to ListView.
...
These let developers set a drawable for the list header and footer
to be drawn above and below list content.
Change-Id: Ideddec854cb0bc11f83efb3c000c217844be82c7
2010-03-10 22:14:28 -08:00
Dianne Hackborn
2ee89ea288
Applications should -not- be able to set preferred activities.
...
I can't believe I let this slip through. And in the SDK no less. :(
The APIs for setting preferred activities will now throw a security
exception when used. This may break some apps, we'll see how it
goes. If it is too bad we can just make these log and not throw
anything, but I would much prefer they throw an exception.
Change-Id: I3aed434750eef8b202aa9d5bd774a0121be521c6
2010-03-10 21:26:23 -08:00
Omari Stephens
d2a2daaa89
Fix small typo in javadoc: "deleting" -> "updating"
...
Change-Id: Ie0464aa92d33eb5b076a8122f5bd6317fd44a7b2
2010-03-10 18:54:49 -08:00
Eric Fischer
26779e7e82
Merge "Don't break lines in the middle of a smiley or other graphic replacement."
2010-03-10 17:59:48 -08:00
Fabrice Di Meglio
1dfc8a2518
Fix bug #2493102 (Sync keeps getting stuck, or at least very slow)
...
- use sql bindargs and extract usefull sql statements
- code cleaning and formatting
Change-Id: I717bf063b3f009e7369b70618f834d780ad6baa3
2010-03-10 17:49:46 -08:00
Robert Greenwalt
b9e1ed2b80
Merge "Make HiPri work when already connected."
2010-03-10 16:52:27 -08:00
Dianne Hackborn
b8b11a0b1d
Further improvements to window management!
...
Fix issue #2493497 : Stuck in the Emergency dialer - Home/Back keys doesn't work
This was another case of not updating the window focus when needed, this time
when the lock screen was hidden.
Also re-arrange the layout/animate flow to address issues where you would see
a flicker of whatever was behind the lock screen when showing a new activity that
hides the lock screen. This was because we were deciding to hide the lock screen
during the layout phase, which meant we had to do it without considering whether
it had drawn. So we could hide the lock screen before the window is shown for the
first time after being drawn. Now we can do this in the policy during animate, so
we can wait until the window is drawn and actually being shown.
The flow in perform layout is thus significantly changed, where the layout and
animate loops are both under the same repeating loop. The actual flow from this
should be the same, but it now allows the policy to request a new layout after
the animation loop is done. This actually cleans up a number of things in this
code as the complexity has increased.
Finally this includes a change to the ui mode manager when switching modes, to do
the resource configuration switch at a different time. This makes transitions
between modes much cleaner (though not yet perfect).
Change-Id: I5d9e75c1e79df1106108dd522f8ffed6058ef82b
2010-03-10 16:47:57 -08:00
Erik
191bbafacc
Merge "Noticed comment field when splitting guests wasn't being cleared."
2010-03-10 16:29:44 -08:00
Robert Greenwalt
78a640af95
Make HiPri work when already connected.
...
A recent change made the HiPri MobileDataStateTracker listen for notifications
about the default connection (which HiPri shadows). Local code was sending
itself a notification using the old HiPri badging instead of the new Default
badging and those notifications where therefore ignored.
Manifested itself on HiPri connections when we were already on 3g.
See change 42422 on master platform/frameworks/base for the change this is completing.
Change-Id: I375026048724d0035297287c61c6c2f58d4e0294
2010-03-10 16:19:18 -08:00
Eric Fischer
de61f78340
Don't break lines in the middle of a smiley or other graphic replacement.
...
The code that was supposed to keep this from happening was not being
executed when the text was all ASCII.
Bug 1899722
Change-Id: Ifc97a4423d6136e19abbc4c82eb36ac0216ce415
2010-03-10 14:51:09 -08:00