summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Rename ApplicationContext to ContextImpl."Dianne Hackborn2010-02-042-33/+33
|\
| * Rename ApplicationContext to ContextImpl.Dianne Hackborn2010-02-042-33/+33
| | | | | | | | I've been wanting to do this for a long long time.
* | Merge "Add single-package restore from an app's most-recent data"Chris Tate2010-02-042-10/+60
|\ \
| * | Add single-package restore from an app's most-recent dataChristopher Tate2010-02-042-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed the RestoreSession performRestore() method to restoreAll(), and added a new restorePackage() method that only restores the single specified app. In order to restore an app other than itself, the caller must hold the android.permission.BACKUP permission. This change also introduces dataset tracking: the Backup Manager persistently remembers both the current backup dataset's identity and that of the "ancestral" dataset, i.e. the one most recently used for a whole-device restore such as performed by SetupWizard. When a single package is restored via restorePackage(), the selection of most-recent dataset to use is this: 1. The data from the currently-active backup dataset, if such exists. An app that has ever backed up data will therefore get its last- known-good data. 2. The app's data from the ancestral dataset, if such exists. This covers the case of a factory reset followed by reinstallation of an app at a later time. The app had not yet backed anything up post-wipe, but the old data is in the ancestral dataset and should be brought forward when the app reappears. 3. If neither 1. nor 2. exist, there is no data to restore, so just skip it and return failure. Note that the infrastructure to automatically attempt a restore after an application has been installed does not yet exist; that's coming. Change-Id: I0ba170df9885128000c46ed28d3dddda3a63a143
* | | Merge "Add support in StatusBarManager for disabling ticker text."Daniel Sandler2010-02-041-2/+8
|\ \ \
| * | | Add support in StatusBarManager for disabling ticker text.Daniel Sandler2010-02-041-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new flag, DISABLE_NOTIFICATION_TICKER, will be used by the car dock app (in conjunction with DISABLE_EXPAND) to minimize distractions to the driver. It may also be used by the secure lockscreen to avoid leaking personal information when the screen is on but the device is locked (e.g. when the desk dock app is running). Change-Id: Ibc8efde7da7501767163ae0a75f7c369b824e2a2
* | | | Merge "fix [2313526] sensor enable race condition"Mathias Agopian2010-02-041-17/+35
|\ \ \ \
| * | | | fix [2313526] sensor enable race conditionMathias Agopian2010-02-041-17/+35
| | |_|/ | |/| | | | | | | | | | | | | | Make sure we wait until the SensorThread is running an has open the sensors fd. Also handle errors when/if this fails.
* | | | Unhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token> ↵Michael Chan2010-02-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out) Note that Rfc822Tokenizer.tokenize(CharSequence text) is already in the SDK and it just wraps the version I am unhiding. Change-Id: I1ac3b405a04df960fc1e65ca4797d6f5adf85dc4
* | | | API review: TrafficStats: rename Pkts to PacketsKen Shirriff2010-02-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename getMobileTxPackets(), getMobileRxPackets(), getTotalTxPackets(), getMobileRxPackets() bug 2420318
* | | | Rename GestureUtilities to GestureUtils.Romain Guy2010-02-047-19/+19
| | | |
* | | | Merge "resolved conflicts for merge of dd24f599 to master"Kenny Root2010-02-041-0/+4
|\ \ \ \ | |/ / / |/| | |
| * | | resolved conflicts for merge of dd24f599 to masterKenny Root2010-02-041-0/+4
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: I57c349c493d69585d4c85e8c0970649708c6bd33
| | * \ \ am aead64de: Fix issue: 2413494: [Passion-c] Add TTY support.Eric Laurent2010-02-041-0/+4
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'aead64def1fe58c95c086a0ca00cf0b13fa32ef1' into eclair-plus-aosp * commit 'aead64def1fe58c95c086a0ca00cf0b13fa32ef1': Fix issue: 2413494: [Passion-c] Add TTY support.
| | | * | | Fix issue: 2413494: [Passion-c] Add TTY support.Eric Laurent2010-02-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle TTY mode change events received by HeadsetObserver and send information down to AudioHardware with AudioManager.setParameters() Use setting "tty_mode_uses_heaset_events" in core config.xml to indicate if the product uses this particular method of indicating the TTY mode change.
* | | | | | Merge "Framework part of issue #2391576: Add method to start the Jit and ↵Dianne Hackborn2010-02-042-4/+45
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | call it"
| * | | | | | Framework part of issue #2391576: Add method to start the Jit and call itDianne Hackborn2010-02-042-4/+45
| |/ / / / /
* | | | | | Merge "Remove source selector from SearchDialog"Bjorn Bringert2010-02-048-278/+14
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Remove source selector from SearchDialogBjorn Bringert2010-02-048-278/+14
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=2419208 This reverts commit 32d580c360da0a0f15e7a080f4ebd0b7b514fe4c. Change-Id: I5d8821d52badf3e0347230b86671f8ceb65a663d
* | | | | Sharper mdpi transfers of usb_android{,_connected}.png.Daniel Sandler2010-02-042-0/+0
|/ / / / | | | | | | | | | | | | Change-Id: Ic5b6a0b23b5fc4c71e2628156905e69faf56b999
* | | | Merge "Stop scaring the kids when USB is connected."Daniel Sandler2010-02-044-0/+0
|\ \ \ \
| * | | | Stop scaring the kids when USB is connected.Daniel Sandler2010-02-044-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 2416542 Change-Id: I8ab7149201e35b8b41a890d5fd64cf0fc05d600c
* | | | | Merge "Enable StreamLoader to be loaded in a separate thread."Grace Kloba2010-02-046-107/+105
|\ \ \ \ \
| * | | | | Enable StreamLoader to be loaded in a separate thread.Grace Kloba2010-02-046-107/+105
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move ContentLoader and FileLoader to this new way as they involves IO. Will work on CacheLoader later. Change StreamLoader to contain a Handler instead of derive from a Handler so that the Handler can be created in the thread where load() is called. Rename StreamLoader's old "LoadListener mHandler" to mLoadListener. Remove unused import and unreachable exception. Fix http://b/issue?id=2158613 This improved page_cycler performance in moz/intl by 10-30% as we are not blocked by IO any more.
* | | | | First pass at USB Tethering.Robert Greenwalt2010-02-0411-2/+277
| |/ / / |/| | | | | | | | | | | bug:2281900
* | | | Add new ConsoleMessage class that adds more information (such as the Message ↵Ben Murdoch2010-02-044-5/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Log Level from WebCore) and a new overload of onConsoleMessage that takes this as a parameter. This change requires a corresponding change in external/webkit. BUG=2401755 Change-Id: Iea2c58e93172240f162d8ad57eb2c8f2352f8162
* | | | Merge "Implement system data migration support."Dianne Hackborn2010-02-032-0/+49
|\ \ \ \
| * | | | Implement system data migration support.Dianne Hackborn2010-02-032-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds three new features: - <original-package android:name="com.foo" /> manifest tag. This allows an .apk to specify another package it originally came from, propagating all state and data from the old to new package. - <adopt-permissions android:name="com.foo" /> manifest tag. In some more complicated cases, a new .apk may be a combination of multiple older .apks that each declared their own permissions. This allows you to propagate the permissions from these other .apks into the new one. - A new system/etc/updatecmds directory. You can place files here which describe data files to move from one package to another. (See below for details.) Also in this change: we now clean up the data directories of .apks that disappear from the system image, and some improvements to logging and reporting error messages. A typical file in the updatecmds directory looks like this: ------- com.google.android.gsf:com.google.android.providers.talk databases/talk.db com.google.android.gsf:com.google.android.googleapps databases/gls.db ------- This says that for com.google.android.sfs, there are two packages to move files from: From com.google.android.providers.talk, the file databases/talk.db. From com.google.android.googleapps, the file databases/gls.db As part of moving the file, its owner will be changed from the old package to whoever is the owner of the new package's data directory. If those two files had existed, after booting you would now have the files: /data/data/com.google.android.gsf/databases/talk.db /data/data/com.google.android.gsf/databases/gls.db Note that all three of these facilities assume that the older .apk is completely removed from the newer system. The WILL NOT work correctly if the older .apk still remains.
* | | | | Fixed an overscrolling bug in AbsListView with a root in OverScroller.Adam Powell2010-02-032-5/+5
| | | | |
* | | | | Merge "Fix Czech lock screen date format."Eric Fischer2010-02-031-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Fix Czech lock screen date format.Eric Fischer2010-02-031-1/+1
| |/ / / | | | | | | | | | | | | Bug 2291064
* | | | Merge "Add auto-restore setting and Backup Manager awareness thereof"Chris Tate2010-02-032-0/+23
|\ \ \ \
| * | | | Add auto-restore setting and Backup Manager awareness thereofChristopher Tate2010-02-032-0/+23
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This setting, like BACKUP_ENABLE, should never be set directly in the secure settings database. Instead, it should be manipulated through the new IBackupManager method setAutoRestore(boolean). Change-Id: I5c3226ca85b6148bb756d753d7f9e4ea76e878c4
* | | | remove android.webkit.HttpDateTime, againDoug Zongker2010-02-033-224/+4
|/ / / | | | | | | | | | | | | | | | | | | Remove this class, again, and change the webkit uses of it to use the one in android-common. Remove class from preloaded-classes as well. Change-Id: Ic0d4835e77180d299bc2c22b7c8780861b4781ee
* | | Merge "undo "move HttpDateTime from android.webkit to android-common jar""Doug Zongker2010-02-033-4/+224
|\ \ \
| * | | undo "move HttpDateTime from android.webkit to android-common jar"Doug Zongker2010-02-033-4/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This restores this class to android.webkit, but leaves a copy in android-common while I figure out how to move it correctly. This reverts commit 7ad12a5f44253dc535f9a25ceb029579b40c43b1. Change-Id: I1d0a3efe34764058b979c6987e6e774f64d02b8c
* | | | Merge "Copy ic_menu_search.png to ic_search_category_default.png"Bjorn Bringert2010-02-032-0/+0
|\ \ \ \
| * | | | Copy ic_menu_search.png to ic_search_category_default.pngBjorn Bringert2010-02-032-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason both these icons are exposed. Some apps use ic_search_category_default.png for their search menu item, and some use ic_menu_search.png. To make them look the same, I copied ic_menu_search to ic_search_category_default. Fixes http://b/issue?id=2373762 Change-Id: I045efaac84ed9507c4c0c9d6996f1bedb50d753f
* | | | | Merge "Honor '+' in phone export in vCard."Daisuke Miyakawa2010-02-031-1/+3
|\ \ \ \ \
| * | | | | Honor '+' in phone export in vCard.Daisuke Miyakawa2010-02-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently no test because of temporal reason. I'll do in the near future... Bug: 2417138
* | | | | | Merge "BatteryStatsImpl: initalize audio timer"Mike Chan2010-02-031-0/+1
|\ \ \ \ \ \
| * | | | | | BatteryStatsImpl: initalize audio timerMike Chan2010-02-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Chan <mike@android.com>
* | | | | | | Fixed a regression in View.cancelLongPressAdam Powell2010-02-031-0/+7
| | | | | | |
* | | | | | | Merge "move HttpDateTime from android.webkit to android-common jar"Doug Zongker2010-02-033-224/+4
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | move HttpDateTime from android.webkit to android-common jarDoug Zongker2010-02-033-224/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some to-be-unbundled classes want to use HttpDateTime as well. Change-Id: I40a001970682f6fbd4d9cd3546bd3f63ebfbe89b
* | | | | | | Merge "Javadoc fixes to ScaleGestureDetector for SDK builds"Adam Powell2010-02-031-6/+6
|\ \ \ \ \ \ \
| * | | | | | | Javadoc fixes to ScaleGestureDetector for SDK buildsAdam Powell2010-02-031-6/+6
| | | | | | | |
* | | | | | | | Merge "Fix fastscroll thumb"Marco Nelissen2010-02-031-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix fastscroll thumbMarco Nelissen2010-02-031-1/+1
| | | | | | | | |
* | | | | | | | | Merge "Add a "dalvik.vm.gc.overwritefree" property. When set to "true", the ↵Barry Hayes2010-02-031-0/+9
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VM will be given the "-Xgc:overwritefree" flag, and the GC will clobber the memory of freed objects."