118217 Commits

Author SHA1 Message Date
Jeff Sharkey
46de7b5024 Update roots when data cleared, refresh UI.
Data cleared usually means accounts went away, so kick off roots
refresh.  Also update any visible UI after a refresh finishes.

Bug: 10899793
Change-Id: Id68c80b5e635e358cfd75f4961ce13cd1c7c5f82
2013-10-23 09:59:06 -07:00
Jeff Sharkey
b3d42635aa Treat document thumbnails as preemptable.
When a more important request comes along, preempt all outstanding
thumbnail requests.

Bug: 11317901
Change-Id: I164fc8d804bb9c471e6da3f8127228043b3ca482
2013-10-23 09:23:13 -07:00
John Spurlock
2f566900a4 Merge "Ensure the simple CAB appears below the status bar." into klp-dev 2013-10-23 15:48:22 +00:00
Narayan Kamath
515662fa6f Get rid of coretests/android.text.HtmlTest
This is a strict subset of android.text.cts.HtmlTest and
is currently completely broken (due to ltr changes).

Change-Id: If8d5c8a03f96ef3712cd398f297c8872d91403bb
2013-10-23 15:36:18 +01:00
Dianne Hackborn
237cefbcee Fix issue #11323037: Android apk incorrectly marked as running in app processes
The android package is now a special case, not being added to the package list
when creating a multi-process component.  There is no need, since this package
is actually the framework itself which must be loaded in every process.

Also cleaned up some of the procstats dump output to help see what is going
on here.

Change-Id: If65d35ecd562f3154bdebfded69c454af6ce8c96
2013-10-22 19:15:49 -07:00
Brett Chabot
89bd973344 Merge "Add 'no system permission' test app." into klp-dev 2013-10-23 01:17:34 +00:00
Todd Poynor
0edc5b50ab BatteryService: use new batteryproperties service name
Change-Id: Ib065a1099ec17d799f9caa6bb48390b478c28ed7
2013-10-22 17:53:13 -07:00
Todd Poynor
50ae385894 BatteryService: remove dumpsys-only info duplicated by systemhealth
Change-Id: I7fa605304b5f62ea19bcf3851d11abe7bf6c83f5
2013-10-23 00:15:08 +00:00
Christopher Tate
4c795f6990 am 037fa248: am d34e1155: am 5f474fcb: Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev
* commit '037fa2489ff4d8646e4df67950fc93a80345d879':
  Edge case: overriden system package moved & became privileged in OTA
2013-10-22 16:50:35 -07:00
Christopher Tate
037fa2489f am d34e1155: am 5f474fcb: Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev
* commit 'd34e1155226e8885d51c05209c7c87503528a2db':
  Edge case: overriden system package moved & became privileged in OTA
2013-10-22 16:45:51 -07:00
Christopher Tate
d34e115522 am 5f474fcb: Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev
* commit '5f474fcb6d6a0215f7726580921e0610ca6281a1':
  Edge case: overriden system package moved & became privileged in OTA
2013-10-22 16:42:39 -07:00
Christopher Tate
5f474fcb6d Merge "Edge case: overriden system package moved & became privileged in OTA" into klp-dev 2013-10-22 23:38:02 +00:00
Chet Haase
df32aa8715 Fix leak with transitions when views get removed
Transitions, when started, add an OnPreDrawListener to the current
ViewTreeObserver (which is global to the view hierarchy). This listener
is removed when the listener is called.

It is possible to add this listener and then remove the view from
the hierarchy before the listener is called. This could result in
either the listener not getting called at all (since there was no
drawing event) or (in the case of this bug) the listener getting called
when the sceneRoot had no AttachInfo (which is the case when that
root has been removed from the hierarchy). This results in the listener
trying to remove itself from a *different* ViewTreeObserver than the one
it added itself to, leaving the actual listener still sitting on a list
of listeners in that original VTO. This can result in a growing list of
listeners and a growing amount of work that gets done on every frame.
It can also lead to a serious memory leak, since the objects referred to
by the transition may be non-trivial (as in the case of this bug).

The fix is to add another mechanism for the listener to get removed.
Specifically, we now listen for detach events on the sceneRoot. If that
view gets detached before the listener is called, then we have a chance to
remove it from the correct VTO before the AttachInfo becomes null.

Issue #11307391 keyguard is slow after updating to krt16c and playing music

Change-Id: I108413ea2f18f5351df0a11d4ae56fec0b4aa154
2013-10-22 16:27:56 -07:00
Christopher Tate
9f08820025 Edge case: overriden system package moved & became privileged in OTA
Because properly continuing permission grants post-OTA has changed
policy to include privilege considerations based on install location,
make sure that we re-evaluate when we determine that the apk has
moved from its pre-OTA location.

Bug 11271490

Change-Id: I6c09986e2851a67504268b289932588457c05dfc
2013-10-22 15:36:01 -07:00
Craig Mautner
94fb73beaa am 004aa071: am deba7bb0: am 798adeff: Don\'t use transient states for wallpaper animation.
* commit '004aa0714a1dbad33ee11c210edf7371e424b26b':
  Don't use transient states for wallpaper animation.
2013-10-22 15:02:00 -07:00
Craig Mautner
004aa0714a am deba7bb0: am 798adeff: Don\'t use transient states for wallpaper animation.
* commit 'deba7bb0ca821d219a384c3d611e8a25da32e07d':
  Don't use transient states for wallpaper animation.
2013-10-22 14:59:38 -07:00
Craig Mautner
deba7bb0ca am 798adeff: Don\'t use transient states for wallpaper animation.
* commit '798adeffb0b9c22707b493895453e7dd2f608b75':
  Don't use transient states for wallpaper animation.
2013-10-22 14:58:12 -07:00
Craig Mautner
798adeffb0 Don't use transient states for wallpaper animation.
The WindowManagerService member mLowerWallpaperTarget is not stable
throughout an app transition. Relying on it to be stable causes the
intra-wallpaper animation to start out right but after the windows
have been relayed out there is no longer a lower wallpaper target.
This causes the wallpaper to start tracking the animation of the
current wallpaper target rather than remain stable.

Switching to a new variable that saves the state of wallpaper
animation at the start of the animation fixes bug 11240590.

Change-Id: I336a59c47665fcf61019f567b8663956ff0e4940
2013-10-22 14:50:52 -07:00
Costin Manolache
ec1bd6e5b2 Merge "Remove the warning if the caller gets the insecure variant and add hostname verification (SNI)" 2013-10-22 20:24:26 +00:00
Craig Mautner
dd2399a0d9 am 74897f07: am d37d1859: am 40006309: Merge "Check for home activity when switching focus." into klp-dev
* commit '74897f07491078e14282b30174cf14c9815d8dc0':
  Check for home activity when switching focus.
2013-10-22 13:09:22 -07:00
Craig Mautner
74897f0749 am d37d1859: am 40006309: Merge "Check for home activity when switching focus." into klp-dev
* commit 'd37d1859794e72ea6f9b98f83bf004a4364b4b2d':
  Check for home activity when switching focus.
2013-10-22 13:07:00 -07:00
Craig Mautner
d37d185979 am 40006309: Merge "Check for home activity when switching focus." into klp-dev
* commit '40006309990c40f5b4b26646b98df222d8d27922':
  Check for home activity when switching focus.
2013-10-22 13:04:07 -07:00
Craig Mautner
4000630999 Merge "Check for home activity when switching focus." into klp-dev 2013-10-22 20:01:12 +00:00
Baligh Uddin
52c2365cb7 am 9dd9445a: (-s ours) am b1c3072c: (-s ours) am d94b7ffc: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '9dd9445a365f77e1b45af39218e31df764238f32':
  Import translations. DO NOT MERGE
2013-10-22 12:57:14 -07:00
Baligh Uddin
ea4ad2dba8 am f04e6695: (-s ours) am 501633dd: (-s ours) am f56d8694: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'f04e66953b8d6f694b4cc2e80cb8cc0212d31443':
  Import translations. DO NOT MERGE
2013-10-22 12:57:09 -07:00
Baligh Uddin
9dd9445a36 am b1c3072c: (-s ours) am d94b7ffc: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'b1c3072ca3cf6835b43d2e7152b284d00bdcdadf':
  Import translations. DO NOT MERGE
2013-10-22 12:55:18 -07:00
Baligh Uddin
f04e66953b am 501633dd: (-s ours) am f56d8694: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '501633dd45858159255447f7b4118a80b44bbcae':
  Import translations. DO NOT MERGE
2013-10-22 12:55:15 -07:00
Baligh Uddin
b1c3072ca3 am d94b7ffc: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'd94b7ffc2e621a48bed9f10fa03dcc7508fce8ce':
  Import translations. DO NOT MERGE
2013-10-22 12:52:23 -07:00
Baligh Uddin
501633dd45 am f56d8694: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'f56d8694f224ef7082c48a227d18d5612a4cfe11':
  Import translations. DO NOT MERGE
2013-10-22 12:52:16 -07:00
Baligh Uddin
530bdf0814 Merge "Import translations. DO NOT MERGE" 2013-10-22 19:48:17 +00:00
Baligh Uddin
d94b7ffc2e Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-22 19:48:12 +00:00
Baligh Uddin
d271d054a9 Merge "Import translations. DO NOT MERGE" 2013-10-22 19:48:09 +00:00
Baligh Uddin
f56d8694f2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-22 19:48:05 +00:00
Craig Mautner
04f0b70c13 Check for home activity when switching focus.
When finishing or stopping an activity the code was automatically
refocusing to the next activity on the same stack independent of the
task's onTopOfHome flag. When the activity eventually finished or
stopped it would then honor the onTopOfHome flag.

This fix examines the onTopOfHome flag and arranges the focus
correctly if home is the next activity to run.

Fixes bug 11318263.

Change-Id: I73a8f5e82de04b01acaffe366b085f9e475e1451
2013-10-22 12:31:01 -07:00
Satoshi Kataoka
d7443c83ce Notify commitText event to InputMethodManagerService
for the intelligent subtype switching

Bug: 7043015
Change-Id: I11ed9a767588f8080753cd9bce011dac7db579ad
2013-10-23 04:14:43 +09:00
John Spurlock
a81736a74d Ensure the simple CAB appears below the status bar.
When the contextual action bar is not in overlay mode,
the screen layout is a linear layout.  (screen_simple.xml)

Ensure the standalone CAB appears below the status bar,
consumes the top offset (to avoid content application below it)
and fill in the status area with a guard view for background
protection.

Bug:10014069
Change-Id: I614f16dfa77367a94808aef54710ffebd66e1ca8
2013-10-22 13:51:52 -04:00
Craig Mautner
d8796d44d5 am 39308006: am e609a677: am 74082349: Merge "Make sure mFocusedStack is never the home stack." into klp-dev
* commit '39308006d6868fa7be892276e31ff90943f8d99b':
  Make sure mFocusedStack is never the home stack.
2013-10-22 10:45:02 -07:00
Craig Mautner
39308006d6 am e609a677: am 74082349: Merge "Make sure mFocusedStack is never the home stack." into klp-dev
* commit 'e609a677f8ff02aa163d6136370b9fee0dec9096':
  Make sure mFocusedStack is never the home stack.
2013-10-22 10:42:48 -07:00
Craig Mautner
e609a677f8 am 74082349: Merge "Make sure mFocusedStack is never the home stack." into klp-dev
* commit '7408234985707f98d4800cdd43a6fcaa35cb628a':
  Make sure mFocusedStack is never the home stack.
2013-10-22 10:39:51 -07:00
Craig Mautner
7408234985 Merge "Make sure mFocusedStack is never the home stack." into klp-dev 2013-10-22 17:36:57 +00:00
Craig Mautner
d1bbdb462a Make sure mFocusedStack is never the home stack.
There were circumstances where mFocusedStack could be assigned the
home stack. If this were ever to occur then all subsequent tasks would
be put on the home stack. This fix ensures that there is no way that
mFocusedStack will ever be assigned to the home task.

Fixes bug 11271189.

Change-Id: I7ddd9b6bcbf2787cbe2f44b461ad057ae2241f00
2013-10-22 09:53:20 -07:00
Roman Nurik
f69719662d am b1f8f31b: am 1330dfa8: am acc642bc: Merge "Add Nexus 5 to Device Art Generator." into klp-dev
* commit 'b1f8f31b4c24d00e4607d01fbf851a6ab14b34da':
  Add Nexus 5 to Device Art Generator.
2013-10-22 09:15:23 -07:00
Roman Nurik
b1f8f31b4c am 1330dfa8: am acc642bc: Merge "Add Nexus 5 to Device Art Generator." into klp-dev
* commit '1330dfa8c73f05dc076cc822dd46805a1ac31200':
  Add Nexus 5 to Device Art Generator.
2013-10-22 09:12:25 -07:00
Roman Nurik
1330dfa8c7 am acc642bc: Merge "Add Nexus 5 to Device Art Generator." into klp-dev
* commit 'acc642bce9e1ca1782c8f93131d944d4a2f92be0':
  Add Nexus 5 to Device Art Generator.
2013-10-22 09:09:05 -07:00
Roman Nurik
acc642bce9 Merge "Add Nexus 5 to Device Art Generator." into klp-dev 2013-10-22 16:06:20 +00:00
Brett Chabot
305258da75 Add 'no system permission' test app.
Used in PackageManagerOTATests to verify upgraded system apps
are granetd new permissions.

Bug 11271490

Change-Id: Idbc07bc043d06ea15dc41285ecbfb8186a7ecc95
2013-10-22 04:58:50 +00:00
Craig Mautner
8e867f3810 am e0bebd29: am 0857e3b9: am 24ba3234: Merge "Do not delete stacks that are not empty." into klp-dev
* commit 'e0bebd294e7d2b998cc71e77e99f311c6321a6a1':
  Do not delete stacks that are not empty.
2013-10-21 21:41:47 -07:00
Craig Mautner
e0bebd294e am 0857e3b9: am 24ba3234: Merge "Do not delete stacks that are not empty." into klp-dev
* commit '0857e3b97a12bbd9f4d333b620bd7dfbd275c812':
  Do not delete stacks that are not empty.
2013-10-21 21:38:12 -07:00
Craig Mautner
0857e3b97a am 24ba3234: Merge "Do not delete stacks that are not empty." into klp-dev
* commit '24ba3234caa27185aa34aab5b88190f85f9a8d75':
  Do not delete stacks that are not empty.
2013-10-21 21:34:59 -07:00
Craig Mautner
24ba3234ca Merge "Do not delete stacks that are not empty." into klp-dev 2013-10-22 04:31:12 +00:00