OSDN Git Service
Felipe Leme [Tue, 9 Feb 2016 00:03:42 +0000 (00:03 +0000)]
Merge "Changed list metered-networks so it returns all networks." into nyc-dev
am:
12ded41d48
* commit '
12ded41d48f710474f0163746d4c454c976b2fe9':
Changed list metered-networks so it returns all networks.
Felipe Leme [Mon, 8 Feb 2016 23:56:35 +0000 (23:56 +0000)]
Merge "Add pid on main bugreport notifications." into nyc-dev
am:
000b84451d
* commit '
000b84451d6a0b83345421ac1eae4ab402d1b8d3':
Add pid on main bugreport notifications.
Svetoslav Ganov [Mon, 8 Feb 2016 23:51:11 +0000 (23:51 +0000)]
Merge "Multi packages per APK" into nyc-dev
am:
f2971c45df
* commit '
f2971c45df3b8a4b2a6e28376b95c2773ffe9e0c':
Multi packages per APK
Siyamed Sinir [Mon, 8 Feb 2016 23:49:06 +0000 (23:49 +0000)]
Merge "Clamp EditText cursor in the drawable boundaries." into nyc-dev
am:
f4aa7d2e8a
* commit '
f4aa7d2e8a21a3b567af3fc7c38d1e85ff904ed9':
Clamp EditText cursor in the drawable boundaries.
Jean-Michel Trivi [Mon, 8 Feb 2016 23:47:29 +0000 (23:47 +0000)]
Merge "Support for Bundle in AudioAttributes" into nyc-dev
am:
c315398694
* commit '
c31539869455f5bfb595a3b4b2001ca6a50a098f':
Support for Bundle in AudioAttributes
Felipe Leme [Mon, 8 Feb 2016 23:26:13 +0000 (23:26 +0000)]
Merge "Changed list metered-networks so it returns all networks." into nyc-dev
Felipe Leme [Mon, 8 Feb 2016 23:25:38 +0000 (23:25 +0000)]
Merge "Add pid on main bugreport notifications." into nyc-dev
Svetoslav Ganov [Mon, 8 Feb 2016 23:20:50 +0000 (23:20 +0000)]
Merge "Multi packages per APK" into nyc-dev
Siyamed Sinir [Mon, 8 Feb 2016 23:18:29 +0000 (23:18 +0000)]
Merge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp
Siyamed Sinir [Mon, 8 Feb 2016 23:16:48 +0000 (23:16 +0000)]
Merge "Clamp EditText cursor in the drawable boundaries." into nyc-dev
Siyamed Sinir [Mon, 8 Feb 2016 23:16:38 +0000 (23:16 +0000)]
Merge "Do not save TextView text when freezesText is false" into nyc-dev
am:
087d7b7c9c
* commit '
087d7b7c9cc071ffa5bc0dfbf5b5565f99cd95fe':
Do not save TextView text when freezesText is false
Svet Ganov [Thu, 17 Dec 2015 19:35:04 +0000 (11:35 -0800)]
Multi packages per APK
This change introduces the ability to have multiple packages per
APK. The feature is currently restricted to privileged apps and
updates to such apps.
In essence the manifest can have multiple child package declarations.
A child package can declare everything an Android package can except
some tags or attributes that are not applicable and instead inherited
from the parent when needed. For example, the target SDK of the parent
applies to all children.
A child package can be updated only through the parent package.
A package with multiple child packages is installed, uninstalled
atomically - no partial installs where some child packages are not
installed.
The remaining work is to ensure broadcasts are also sent for child
packages. This will come in a subsequent change.
Sample app:ag/848432
Design doc: https://docs.google.com/document/d/18nFWtJuZchLxrHf5SBbJW03-Ky9Rh_G0-OVB14b6u78
Change-Id: I6fd021d981bf5786290e0c53502724a14c97358c
Jean-Michel Trivi [Mon, 8 Feb 2016 23:13:19 +0000 (23:13 +0000)]
Merge "Support for Bundle in AudioAttributes" into nyc-dev
Siyamed Sinir [Mon, 8 Feb 2016 23:11:56 +0000 (23:11 +0000)]
Merge "Do not save TextView text when freezesText is false" into nyc-dev
am:
087d7b7c9c
* commit '
087d7b7c9cc071ffa5bc0dfbf5b5565f99cd95fe':
Do not save TextView text when freezesText is false
Chris Craik [Mon, 8 Feb 2016 23:02:06 +0000 (23:02 +0000)]
Merge "Fix TextDropShadowCacheTests and glyph_t everywhere" into nyc-dev
am:
81ece00790
* commit '
81ece007908fa28213f01bca908fc457a7b0a6d1':
Fix TextDropShadowCacheTests and glyph_t everywhere
Chris Craik [Mon, 8 Feb 2016 22:59:25 +0000 (22:59 +0000)]
Merge "Use clang to build microbench" into nyc-dev
am:
edc76fce26
* commit '
edc76fce2632d8fd3e32c07121af3ec355cc336e':
Use clang to build microbench
John Reck [Mon, 8 Feb 2016 22:55:25 +0000 (22:55 +0000)]
Merge "Fix drawing cache on sw drawing" into nyc-dev
am:
8f81637a87
* commit '
8f81637a8707dae992c94dfd891af4420815ece4':
Fix drawing cache on sw drawing
Abhijith Shastry [Mon, 8 Feb 2016 22:52:55 +0000 (22:52 +0000)]
Merge "Hidden permissions to access blocked numbers." into nyc-dev
am:
901bbe0667
* commit '
901bbe066762a644ec0790de8b07199f4464bb4f':
Hidden permissions to access blocked numbers.
Siyamed Sinir [Mon, 8 Feb 2016 22:51:31 +0000 (22:51 +0000)]
Merge "Do not save TextView text when freezesText is false" into nyc-dev
Chris Craik [Mon, 8 Feb 2016 22:47:34 +0000 (22:47 +0000)]
Merge "Fix TextDropShadowCacheTests and glyph_t everywhere" into nyc-dev
Chris Craik [Mon, 8 Feb 2016 22:46:52 +0000 (22:46 +0000)]
Merge "Use clang to build microbench" into nyc-dev
Geoff Mendal [Mon, 8 Feb 2016 22:46:23 +0000 (22:46 +0000)]
Import translations. DO NOT MERGE am:
ac534a6c82 -s ours
am:
51734d060e -s ours
* commit '
51734d060ec6b085c8a1c03ab4525c8c34342d57':
Import translations. DO NOT MERGE
John Reck [Mon, 8 Feb 2016 22:46:09 +0000 (22:46 +0000)]
Merge "Fix drawing cache on sw drawing" into nyc-dev
Chris Craik [Sat, 6 Feb 2016 04:10:50 +0000 (20:10 -0800)]
Fix TextDropShadowCacheTests and glyph_t everywhere
Change-Id: I943eae4e9408c77bdfba6304ba7ee3e862351a41
Chris Craik [Sat, 6 Feb 2016 02:03:36 +0000 (18:03 -0800)]
Use clang to build microbench
Change-Id: I7ae8049fe05e99fadf905abd18553cb28596ba7f
Amit Mahajan [Mon, 8 Feb 2016 22:43:58 +0000 (22:43 +0000)]
Make permission RECEIVE_EMERGENCY_BROADCAST public.
am:
c08268e647
* commit '
c08268e647f89f8ddfd9c6fb1f6ac4f99b13b9cf':
Make permission RECEIVE_EMERGENCY_BROADCAST public.
Tao Bao [Mon, 8 Feb 2016 22:42:07 +0000 (22:42 +0000)]
Merge "Add system APIs for A/B update." into nyc-dev
am:
6af1d75a0c
* commit '
6af1d75a0c1cf814404e5142c3a7932ff9deade9':
Add system APIs for A/B update.
Siyamed Sinir [Tue, 2 Feb 2016 02:30:02 +0000 (18:30 -0800)]
Clamp EditText cursor in the drawable boundaries.
EditText tried to draw outside of the padding boundaries because of a
cursor positioning issue in RTL. This CL removes that fix and instead
clamps the cursor position if cursor is outside of the clipped view
boundary.
Bug:
23397961
Change-Id: Id5f1fbe2a0f571100c89b21758fbb81b14d5da57
Abhijith Shastry [Mon, 8 Feb 2016 22:40:35 +0000 (22:40 +0000)]
Merge "Hidden permissions to access blocked numbers." into nyc-dev
Paul Crowley [Mon, 8 Feb 2016 22:40:23 +0000 (22:40 +0000)]
Merge "Password security for FBE disk encryption keys" into nyc-dev
am:
23b588c7b3
* commit '
23b588c7b3b1a817e35bf3e6916cd99ab1c58a2c':
Password security for FBE disk encryption keys
Wale Ogunwale [Mon, 8 Feb 2016 22:38:27 +0000 (22:38 +0000)]
Merge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp
Wale Ogunwale [Mon, 8 Feb 2016 22:37:25 +0000 (22:37 +0000)]
Fixed issue with drag resize state when animating pinned stack.
am:
ce14452a27
* commit '
ce14452a27acf0492d799ec88c619add3a630a88':
Fixed issue with drag resize state when animating pinned stack.
Wale Ogunwale [Mon, 8 Feb 2016 22:36:12 +0000 (22:36 +0000)]
Fixed issue with drag resize state when animating pinned stack.
am:
ce14452a27
* commit '
ce14452a27acf0492d799ec88c619add3a630a88':
Fixed issue with drag resize state when animating pinned stack.
Geoff Mendal [Mon, 8 Feb 2016 22:33:00 +0000 (22:33 +0000)]
Import translations. DO NOT MERGE
am:
ac534a6c82 -s ours
* commit '
ac534a6c8282f2669bbd5e30836f43d2bfdd5b3d':
Import translations. DO NOT MERGE
Siyamed Sinir [Sat, 6 Feb 2016 00:08:59 +0000 (16:08 -0800)]
Do not save TextView text when freezesText is false
Currently TextView state is saved whenever selection is set even if
freezesText is false. This causes inconsistencies with the described
behavior for the attribute. This CL updates the behavior as:
- Always save the text for EditText
- Always save the selection if there are any.
- Do not save the text for TextView if freezesText is false.
- During onRestoreInstanceState if selection is out of the text
boundaries, do not restore the selection.
Bug:
22076905
Change-Id: I5e05d343e752a7d106c8881993e4d95ae21a38ce
(cherry picked from commit
8535836673c801effce097c54f55814ef88448e7)
Amit Mahajan [Fri, 5 Feb 2016 02:08:30 +0000 (18:08 -0800)]
Make permission RECEIVE_EMERGENCY_BROADCAST public.
It is required to receive intent SMS_EMERGENCY_CB_RECEIVED_ACTION
which is already public.
Bug:
24914029
Change-Id: I2d5461fcedb2cb347c818ab6f94577008f6af242
(cherry picked from commit
45d9b36fc6a609893022b812084987cda3e3717d)
Abhijith Shastry [Sat, 6 Feb 2016 02:28:15 +0000 (18:28 -0800)]
Hidden permissions to access blocked numbers.
BUG:
26232372
Change-Id: I213622ef4623dadcf56745798fb3452c57fa4bd5
John Reck [Mon, 8 Feb 2016 22:13:06 +0000 (14:13 -0800)]
Fix drawing cache on sw drawing
Bug:
26644517
Change-Id: Ie087a05e1dbab75040ca39e0c43df985f8afed3e
Tao Bao [Mon, 8 Feb 2016 22:07:04 +0000 (22:07 +0000)]
Merge "Add system APIs for A/B update." into nyc-dev
Jorim Jaggi [Mon, 8 Feb 2016 21:46:17 +0000 (21:46 +0000)]
Do not update Record.visible if not setting visibility
am:
e66edb1056
* commit '
e66edb10564fa2fd0fb5a9fef2d176870f345646':
Do not update Record.visible if not setting visibility
Paul Crowley [Mon, 8 Feb 2016 21:45:45 +0000 (21:45 +0000)]
Merge "Password security for FBE disk encryption keys" into nyc-dev
Jorim Jaggi [Mon, 8 Feb 2016 21:44:33 +0000 (21:44 +0000)]
Multi-window optimizations #3
am:
e161f08e98
* commit '
e161f08e98fdbe6fe83f70ffa1ea11142a027ebe':
Multi-window optimizations #3
Wale Ogunwale [Sat, 6 Feb 2016 06:51:01 +0000 (22:51 -0800)]
Fixed issue with drag resize state when animating pinned stack.
When animating the pinned stack, we set drag resizing on the top
most task in the stack. This has a couple of issues.
- Only the top most task is put in drag sizing mode and all other
task in the stack will not be in resizing mode.
- The top most task of the stack can change during the animation,
so we fail to clear the drag resize flag on the previous top task.
We now track drag sizing at the stack level and have the stack
drag resizing state affect its tasks drag resizing states.
Also added concept of continuing a bounds animation if the same
target called BoundsAnimationController.animateBounds before the
current animation is done. We don't send onAnimationEnd() for the
current animation that is been cancelled and don't send
onAnimationStarted() for the animation that will be replacing it.
Bug:
25672053
Change-Id: I64e89ed09d81e4802dacebc5818dfa1deb0d588f
Jorim Jaggi [Mon, 8 Feb 2016 21:41:44 +0000 (21:41 +0000)]
Multi-window optimizations #2
am:
c3fb3143a2
* commit '
c3fb3143a2f01e6960f6f50cc58abd845942b342':
Multi-window optimizations #2
Jorim Jaggi [Mon, 8 Feb 2016 21:40:16 +0000 (21:40 +0000)]
Merge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp
Jorim Jaggi [Mon, 8 Feb 2016 21:38:45 +0000 (21:38 +0000)]
Multi-window optimizations #1
am:
69abc194f3
* commit '
69abc194f32b5c955ac7beaf6db37269d596172d':
Multi-window optimizations #1
Jorim Jaggi [Mon, 8 Feb 2016 21:37:43 +0000 (21:37 +0000)]
Multi-window optimizations #1
am:
69abc194f3
* commit '
69abc194f32b5c955ac7beaf6db37269d596172d':
Multi-window optimizations #1
Jorim Jaggi [Mon, 8 Feb 2016 21:36:31 +0000 (21:36 +0000)]
Fix disappearing translucent status bar background
am:
0a13bfdefc
* commit '
0a13bfdefc8a74a147bdf64b44e9f50c097c1599':
Fix disappearing translucent status bar background
Geoff Mendal [Mon, 8 Feb 2016 21:35:26 +0000 (21:35 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am:
e074f31c0d -s ours
* commit '
e074f31c0dbd1ee33cdaa809311cae6eb5e2dec7':
Import translations. DO NOT MERGE
Jorim Jaggi [Fri, 5 Feb 2016 20:41:17 +0000 (12:41 -0800)]
Do not update Record.visible if not setting visibility
In resumeTopActivityInnerLocked we only update the visibility
if not already visible, to avoid a black flicker. However, in the
interaction when docking a task from recents, makeVisible was
called but the conditions weren't met to make it actually visible,
but Record.visible was still set, leading that we didn't call
WM.setAppVisibility in resumeTopActivityInnerLocked
Bug:
27041808
Change-Id: I400470a5b31881542fedd3edb6a97e524666a8a3
Jorim Jaggi [Fri, 5 Feb 2016 22:26:16 +0000 (14:26 -0800)]
Multi-window optimizations #3
- Make sure divider is pushing frames only if necessary
- When starting recents while docking, make sure no unnecessary
animations are played to reduce system load.
Change-Id: I536f009aef7282ed85dde79b853aeae62644f3e3
Jorim Jaggi [Fri, 5 Feb 2016 03:49:28 +0000 (19:49 -0800)]
Multi-window optimizations #2
- Do not relaunch activities in stacks that are not visible during
resize.
Change-Id: Ia6bd17882c17db045450a466ba5347ce53e9b837
Jorim Jaggi [Fri, 5 Feb 2016 03:34:00 +0000 (19:34 -0800)]
Multi-window optimizations #1
- When the window doesn't have a surface, do not add it to
mResizingWindows, so we don't report unnecessary resizes
- computeDragResizing => false when window is not visible, so we
never enter resizing mode even if the window decides to relayout
in the background
Change-Id: I8e6cdef86f1579d128973d4f2f12e87bf9b65524
Jorim Jaggi [Fri, 5 Feb 2016 02:34:50 +0000 (18:34 -0800)]
Fix disappearing translucent status bar background
When relaunching an activity while preserving the window, the content
view was put on top of the status bar background, making it disappear
in case of translucent status bar backgrounds.
Change-Id: I1edff29c10616bf5386e982d7336327135f0f7a0
Geoff Mendal [Mon, 8 Feb 2016 21:14:32 +0000 (21:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 8 Feb 2016 21:10:39 +0000 (13:10 -0800)]
Import translations. DO NOT MERGE
Change-Id: I477868c67814a6bd353474266dbff375d3b26b4c
Auto-generated-cl: translation import
Robert Carr [Mon, 8 Feb 2016 20:56:09 +0000 (20:56 +0000)]
Ensure surfaces stay alive until activity stop.
am:
e12aece4ca
* commit '
e12aece4cad849efbbe6a806f132613a56699230':
Ensure surfaces stay alive until activity stop.
Robert Carr [Wed, 3 Feb 2016 06:43:27 +0000 (22:43 -0800)]
Ensure surfaces stay alive until activity stop.
Prior to this commit in this case of activity pause, with finishing=true
the activity manager will notify us of app visibility and we will begin
an exit animation. When this exit animation finishes, we will destroy
the application surface (unless its eligible for saving). However there
are two cases where this breaks down:
1. The exit animation finishes before the activity thread handles
the stop transition. Many activities stop rendering on Pause
but many do not and it is totally legal to do so. Sometimes this
results in non fatal dequeue buffer errors and sometimes results in
fatal errors with Pixel Buffers, etc...
2. We may resume the activity shortly after asking the window manager
to pause it. If the window wasn't eligible for animation, we will
immediately destroy it after being told of the visibility change
following PAUSE_FINISHING. It's possible for this to complete
before we process the resume. On the other hand the client
happilly processes the resume and transitions back from PAUSE
and then crashes once it attempts to use it's surface.
In this commit we have the activity manager notify the window manager
when an application has actually finished (or we have timed out
waiting). For windows which have not been explicitly removed by the
client, we defer destruction until we have received both this signal
and the animation has completed.
Bug:
26793431
Change-Id: Ib6ee8fbdd1f03450fbbfd62468a19e97774befab
George Mount [Mon, 8 Feb 2016 20:41:17 +0000 (20:41 +0000)]
Fix Fade transition interrupt.
am:
5affef0773
* commit '
5affef077316e73337eb42a098a126b01d20568e':
Fix Fade transition interrupt.
Felipe Leme [Mon, 8 Feb 2016 18:12:01 +0000 (10:12 -0800)]
Changed list metered-networks so it returns all networks.
Prior to this change it was relying on NMPS.getNetworkPolicies(), which
would not return networks that never had any policy attribute (like
metered) set.
This change fix this problem by also querying the WifiManager for the
list of saved wi-fi networks. In fact, the new logic is very similar to
what's done on SettingLib's NetworkPolicyEditor.
BUG:
26685616
Change-Id: I42f37de3a7367718036f45b15c6b5d37b67e7d01
George Mount [Thu, 4 Feb 2016 23:24:30 +0000 (15:24 -0800)]
Fix Fade transition interrupt.
Bug
26963113
When a Fade transition is interrupted and reversed, the
View started the animation from the beginning. This change
captures the previous transitionAlpha and starts the animation
from the previous alpha state.
Change-Id: I801fe9ade6af4cf8446838e231bdc71841668a18
(cherry picked from commit
3cf9fa3db0231d035142c27992818d8f7827ac3e)
Jeff Sharkey [Mon, 8 Feb 2016 20:00:05 +0000 (20:00 +0000)]
Merge "Move graphics and JIT caches to DE storage." into nyc-dev
am:
95728a5db6
* commit '
95728a5db6595e473acf8f428f238afc2fdbbe80':
Move graphics and JIT caches to DE storage.
Geoff Mendal [Mon, 8 Feb 2016 19:50:43 +0000 (19:50 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am:
d1bbdeb86e -s ours
* commit '
d1bbdeb86e5b6b83465440947dffc89de46a3f93':
Import translations. DO NOT MERGE
Adam Powell [Mon, 8 Feb 2016 19:47:48 +0000 (19:47 +0000)]
Permit setRetainInstance(true) on nested fragments, framework edition
am:
44ba79e47d
* commit '
44ba79e47d6db54e5501f994880fa09eb880c185':
Permit setRetainInstance(true) on nested fragments, framework edition
Jeff Sharkey [Mon, 8 Feb 2016 19:47:20 +0000 (19:47 +0000)]
Merge "Move graphics and JIT caches to DE storage." into nyc-dev
Adam Powell [Mon, 8 Feb 2016 19:45:31 +0000 (19:45 +0000)]
FragmentTransaction.commitNow, framework edition
am:
8585ed66b9
* commit '
8585ed66b947ef30d6a43f0bb91885ed0c5ebfb4':
FragmentTransaction.commitNow, framework edition
Adam Powell [Mon, 8 Feb 2016 19:42:31 +0000 (19:42 +0000)]
Preserve compatibility for ViewGroup#showContextMenuForChild
am:
2af189a0a7
* commit '
2af189a0a7962501b808cd50499d978a7cd10d81':
Preserve compatibility for ViewGroup#showContextMenuForChild
Philip P. Moltmann [Mon, 8 Feb 2016 19:41:15 +0000 (19:41 +0000)]
Merge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp
Philip P. Moltmann [Mon, 8 Feb 2016 19:38:56 +0000 (19:38 +0000)]
Merge "Clarify synchronization between PrintActivity and RemotePrintDocument" into nyc-dev
am:
199cb4dfe5
* commit '
199cb4dfe58bd5a4198cd414dcefd2b02d48548d':
Clarify synchronization between PrintActivity and RemotePrintDocument
Philip P. Moltmann [Mon, 8 Feb 2016 19:36:55 +0000 (19:36 +0000)]
Merge "Clarify synchronization between PrintActivity and RemotePrintDocument" into nyc-dev
am:
199cb4dfe5
* commit '
199cb4dfe58bd5a4198cd414dcefd2b02d48548d':
Clarify synchronization between PrintActivity and RemotePrintDocument
Jae Seo [Mon, 8 Feb 2016 19:36:55 +0000 (19:36 +0000)]
Merge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp
Jae Seo [Mon, 8 Feb 2016 19:35:44 +0000 (19:35 +0000)]
TIF: Update the internal input list with new TvInputInfo
am:
abda420b9d
* commit '
abda420b9d2959776093230cd2e157a6080f2f64':
TIF: Update the internal input list with new TvInputInfo
Jae Seo [Mon, 8 Feb 2016 19:34:55 +0000 (19:34 +0000)]
TIF: Update the internal input list with new TvInputInfo
am:
abda420b9d
* commit '
abda420b9d2959776093230cd2e157a6080f2f64':
TIF: Update the internal input list with new TvInputInfo
Felipe Leme [Mon, 8 Feb 2016 19:33:45 +0000 (19:33 +0000)]
Merge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp
Felipe Leme [Mon, 8 Feb 2016 19:32:35 +0000 (19:32 +0000)]
Merge "Replaced \'touch\' by \'tap\'." into nyc-dev
am:
ed330c7f7d
* commit '
ed330c7f7d98eabce8562ce34d5877a323c745ac':
Replaced 'touch' by 'tap'.
Felipe Leme [Mon, 8 Feb 2016 19:31:47 +0000 (19:31 +0000)]
Merge "Replaced \'touch\' by \'tap\'." into nyc-dev
am:
ed330c7f7d
* commit '
ed330c7f7d98eabce8562ce34d5877a323c745ac':
Replaced 'touch' by 'tap'.
Geoff Mendal [Mon, 8 Feb 2016 19:29:23 +0000 (19:29 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am:
83f7ae9628 -s ours
* commit '
83f7ae9628f7514373a23b0e42ded71874731702':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 8 Feb 2016 19:27:36 +0000 (19:27 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am:
0d005fee78 -s ours
* commit '
0d005fee78039155779b155639e0b95c5cbc87c6':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 8 Feb 2016 19:25:33 +0000 (19:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Jean-Michel Trivi [Fri, 5 Feb 2016 23:20:35 +0000 (15:20 -0800)]
Support for Bundle in AudioAttributes
Bug
25449464
Change-Id: I99cdfd4589e3161b52620e439ba993ce21d256b4
Jeff Sharkey [Mon, 8 Feb 2016 19:16:00 +0000 (12:16 -0700)]
Move graphics and JIT caches to DE storage.
We confirmed with the graphics and JIT teams that no sensitive
user data is written to these caches, so they're safe to point at DE
storage.
Since we don't have control over what is written by the app, we need
to keep the cache environment variable pointing at CE storage.
Fix ensurePrivateDirExists() to always return a path, instead of
returning null which can cause scary bugs.
Change packages.list to no longer canonicalize data paths, since
these fail when CE storage is still locked.
Bug:
27069522
Change-Id: Ifff64a036fa4aa1e61aa0dd98486bc711fbf8f4a
Geoff Mendal [Mon, 8 Feb 2016 19:22:21 +0000 (19:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am:
f872232b45 -s ours
* commit '
f872232b454363fd0f23b2d40dd3b0983306ad4e':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 8 Feb 2016 19:22:17 +0000 (11:22 -0800)]
Import translations. DO NOT MERGE
Change-Id: I14edb5a78192ca001f700de6dcc57c1c55b528fc
Auto-generated-cl: translation import
Geoff Mendal [Mon, 8 Feb 2016 19:20:15 +0000 (19:20 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am:
1e2c97f9bc -s ours
* commit '
1e2c97f9bc194502d8d7d561b4c3a4a71ec62c0f':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 8 Feb 2016 19:18:52 +0000 (19:18 +0000)]
Import translations. DO NOT MERGE
am:
839aa9db82 -s ours
* commit '
839aa9db820952cf58f5598cbdebd723310d885f':
Import translations. DO NOT MERGE
Julia Reynolds [Mon, 8 Feb 2016 19:11:54 +0000 (19:11 +0000)]
Merge "Update DND visual interruption choices." into nyc-dev
am:
ae0f0da91b
* commit '
ae0f0da91b4017a84665dbe51ce13c0af54d862c':
Update DND visual interruption choices.
Adam Powell [Fri, 5 Feb 2016 00:20:37 +0000 (16:20 -0800)]
Permit setRetainInstance(true) on nested fragments, framework edition
Save arbitrarily nested fragments across config changes as
nonconfiguration objects. This permits the use of retain-instance
child fragments as arbitrary opaque dependencies within other
fragments.
Change-Id: Ia6640b76cfcf7ec28ba252628957a0c14863e957
(cherry picked from commit
7466be66263d5ebffb786ea402d9ed6e36c254f0)
Geoff Mendal [Mon, 8 Feb 2016 19:09:29 +0000 (19:09 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am:
d65d343481 -s ours
* commit '
d65d343481475625ac20ebf6eb5a72a4ae983146':
Import translations. DO NOT MERGE
Adam Powell [Thu, 4 Feb 2016 23:38:20 +0000 (15:38 -0800)]
FragmentTransaction.commitNow, framework edition
Offer commitNow and commitNowAllowingStateLoss methods on Fragment for
use by encapsulated components using fragments as implementation
details. This can help prevent unexpected ordering side effects at the
app level when a call to a library method wants to commit and
immediately initialize a fragment as an implementation detail.
Note that this change still does not permit reentrant FragmentManager
operations. It is still an error to add/remove/change fragments in the
same FragmentManager while a fragment transaction is being executed.
Have the commonly used ViewPager adapters use commitNow instead of
executePendingTransactions.
Change-Id: Ia37a871234a287423063f0c2c3e4c93d69116cad
(cherry picked from commit
f6b30662f87f7339d0d3946dcf71e930c2fead9b)
Adam Powell [Fri, 5 Feb 2016 23:52:02 +0000 (15:52 -0800)]
Preserve compatibility for ViewGroup#showContextMenuForChild
Have the new showContextMenuForChild(View, float, float) call through
to the old showContextMenuForChild(View) before recursing up to its
parent. This ensures that existing apps with custom views that
override the old method still get called as expected if they implement
custom behavior.
Unlike some other similar circumstances we aren't implementing this to
be bidirectional as the new behavior doesn't need to be triggered by
invoking the old. If the older method is invoked explicitly we will
still show old-style dialog context menus instead of the newer popup
style since we won't have a good place to visually anchor a popup.
Bug
26919262
Change-Id: Ie09f922d322b5a24789c7867820c4bc43824c385
(cherry picked from commit
759a4c54004af6ac9f42c9c42496a5eb73c461ff)
Philip P. Moltmann [Mon, 8 Feb 2016 18:41:55 +0000 (18:41 +0000)]
Merge "Clarify synchronization between PrintActivity and RemotePrintDocument" into nyc-dev
Tao Bao [Mon, 8 Feb 2016 17:51:38 +0000 (09:51 -0800)]
Add system APIs for A/B update.
Add android.os.UpdateEngine and UpdateEngineCallback classes that
communicate with the update engine via binder APIs for A/B update.
Bug:
26695366
Change-Id: I2471858d28df5443bc0b56d9a20281ccebde4484
Jae Seo [Fri, 29 Jan 2016 03:13:04 +0000 (19:13 -0800)]
TIF: Update the internal input list with new TvInputInfo
Bug:
26864151, Bug:
26863281
Change-Id: I33e357aac74bceda50c794eb6057c363de9250b8
(cherry picked from commit
89a9937927e05a86938aa297a79047ce1a7c7d2d)
Felipe Leme [Mon, 8 Feb 2016 18:10:18 +0000 (18:10 +0000)]
Merge "Replaced 'touch' by 'tap'." into nyc-dev
Geoff Mendal [Mon, 8 Feb 2016 18:09:21 +0000 (18:09 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 8 Feb 2016 17:54:37 +0000 (23:24 +0530)]
Import translations. DO NOT MERGE
Change-Id: I5c2b346ce87737f9e8077f014d52e0e908a43418
Auto-generated-cl: translation import
Geoff Mendal [Mon, 8 Feb 2016 17:49:22 +0000 (17:49 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Felipe Leme [Mon, 8 Feb 2016 17:42:52 +0000 (09:42 -0800)]
Replaced 'touch' by 'tap'.
BUG:
26884266
Change-Id: Ic3d7be8a10b768101b161644e46c92cd872621db
Felipe Leme [Mon, 8 Feb 2016 17:39:50 +0000 (09:39 -0800)]
Add pid on main bugreport notifications.
Showing the pid is useful in many cases, like when one bug report is finished
and another one is in progress.
BUG:
26906985
Change-Id: Ib8ae462c85246b99234f8dac63edb608d1eafeb0
Philip P. Moltmann [Wed, 3 Feb 2016 19:03:16 +0000 (11:03 -0800)]
Clarify synchronization between PrintActivity and RemotePrintDocument
The general theme of these changes is to always delay any action until
the printDocument finishes a command. This is done:
- Before callinng for into a different activity to select a name for the
PDF
- Before finishing
The second theme is to fix the canceling behavior of
RemotePrintDocument.AsyncCommand.
There are four bugs fixed in this review:
(1)
When the RemotePrintDocument.AsyncCommand is canceled it goes into the
"canceling" state. When it is canceled again it should stay in this
state. Before it went to "canceled" but the command was still running.
(see AsyncCommand#cancel()).
(2)
When finishing the PrintActivity in PrintActivity.doFinish() we cancel
the RemotePrintDocument. If there is a command still in progress (i.e.
isUpdating()) and it finished as canceled we used to call doFinish()
again and then try to double-clean up which lead to exceptions.
The new behavior is that is the PrintActivity is calling doFinish()
while a command is still in progress (i.e. isUpdating()) we delay the
cleanup until the command finishes. The command might finish as
canceled, completed or failed. Hence we have to call doFinish() in the
callbacks for all three cases.
(3)
When canceling there might have still been a nextCommand ready, hence
canceling does not stop execution of the RemotePrintDocument which could
lead to running commands while finshing.
(4)
When getting the location to store the PDF at a command might still be
in progress. This lead to half executed commands and caused issues once
we try to continue after the select-location-activity returns
Bug:
24713704
Bug:
24973884
Change-Id: Ied90fe8dc9bd6ea7f8b3e4ce4f922e477015568d