| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
into froyo
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
This fix disables KeyguardManager's enable/disable API when any
device policy admin requests a policy that enforces a password.
Change-Id: Idb1da16b14ed8963142f7b1f62d2b060d84ffa65
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Icd9bc65be020a23f78c8bcda78fc68e7d05c93b4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The Javadoc had a missing close <code> tag and also failed to mention
the "start" parameter in the doc.
Change-Id: I861d6646e82e1d49f23a09de8b68a61f81689f83
|
| |
| |
| |
| |
| |
| |
| | |
Trying to make Throttle polling more energy efficient.
bug:2708119
Change-Id: I2b75639e202dcbcee11047c43407a22de04ce350
|
|/
|
|
|
|
| |
expanding children.
Change-Id: I21b37647c5ad16e4f57fdda433e3b3ee2c7c83ad
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 2694602
Change-Id: Id56e1ddcf5ea76de32238cd6761f2caf053f1fa1
|
| |
| |
| |
| | |
Change-Id: I59a42f47483d76b6a3220b1d88e9d6bd96f83daf
|
| |
| |
| |
| | |
Change-Id: Ib0293b497adef23330ee3f5f71904ad78a55a3a3
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Change-Id: I168f6b15d3441c9cbea2cd9699612476c7244530
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I12ab32de393e44a499e3f9e3a0b38f4682156ff5
|
|/ /
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I583ac61c7b8fce69d60801dc76aeca9f13d250b2
|
|\ \
| | |
| | |
| | | |
Uri.getQueryParameter" into froyo
|
| |/
| |
| |
| | |
Change-Id: I10b02306478d9c595dbcae0767b44c403d50e24a
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug fix for: http://b/issue?id=2647644
RecognitionService logcat spam "cancel called with no preceding startListening - ignoring"
Change-Id: I1da8b4d40406929ed0225d40cfac629507e71c7e
|
| |
| |
| |
| |
| |
| |
| |
| | |
sound.
This CL doesn't fix why mView can be null in the first place, but
prevents a crash when mView is null and a UI sound is to be played.
Change-Id: I74ea03567e8e6ebebb6c95c80a473abf11e1163d
|
|\ \
| | |
| | |
| | | |
into froyo
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With the .apk file names now changing during an update, we need
to make sure to flush all caches related to a package when the
package is removed. Otherwise we can continue to use the old
package, since its old file may still exist if we try to load it
too soon.
Change-Id: I15f08dffca3feac999dbca4f24bef12a30ca0a66
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
This avoids delaying the first launch of QuickSearchBox or Browser
after boot while SearchManagerService builds the searchables list.
Bug http://b/issue?id=2639863
Change-Id: Ia510204691ecf487a2008723fe8f6caaced86618
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I0b015a6de16da07ccd31756b8d2329dc2785c2f7
|
|/
|
|
| |
Change-Id: If0a2459901e88cf04810b23178e4673d44fa69cc
|
|
|
|
|
|
|
|
|
|
|
| |
* ExtendedValues' "name" and "value" columns are exposed in Entry
entity subvalues, but it is clumsy to change a value, as the _id
of the ExtendedValues row isn't also exposed. (We otherwise have to
perform a potentially slow query)
* This CL adds the _id column to the columns exposed
Bug: 2638762
Change-Id: Iaffeffed620af78439f5f73aa5f3257b0f8a0fd0
|
|
|
|
| |
Change-Id: Ia827199a27d03289b6fa573dd6f2b13517943400
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix MAX_TRANSITION_TILT to remove the entry for upside-down
orientation, which should've been removed when that orientation itself
was removed. This was causing the phone to require further vertical
tilt for transitions to left-edge-up landscape, as compared to
right-edge-up landscape or portait mode.
Bug: 2639310
Change-Id: I8fe2e2baecd6a9c2cecae95d316b0d4e2f8ee251
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
revert part of the CL: Ia561135e974a44ad3e3774ecb23c6a3d0fc38176
and add it to ContentProvider.query() to force query execution
in worker thread, instead of having the main thread incur the cost
of query execution and potentially get ANR
Change-Id: I0ea8a170bd954a421f4ad825f8090319a83a5b2b
|
|\ \
| |/
|/|
| | |
running syncs if the next sync had the same account and authority." into froyo
|
| |
| |
| |
| |
| |
| |
| |
| | |
long running syncs if the next sync had the same account and
authority.
Change-Id: I0c18ce3b7098e79e2080e401e441ad246b1d6910
http://b/2631221
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I189db1cc60069b4318fa32a8b5aea6916ac5aa4e
|
|\ \ \
| |/ /
|/| |
| | | |
onSurfaceDestroyed()" into froyo
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Take care of the window manager destroying a surface, to report to the
app that it has been destroyed. Make sure to perform a traversal when
becoming visible to re-create the surface if needed.
Change-Id: If3bc05e0106f90d4c3bad2d7575212667680fbc8
|
| | |
| | |
| | |
| | | |
Change-Id: Ib24f8ffc8554366cb4350ec2f9d7e77efb0cb083
|