5850 Commits

Author SHA1 Message Date
satok
3d9e56b19e am 1e3fac8b: Merge "Add functions to enable / disable spell checker"
* commit '1e3fac8bc62a2495eb9bb79cc208573b5782cedc':
  Add functions to enable / disable spell checker
2011-08-25 13:20:00 -07:00
satok
213861b497 am 47d0e481: Merge "Dismiss the ime switch notification properly"
* commit '47d0e48197c566be5d4c11534ceabc8a38a18cec':
  Dismiss the ime switch notification properly
2011-08-25 13:19:32 -07:00
Dianne Hackborn
295e3c27e4 Fix issue #5214105 and work on issue #5109947.
Change-Id: Iff2cfec5280a314989d915aa830c16124f921611
5214105: taking a screenshot while "Android is upgrading..." crashes device
5109947: Race condition between retrieving a content provider and updating its oom adj
2011-08-25 13:19:08 -07:00
Dianne Hackborn
a3e1ccc5ee am 6ff00377: Merge "Fix to show the correct HW accel background in the preview window."
* commit '6ff0037792619c4441d9d3caa4f9ab4f45c11236':
  Fix to show the correct HW accel background in the preview window.
2011-08-25 13:18:29 -07:00
Brett Chabot
495954b7f1 am b26db260: Merge "Disable package verification by default."
* commit 'b26db260ae91a335fcee4f67df9341d002fbe1b0':
  Disable package verification by default.
2011-08-25 13:17:54 -07:00
Romain Guy
aacf1d7310 am c39e8e89: Merge "Add OpenGL backend to ImageWallpaper Bug #5204874"
* commit 'c39e8e89eb370ed66f552da3be258e57f1aabeb9':
  Add OpenGL backend to ImageWallpaper Bug #5204874
2011-08-25 13:14:23 -07:00
Dianne Hackborn
e67afddf4a am 19bc995e: Merge "Fix animation scale to also scale start offset."
* commit '19bc995e9ae4ec9ea48c183758759e2b68ec964b':
  Fix animation scale to also scale start offset.
2011-08-25 13:14:11 -07:00
Christopher Tate
3b34eb58e3 am 1c424f86: Merge "Make sure to go to the right Settings panel when tapping a notification"
* commit '1c424f86c634a8c27ef1bbb82938ae64b4f3a385':
  Make sure to go to the right Settings panel when tapping a notification
2011-08-25 13:09:00 -07:00
Chia-chi Yeh
a95e198d13 am 42577560: Merge "VPN: stop daemons by closing the control sockets."
* commit '42577560fb0a1aead62a378caa267734e9d91207':
  VPN: stop daemons by closing the control sockets.
2011-08-25 13:06:58 -07:00
Dianne Hackborn
42a6f9e002 am 2da59ffb: Merge "Fix issue #5192141: systemui asplodes after enough tapping on the windowlist button"
* commit '2da59ffbda80594e6312f400341810f91e1d333a':
  Fix issue #5192141: systemui asplodes after enough tapping on the windowlist button
2011-08-25 13:06:03 -07:00
Mike Lockwood
35314a0ace am d0bf536f: Merge "No longer disable notification lights when screen turns on"
* commit 'd0bf536fd6618414bb9c84424a931865e62e6876':
  No longer disable notification lights when screen turns on
2011-08-25 11:38:09 -07:00
satok
7435c945fd am cfc0f2c2: Merge "Add functions to set / get SpellCheckerSubtype"
* commit 'cfc0f2c206af24350245f83b36e0032a7d4de49a':
  Add functions to set / get SpellCheckerSubtype
2011-08-25 11:33:20 -07:00
Jeff Sharkey
178e3a3945 am 006efb24: Merge "Proactively disable data when over policy limit."
* commit '006efb24706378293a2faa137c7c7ca34a2e15cd':
  Proactively disable data when over policy limit.
2011-08-25 11:31:30 -07:00
Jeff Sharkey
ed191e1fae Merge "Data usage buckets active time, parsing ISE." 2011-08-25 11:13:38 -07:00
Jeff Sharkey
235c47ff3e Merge "Register for kernel global data usage alerts." 2011-08-25 11:13:32 -07:00
Jason Simmons
df6bb0a7ee resolved conflicts for merge of 33264596 to ics-aah
Change-Id: I1b0b2c3a63d97d49940666ceec71293bdbab4e2e
2011-08-25 09:57:48 -07:00
Svetoslav Ganov
12bde60b39 Merge "Intra-process view hierarchy interrogation does not work." 2011-08-25 08:54:29 -07:00
satok
1e3fac8bc6 Merge "Add functions to enable / disable spell checker" 2011-08-25 01:21:05 -07:00
satok
a33c4fc5be Add functions to enable / disable spell checker
Bug: 5057977

Change-Id: I2b27bd5f55feb305368034d7e95f83257ac4b3e6
2011-08-25 17:08:19 +09:00
satok
47d0e48197 Merge "Dismiss the ime switch notification properly" 2011-08-25 00:36:35 -07:00
satok
dbf2950781 Dismiss the ime switch notification properly
Bug: 5159818

Change-Id: I606294dd453d3cc105714c62b945fcf1fa11164d
2011-08-25 15:29:48 +09:00
Dianne Hackborn
6ff0037792 Merge "Fix to show the correct HW accel background in the preview window." 2011-08-24 20:56:05 -07:00
Dianne Hackborn
07213e6d88 Fix to show the correct HW accel background in the preview window.
Also tweak wallpaper service to do a cleaner transition to a
static wallpaper.

Change-Id: I876a32091f92dd5a529d7fd809d3b8e730bb7d2a
2011-08-24 20:05:39 -07:00
Brett Chabot
b26db260ae Merge "Disable package verification by default." 2011-08-24 19:45:51 -07:00
Brett Chabot
ae05e8655d Disable package verification by default.
Change-Id: I0e02cd177dbb99fc97e964ac87251a900d915b95
2011-08-24 18:38:26 -07:00
Romain Guy
c39e8e89eb Merge "Add OpenGL backend to ImageWallpaper Bug #5204874" 2011-08-24 17:09:30 -07:00
Dianne Hackborn
19bc995e9a Merge "Fix animation scale to also scale start offset." 2011-08-24 17:07:51 -07:00
Romain Guy
407ec78b82 Add OpenGL backend to ImageWallpaper
Bug #5204874

Currently disabled.

Change-Id: I5e7b35dce2981b0691f107e39c6394b260466543
2011-08-24 17:06:58 -07:00
Svetoslav Ganov
8bd69610aa Intra-process view hierarchy interrogation does not work.
The content retrieval APIs are synchronous from a client's
perspective but internally they are asynchronous. The client thread
calls into the system requesting an action and providing a callback
to receive the result after which it waits up to a timeout for that
result. The system enforces security and then delegates the request
to a given view hierarchy where a message is posted (from a binder
thread) describing what to be performed by the main UI thread the
result of which it delivered via the mentioned callback. However,
the blocked client thread and the main UI thread of the target view
hierarchy can be the same one, for example an accessibility service
and an activity run in the same process, thus they are executed on the
same main thread. In such a case the retrieval will fail since the UI
thread that has to process the message describing the work to be done
is blocked waiting for a result is has to compute! To avoid this scenario
when making a call the client also passes its process and thread ids so
the accessed view hierarchy can detect if the client making the request
is running in its main UI thread. In such a case the view hierarchy,
specifically the binder thread performing the IPC to it, does not post a
message to be run on the UI thread but passes it to the singleton
interaction client through which all interactions occur and the latter is
responsible to execute the message before starting to wait for the
asynchronous result delivered via the callback. In this case the expected
result is already received so no waiting is performed.

bug:5138933

Change-Id: I382e2d8689f5189110226613c2387f553df98bd3
2011-08-24 16:26:43 -07:00
Jeff Sharkey
558a232006 Data usage buckets active time, parsing ISE.
When recording data usage, measure the actual active time, since
buckets can be quite long.  Offer incrementOperationCount() version
that reads thread stats tag for caller.  Rethrow any NPE as ISE
during stats parsing, which callers already handle.

Bug: 5171812, 5184508, 5180659
Change-Id: I6da80ccc0162be68bee279529e3a23b6f98ebd87
2011-08-24 16:00:39 -07:00
Dianne Hackborn
a4bacb8b74 Fix animation scale to also scale start offset.
Also more better info in meminfo dump.

Change-Id: I45ab41821cd8dd81b61605de6a0cf7074e76c71a
2011-08-24 15:12:38 -07:00
Christopher Tate
1c424f86c6 Merge "Make sure to go to the right Settings panel when tapping a notification" 2011-08-24 14:12:18 -07:00
Christopher Tate
765f97d5e6 Make sure to go to the right Settings panel when tapping a notification
We now use Intent.makeRestartActivityTask() to build the notification
PendingIntent objects, so that when tapped they restart the activity
in the desired state.

Fixes bug 5011926

Change-Id: Ie1ec3543cc0f49d1bd407622a617316cf53a078c
2011-08-24 14:06:00 -07:00
Chia-chi Yeh
42577560fb Merge "VPN: stop daemons by closing the control sockets." 2011-08-24 13:03:50 -07:00
Dianne Hackborn
2da59ffbda Merge "Fix issue #5192141: systemui asplodes after enough tapping on the windowlist button" 2011-08-24 12:07:10 -07:00
Dianne Hackborn
cfb9f2bca3 Fix issue #5192141: systemui asplodes after enough tapping on the windowlist button
Change-Id: I5afb2d54b531d9eac9435660616579324f239812
2011-08-24 12:06:15 -07:00
Mike Lockwood
d0bf536fd6 Merge "No longer disable notification lights when screen turns on" 2011-08-24 11:03:23 -07:00
satok
cfc0f2c206 Merge "Add functions to set / get SpellCheckerSubtype" 2011-08-24 00:26:01 -07:00
satok
ada8c4e6a3 Add functions to set / get SpellCheckerSubtype
Change-Id: I977326879fe201c4dee4a87da361217175eb6041
2011-08-24 16:00:55 +09:00
Jeff Sharkey
006efb2470 Merge "Proactively disable data when over policy limit." 2011-08-23 21:26:51 -07:00
Jeff Sharkey
8e9992ae50 Register for kernel global data usage alerts.
Instead of polling every 15 minutes, register for alerts that trigger
when system-wide traffic passes a threshold.  Still mixed with polling
to persist UID stats, but relaxed to 30 minutes.  Currently watches
for every 512kB.

Make persistence decision separately for network versus UID, and use
total delta bytes when making decision.  Use light bootstrap during
systemReady() instead of heavy poll, which had been force-loading all
UID data unnecessarily.

Bug: 5023631
Change-Id: I04b723d6c4bf872fb1028071122dba66a8e1b576
2011-08-23 18:46:14 -07:00
Jeff Sharkey
8e28b7d782 Proactively disable data when over policy limit.
Add policy controls to NetworkStateTracker which are combined with
other user preference and internal flags to decide if data connection
should be established.  Better locking around enabled flags.

When data network would be over limit, proactively disable data on
that network.  Enable when policy is snoozed or when cycle resets.

Track and dismiss notifications from now-stale policies.

Bug: 4587023, 5178147
Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
2011-08-23 18:45:44 -07:00
Mike Lockwood
b0626b53ad No longer disable notification lights when screen turns on
The new specification calls for LED to continue blinking until the user
pulls down the notification shade in the status bar.

Bug: 5143247

Change-Id: Id004cc3d1d9d76108329e57c6fbd8a8100068e0a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-23 21:06:45 -04:00
Dianne Hackborn
29aae6f36e Fix issue #4279860: previous UI flashes before showing lock screen...
...(when turning display on after recently turning it off)

Also clean up when we decide to turn the screen on to improve that
transition.  There are still problems here with turning it on
before the wallpaper gets dispayed.

Change-Id: I2bc56c12e5ad75a1ce5a0546f43a845bf0823e66
2011-08-23 17:44:52 -07:00
Jason Simmons
4fbb071fe8 resolved conflicts for merge of 661cd52e to ics-aah
Change-Id: I5eb4154ab969a5367e9f597595c09b5e499174d0
2011-08-22 16:39:16 -07:00
Dianne Hackborn
661cd52e0e Add progress dialog for booting after an upgrade.
This introduces a new facility for code during the boot process
to display messages to the user through a progress dialog.  This
is only for use when performing longer-than-usual post-upgrade
operations such as running dexopt on applications or upgrading
databases.

Change-Id: I0e78439ccec3850fb67872c22f235bf12a158dae
2011-08-22 13:42:05 -07:00
Jim Miller
78ba791878 am 95254800: Merge "Fix 4993068: Don\'t check password history when dpm sets the password"
* commit '9525480021e5f9385293a9e88fab40a2343fdbe8':
  Fix 4993068: Don't check password history when dpm sets the password
2011-08-22 13:31:18 -07:00
Chia-chi Yeh
5317f034ba VPN: stop daemons by closing the control sockets.
As init now uses SIGKILL to stop daemons, performing graceful shutdown
becomes impossible. Here we implement our own solution by asking daemons
to monitor the control socket and terminate when it is closed.

Change-Id: I07a28807173a81b7f95e70f4193e974317acf88a
2011-08-22 13:09:49 -07:00
Jim Miller
0191bba17c Fix 4993068: Don't check password history when dpm sets the password
This fixes a crash caused by permission problems when we try to update
the password history and discover there's no password salt.  The code
attempts to create the salt, which triggers the exception.

This could be fixed by wrapping the call with a clearCallingIdentity()/
restoreCallingIdentity(ident).  However, while looking at it, it occurred to me
that this can cause unexpected failures if the DPM tries to set the
password twice or happens to set it to something in the password history.

Instead, we should *always* allow the DPM to reset the password to whatever it wants,
provided it passes the minimum password criteria.

Change-Id: I1505b24f9c097ee5c2c44e4bf378ba90095b113b
2011-08-21 14:47:59 -07:00
Christopher Tate
1c536f13cc am d6a2be3e: Merge "Allow Instrumentation to kill even persistent processes"
* commit 'd6a2be3ef75892d223bddc82db8a4b4f22d0ec20':
  Allow Instrumentation to kill even persistent processes
2011-08-19 15:23:13 -07:00