114592 Commits

Author SHA1 Message Date
John Spurlock
36439b4312 Decouple IME_ACTIVE and IME_VISIBLE for hardware keyboards.
Reserve IME_VISIBLE for when software keyboards are actually
showing.

Bug:11186297
Change-Id: I4e09a7de353e564bd1a97dadd603d3104254fa56
2013-10-23 17:02:53 -04:00
Adam Powell
9390fcbbc6 am 3e1a9eac: Merge "Import button assets from UX repository" into klp-dev
* commit '3e1a9eaca6b5e1c699c9962e3932298751829660':
  Import button assets from UX repository
2013-10-23 13:31:17 -07:00
Adam Powell
3e1a9eaca6 Merge "Import button assets from UX repository" into klp-dev 2013-10-23 20:28:59 +00:00
Jeff Sharkey
3fa9ce8dc5 am ca8547b4: Merge "Add notification docs to DocumentsProvider." into klp-dev
* commit 'ca8547b435d53aef94646d2e6bc31b09a34a086f':
  Add notification docs to DocumentsProvider.
2013-10-23 12:24:20 -07:00
Chet Haase
2a8eaff4ec am c9d8e383: Merge "Fix leak with transitions when views get removed" into klp-dev
* commit 'c9d8e38317947c7860dcf6e8df032373ace183e9':
  Fix leak with transitions when views get removed
2013-10-23 12:24:16 -07:00
Jeff Sharkey
ca8547b435 Merge "Add notification docs to DocumentsProvider." into klp-dev 2013-10-23 19:19:07 +00:00
Chet Haase
c9d8e38317 Merge "Fix leak with transitions when views get removed" into klp-dev 2013-10-23 19:17:10 +00:00
Jeff Sharkey
9352c383e9 Add notification docs to DocumentsProvider.
Bug: 11272209
Change-Id: I97d67c91c4f4a312cbde82afd9e27509c26517b2
2013-10-23 12:15:34 -07:00
Martijn Coenen
fa191d5ac2 am d9e98a4b: Merge "Unhide BIND_NFC_SERVICE permission." into klp-dev
* commit 'd9e98a4b6d3181ab3d58b7781ee2f88a389ecf1f':
  Unhide BIND_NFC_SERVICE permission.
2013-10-23 11:14:44 -07:00
Martijn Coenen
d9e98a4b6d Merge "Unhide BIND_NFC_SERVICE permission." into klp-dev 2013-10-23 18:12:06 +00:00
Jeff Sharkey
6599c12843 am 871cb5d5: Merge "Update roots when data cleared, refresh UI." into klp-dev
* commit '871cb5d53f14ce6ead2c65ee3a4354e22276a169':
  Update roots when data cleared, refresh UI.
2013-10-23 11:11:11 -07:00
Jeff Sharkey
3a27585df7 am a9a6007c: Merge "Treat document thumbnails as preemptable." into klp-dev
* commit 'a9a6007c0d0acf6d908c897b471492dabbd9ae80':
  Treat document thumbnails as preemptable.
2013-10-23 11:11:08 -07:00
Victoria Lease
d19e7af02a am 5eb3e07c: Merge "add accessibility string for location quicksetting" into klp-dev
* commit '5eb3e07c5d8647f2bc250d37feb0c905621b2f90':
  add accessibility string for location quicksetting
2013-10-23 11:11:04 -07:00
Jeff Sharkey
871cb5d53f Merge "Update roots when data cleared, refresh UI." into klp-dev 2013-10-23 18:09:54 +00:00
Jeff Sharkey
a9a6007c0d Merge "Treat document thumbnails as preemptable." into klp-dev 2013-10-23 18:09:40 +00:00
Adam Powell
c03ef006da Import button assets from UX repository
Bug 11192938

Change-Id: Ib59fd4d288d3ef5f132a4cee2a2e0384053b5594
2013-10-23 11:09:03 -07:00
Victoria Lease
5eb3e07c5d Merge "add accessibility string for location quicksetting" into klp-dev 2013-10-23 17:56:54 +00:00
Dianne Hackborn
adfb4dee74 am 910c2857: Merge "Fix issue #11278906: Some wm commands fail on shell users" into klp-dev
* commit '910c2857937b33391e02558c4b396aefa489f213':
  Fix issue #11278906: Some wm commands fail on shell users
2013-10-23 10:47:02 -07:00
Dianne Hackborn
e6a8ccb3d1 am 2d76a1a0: Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev
* commit '2d76a1a068839ac677e909ba8555fe812eaea841':
  Fix issue #11323037: Android apk incorrectly marked as running in app processes
2013-10-23 10:46:58 -07:00
Dianne Hackborn
910c285793 Merge "Fix issue #11278906: Some wm commands fail on shell users" into klp-dev 2013-10-23 17:44:21 +00:00
Dianne Hackborn
2d76a1a068 Merge "Fix issue #11323037: Android apk incorrectly marked as running in app processes" into klp-dev 2013-10-23 17:44:11 +00:00
Martijn Coenen
8c99ab849e Unhide BIND_NFC_SERVICE permission.
Needs to be held by host-based card emulation
apps in order to work.

Bug: 11352063
Change-Id: I8ba42446cd3066b38309d8e9cbc51d140a023547
2013-10-23 10:43:16 -07:00
Dianne Hackborn
0cca3db9ad Fix issue #11278906: Some wm commands fail on shell users
Binder.clearCallingIdentity makes everything better.

Change-Id: I31cd9478c857553b3cf1ea54d5b4987571788796
2013-10-23 10:23:39 -07:00
John Spurlock
7539a5afa7 am 2f566900: Merge "Ensure the simple CAB appears below the status bar." into klp-dev
* commit '2f566900a4fdeab75c972259a97dfb40b96df421':
  Ensure the simple CAB appears below the status bar.
  Add 'no system permission' test app.
2013-10-23 10:17:13 -07:00
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
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
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
Jim Miller
ca71f48e03 Remove '?' icon in layout for "Forgot pattern" button
Fixes bug 11234297

Change-Id: I5fbb54997b7a2bcf29b3a98b10a2ba4e908283ef
2013-10-22 16:29:17 -07: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
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
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
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
d94b7ffc2e Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-22 19:48:12 +00:00
Baligh Uddin
f56d8694f2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-22 19:48:05 +00:00
John Spurlock
42197263bc Optimize system bar background drawable.
Out with TransitionDrawable.

The new background drawable knows about all possible
background styles, and optimizes the transitions
between them - including picking up from the current
state, force finishing on screen off, and using
SystemClock.elapsedRealtime() for timing.

Bug:11254317
Change-Id: Ice83dc966f6674ef97f7008f2a1b62d67ec59e7d
2013-10-22 15:39:54 -04: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
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
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
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