summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Import revised translationsKenny Root2010-06-094-10/+10
| | | | Change-Id: I25faf1ade5252fa29cf43aa13e99fef9fc31b418
* Merge "Fix 2737842: Disable KeguardManager API if device policy is enabled" ↵Jim Miller2010-06-081-0/+9
|\ | | | | | | into froyo
| * Fix 2737842: Disable KeguardManager API if device policy is enabledJim Miller2010-06-081-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds notification to find out when the device policy has changed. When an admin adds or changes a policy, we get notified and reset the state of keyguard to be enabled. It also moves disabling keyguard into the TokenWatcher.acquired() method to avoid disabling keyguard when a policy doesn't permit it. This avoids reference counting issues in TokenWatcher and hence relieves the ordering issue. There is one remaining caveat. An application that uses KeyguardManager to disable keyguard will need to disable keyguard again after any policy change. Tested: Install and run app that disables keyguard with no admin. Result: keyguard is enabled/disabled as expected. Enable admin and set quality = "something" after installing & running app. Result: keyguard is enabled. Change admin password quality to "unspecified" and re-run app (per caveat). Result: keyguard is disabled. Change admin password quality to "something" again. Result: keyguard is enabled. Disable admin : Result: keyguard is enabled until app runs again (per caveat). Added minor cosmetic changes after review. Change-Id: I302f2b01446bf031f746b0f3e8b5fd7a6cc0e648
* | Merge "Add a method to hide/show a SurfaceView's surface." into froyoRomain Guy2010-06-081-0/+41
|\ \ | |/ |/|
| * Add a method to hide/show a SurfaceView's surface.Romain Guy2010-06-081-0/+41
| | | | | | | | | | | | | | | | This can be used to move a surface offscreen to avoid the cost of compositing it. This preserves the window and therefore the OpenGL context when used in h/w accelerated apps. Change-Id: I280295376601b17989d0fc8a271af66650016f09
* | Fix SDK build.Jim Miller2010-06-071-4/+4
| | | | | | | | | | | | | | | | | | | | On branch fix_sdk Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: core/java/android/app/KeyguardManager.java Change-Id: I56848db098822536f0ac32efc8f0eb1d725bf6f9
* | Fix 2737842: disable keyguard API when device policy is enabled.Jim Miller2010-06-071-1/+7
|/ | | | | | | This fix disables KeyguardManager's enable/disable API when any device policy admin requests a policy that enforces a password. Change-Id: Idb1da16b14ed8963142f7b1f62d2b060d84ffa65
* Merge "Watchdog now records kernel stacks when it fires" into froyoChristopher Tate2010-06-043-0/+114
|\
| * Watchdog now records kernel stacks when it firesChristopher Tate2010-06-043-0/+114
| | | | | | | | | | | | | | | | The kernel threads are appended to the usual /data/anr/traces.txt file and dropboxed along with the usual Dalvik stack dumps. Change-Id: I120f1f5ee54c965efe9ac0c7f40fdef56385f1fa NOTE: this change depends on the kernel publishing /proc/$PID/stack
* | Make the DUN apn data secure.Robert Greenwalt2010-06-042-2/+30
|/ | | | | | | | | | | Rather than come out of the user-modifiable APN DB, the DUN APN data will come first from a built-in resource and then potentially overriden by a secure setting (which is gservices upgradable). Also made the "require-dun" setting secure-setting overridable. bug:2736390 Change-Id: I1e4644c3839f06c977b83797641f3948785146a2
* Comment-only change to add documentation for FileObserverDan Egnor2010-05-311-13/+67
| | | | Change-Id: Icd9bc65be020a23f78c8bcda78fc68e7d05c93b4
* Merge "Fix typo in EastAsianWidth javadoc" into froyoKenny Root2010-05-271-3/+3
|\
| * Fix typo in EastAsianWidth javadocKenny Root2010-05-271-3/+3
| | | | | | | | | | | | | | The Javadoc had a missing close <code> tag and also failed to mention the "start" parameter in the doc. Change-Id: I861d6646e82e1d49f23a09de8b68a61f81689f83
* | Make the NTP Cache max-age gservices-settableRobert Greenwalt2010-05-251-0/+8
| | | | | | | | | | | | | | Trying to make Throttle polling more energy efficient. bug:2708119 Change-Id: I2b75639e202dcbcee11047c43407a22de04ce350
* | Fix bug 2710825 - Prevent ExpandableListView from scrolling too far when ↵Adam Powell2010-05-241-4/+4
|/ | | | | | expanding children. Change-Id: I21b37647c5ad16e4f57fdda433e3b3ee2c7c83ad
* If the network SSID is a string, it should be enclosed in double quotation ↵Xia Wang2010-05-201-1/+5
| | | | | | | | marks. bug id: 2701058 Change-Id: I40e10ba096053710d4974b005d0d2e7c309ccffe
* Merge "Uncomment a test that was marked as STOPSHIP Add MediumTest tag" into ↵Suchi Amalapurapu2010-05-181-3/+2
|\ | | | | | | froyo
| * Uncomment a test that was marked as STOPSHIPSuchi Amalapurapu2010-05-181-3/+2
| | | | | | | | | | | | Add MediumTest tag Change-Id: I0699d168d7ec70c076f4713e0e405c0779a290c6
* | Merge "Removing STOPSHIP logs." into froyoJaikumar Ganesh2010-05-181-1/+1
|\ \ | |/ |/|
| * Removing STOPSHIP logs.Jaikumar Ganesh2010-05-181-1/+1
| | | | | | | | | | Bug: 2694602 Change-Id: Id56e1ddcf5ea76de32238cd6761f2caf053f1fa1
* | Fix 2641875Suchi Amalapurapu2010-05-181-2/+3
| | | | | | | | | | | | | | | | Initialize the cache path only if the container exists. This did exist before but was somehow removed. Fix a known test failure as well. Change-Id: I63219369b0e7abca4919fbde2a04035a0fea9e35
* | docs: fix markup errorScott Main2010-05-181-1/+2
| | | | | | | | Change-Id: I59a42f47483d76b6a3220b1d88e9d6bd96f83daf
* | docs: revise webview description and add info for targeting screen densitiesScott Main2010-05-171-20/+103
| | | | | | | | Change-Id: Ib0293b497adef23330ee3f5f71904ad78a55a3a3
* | Resurrect flashlight support in obsolete IHardwareService Binder API.Mike Lockwood2010-05-171-0/+26
| | | | | | | | | | | | | | | | This is to avoid flashlight apps that had been using reflection to access this API after this class was removed after eclair. Change-Id: I26ed929abad93345468eb33d4a15977a31ebea7e Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Import revised translationsKenny Root2010-05-1720-52/+52
| | | | | | | | Change-Id: Id6bd3011874ff8544a030473cc994f9a0201c97d
* | docs: add dev guide for backupScott Main2010-05-142-14/+20
| | | | | | | | Change-Id: I168f6b15d3441c9cbea2cd9699612476c7244530
* | Merge "Fix 2672155 Check the code path when enabling disabling packages." ↵Suchi Amalapurapu2010-05-131-0/+43
|\ \ | | | | | | | | | into froyo
| * | Fix 2672155Suchi Amalapurapu2010-05-131-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | Check the code path when enabling disabling packages. Add unit test Change-Id: I0f0f482a3735234eab3f63ba1f6462574b70144e
* | | Use SystemClock.elapsedRealtime in ShutdownThread timeout logicMike Lockwood2010-05-131-4/+4
|/ / | | | | | | | | | | | | This avoids problems if the time is reset while shutting down. Change-Id: I54c7c787e55648ebf5a68e79056f92fbac0081ae Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge "Bug 2680071: Rename the Cloud to Device" into froyoCostin Manolache2010-05-122-5/+5
|\ \
| * | Bug 2680071: Rename the Cloud to DeviceCostin Manolache2010-05-122-5/+5
| | | | | | | | | | | | Change-Id: I12ab32de393e44a499e3f9e3a0b38f4682156ff5
* | | The default AlertDialog allows cancel. But the defaultGrace Kloba2010-05-121-0/+7
|/ / | | | | | | | | | | | | JSConfim doesn't have a cancel listener. So when user cancel the dialog, we do not wake up the WebCoreThread. The same code is already done for JSPrompt dialog correctly. Fix http://b/issue?id=2679139
* | Merge "Bug 2673557: rename datamessaging" into froyoCostin Manolache2010-05-112-5/+5
|\ \
| * | Bug 2673557: rename datamessagingCostin Manolache2010-05-102-5/+5
| | | | | | | | | | | | Change-Id: I583ac61c7b8fce69d60801dc76aeca9f13d250b2
* | | Merge "Fix for bug 2672749: StringIndexOutOfBoundsException in ↵Keith Ito2010-05-102-0/+23
|\ \ \ | | | | | | | | | | | | Uri.getQueryParameter" into froyo
| * | | Fix for bug 2672749: StringIndexOutOfBoundsException in Uri.getQueryParameterKeith Ito2010-05-102-0/+23
| |/ / | | | | | | | | | Change-Id: I10b02306478d9c595dbcae0767b44c403d50e24a
* | | Fix the 'wobbling fixed elements' bug.Nicolas Roard2010-05-101-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from master. This CL has a corresponding C++ counterpart (https://android-git.corp.google.com/g/#change,51149) Bug:2665696 Change-Id: I0a044661ff21ef601ba34782db8acdc9531f98e7
* | | Merge "Hopefully fix issue #2662536: Why is launcher being killed?" into froyoDianne Hackborn2010-05-102-1/+27
|\ \ \ | |/ / |/| |
| * | Hopefully fix issue #2662536: Why is launcher being killed?Dianne Hackborn2010-05-102-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like there was a subtle bug where Process.setOomAdj() could return false just because the given process doesn't exist, even though it is documented to only return false if OOM killing is not supported at all. This would cause the activity manager to fall into its code path of trying to clean up processes itself, which it does a much poorer problem at. I am thinking we may be seeing this problem more now that the activity manager is killing background processes itself when there are too many of them. In addition, this change cleans up and reduces some of the logging around killing processes. Finally, try to improve process LRU management a bit by taking into account process dependencies. Any dependent processes are pulled up in the LRU list with the processes that is actually moving. Also, we bring a process up if someone accesses its content provider. Change-Id: I34ea161f839679345578ffe681e8d9c5d26ab948
* | | Merge "Fix 2660488: Add LockScreen/InCallScreen resources to preloads" into ↵Jim Miller2010-05-101-0/+14
|\ \ \ | | | | | | | | | | | | froyo
| * | | Fix 2660488: Add LockScreen/InCallScreen resources to preloadsJim Miller2010-05-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the base SlidinTab drawable resources shared by InCallScreen and LockScreen into the zygote process. It should save approximately 375kB (mdpi) and 825kB (hdpi) of RAM by sharing resource between the LockScreen and InCallScreen. Change-Id: I05bcafa894ed27d419b171ad5041bd83134461f7
* | | | Merge "String change to refer to wifi tether as hotspot" into froyoRobert Greenwalt2010-05-101-1/+1
|\ \ \ \
| * | | | String change to refer to wifi tether as hotspotRobert Greenwalt2010-05-081-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | bug:2664412 Change-Id: I9ab110f88551d03a9215b81887675c50aa575d9a
* | | | Merge "Add unit test for passing thread priority & cgroup through Binder." ↵Dan Egnor2010-05-095-11/+239
|\ \ \ \ | |/ / / |/| | | | | | | into froyo
| * | | Add unit test for passing thread priority & cgroup through Binder.Dan Egnor2010-05-075-11/+239
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This test actually exposes some bugs -- the test passes as written, but certain parts are commented out with references to the bugs in question. Bug: 2665914 Bug: 2665954 Change-Id: I61220e0efadc4edbb6ad419d26fa1f0f50bbc24c
* | | Merge "Fixing: RecognitionService logcat spam "cancel called..."" into froyoBjorn Bringert2010-05-071-1/+1
|\ \ \ | |/ / |/| |
| * | Fixing: RecognitionService logcat spam "cancel called..."Valentin Kravtsov2010-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug fix for: http://b/issue?id=2647644 RecognitionService logcat spam "cancel called with no preceding startListening - ignoring" Change-Id: I1da8b4d40406929ed0225d40cfac629507e71c7e
* | | Merge "Fix "p.m." in lockscreen (locale: es)." into froyoDaniel Sandler2010-05-064-4/+4
|\ \ \
| * | | Fix "p.m." in lockscreen (locale: es).Daniel Sandler2010-05-064-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use padding instead of margin in DigitalClock's RelativeLayout params to ensure @id/am_pm's descenders aren't clipped. Bug: 2277477 Change-Id: I9c8ef0c60e8ac0d2f969de97e8bfe146553ac379
* | | | Avoid UNKNOWN state for Wifi in bug2542613, not a common user case.Xia Wang2010-05-061-0/+9
| |_|/ |/| | | | | | | | Change-Id: Ief0a953e2909cb5c808f0d683ab95d14f6c53e72