OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "TIF: Allow the application to indicate a TV program to record" into nyc-dev
Jae Seo [Tue, 9 Feb 2016 02:20:22 +0000 (02:20 +0000)]
Merge "TIF: Allow the application to indicate a TV program to record" into nyc-dev
am: 2a061b5bcf

* commit '2a061b5bcfb92be2829f6fe9a6d86352193752e3':
  TIF: Allow the application to indicate a TV program to record

8 years agoMerge "TIF: Allow the application to indicate a TV program to record" into nyc-dev
Jae Seo [Tue, 9 Feb 2016 02:14:11 +0000 (02:14 +0000)]
Merge "TIF: Allow the application to indicate a TV program to record" into nyc-dev

8 years agoMerge "Put dismiss end target at navigation bar" into nyc-dev
Jorim Jaggi [Tue, 9 Feb 2016 02:00:11 +0000 (02:00 +0000)]
Merge "Put dismiss end target at navigation bar" into nyc-dev
am: 93f04f8920

* commit '93f04f89202d269fbb38c6f2ffacc3fa01728bbc':
  Put dismiss end target at navigation bar

8 years agoMerge "Put dismiss end target at navigation bar" into nyc-dev
Jorim Jaggi [Tue, 9 Feb 2016 01:56:23 +0000 (01:56 +0000)]
Merge "Put dismiss end target at navigation bar" into nyc-dev

8 years agoMerge "Enable RTT Responder Role (1/4)." into mm-wireless-dev am: 03a6b18350
Wei Wang [Tue, 9 Feb 2016 01:18:18 +0000 (01:18 +0000)]
Merge "Enable RTT Responder Role (1/4)." into mm-wireless-dev am: 03a6b18350
am: c5c898640f

* commit 'c5c898640fd79562a3f278dbe825b39b0b65c7f7':
  Enable RTT Responder Role (1/4).

8 years agoMerge "Enable RTT Responder Role (1/4)." into mm-wireless-dev
Wei Wang [Tue, 9 Feb 2016 01:14:34 +0000 (01:14 +0000)]
Merge "Enable RTT Responder Role (1/4)." into mm-wireless-dev
am: 03a6b18350

* commit '03a6b1835060b6c2082ea231fb1ad539aefd916e':
  Enable RTT Responder Role (1/4).

8 years agoMerge "Enable RTT Responder Role (1/4)." into mm-wireless-dev
Wei Wang [Tue, 9 Feb 2016 01:07:33 +0000 (01:07 +0000)]
Merge "Enable RTT Responder Role (1/4)." into mm-wireless-dev

8 years agoMerge "Clean up accessibility gestures." into nyc-dev
Phil Weaver [Tue, 9 Feb 2016 01:06:45 +0000 (01:06 +0000)]
Merge "Clean up accessibility gestures." into nyc-dev
am: bdadd644a8

* commit 'bdadd644a8873ca658775a6bf6b2b0c7838e1d9d':
  Clean up accessibility gestures.

8 years agoFix vector "right arrow" drawable to be properly 24dp.
Oren Blasberg [Tue, 9 Feb 2016 01:02:39 +0000 (01:02 +0000)]
Fix vector "right arrow" drawable to be properly 24dp.
am: 8ec0c5eb13

* commit '8ec0c5eb134183832fe182cfa2f5051e0fcc94e9':
  Fix vector "right arrow" drawable to be properly 24dp.

8 years agoMerge "Clean up accessibility gestures." into nyc-dev
Phil Weaver [Tue, 9 Feb 2016 01:00:17 +0000 (01:00 +0000)]
Merge "Clean up accessibility gestures." into nyc-dev

8 years agoFix vector "right arrow" drawable to be properly 24dp.
Oren Blasberg [Mon, 8 Feb 2016 23:17:07 +0000 (15:17 -0800)]
Fix vector "right arrow" drawable to be properly 24dp.

This drawable is used for cascading menus. It was 25dp on one dimension
before, for some reason. I verified it looks fine at 24x24.

Change-Id: Iff5d4f00655d77830d9492190b1a74ef6f408f47
(cherry picked from commit c007e91cc0519adeb4ff35e9e8c436231c2be822)

8 years agoPut dismiss end target at navigation bar
Jorim Jaggi [Thu, 4 Feb 2016 06:04:22 +0000 (22:04 -0800)]
Put dismiss end target at navigation bar

This makes the animation when exiting docked mode a bit nicer
when you fling the divider towards to the navigation bar. However,
since the divider ends at the navigation bar, we need to immediately
dismiss it instead of fading out when the divider is fully occluded
by the navigation bar.

Change-Id: Ic5432fd118cb71be36485667b2c537caf5065ce5

8 years agoClean up accessibility gestures.
Phil Weaver [Tue, 2 Feb 2016 22:47:44 +0000 (14:47 -0800)]
Clean up accessibility gestures.

Closing two small holes in the implementation:
1. The gesture was dispatched before the callback was registered. It
was possible for gestures that failed quickly to fail to report any
status.
2. Gestures could be dispatched before the input filter was
installed. Adding a wait to give the filter a chance to install
before reporting a failure.

Also removing an unused method on the input filter.

Change-Id: I77cd80dcd2cec6c72b3761169aba5eaecf62250b
(cherry picked from commit 03465fb874ccf35ead2228b66ec03afc31d7694e)

8 years agoRevert "Revert "TaskManager bench""
Chris Craik [Tue, 9 Feb 2016 00:05:15 +0000 (00:05 +0000)]
Revert "Revert "TaskManager bench""
am: b251a2f51e

* commit 'b251a2f51e636d036598ad27473b9cc55fdac1d7':
  Revert "Revert "TaskManager bench""

8 years agoMerge "Changed list metered-networks so it returns all networks." into nyc-dev
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.

8 years agoMerge "Add pid on main bugreport notifications." into nyc-dev
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.

8 years agoMerge "Multi packages per APK" into nyc-dev
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

8 years agoMerge "Clamp EditText cursor in the drawable boundaries." into nyc-dev
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.

8 years agoMerge "Support for Bundle in AudioAttributes" into nyc-dev
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

8 years agoRevert "Revert "TaskManager bench""
Chris Craik [Mon, 8 Feb 2016 19:36:46 +0000 (19:36 +0000)]
Revert "Revert "TaskManager bench""

This reverts commit 9640477e3cc075b0f303e817a3ebcc72d7bc878b.

Change-Id: I3aa8f2830b43b9c7b211c5792a311d0bc698c51a

8 years agoMerge "Changed list metered-networks so it returns all networks." into nyc-dev
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

8 years agoMerge "Add pid on main bugreport notifications." 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

8 years agoMerge "Multi packages per APK" into nyc-dev
Svetoslav Ganov [Mon, 8 Feb 2016 23:20:50 +0000 (23:20 +0000)]
Merge "Multi packages per APK" into nyc-dev

8 years agoMerge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_...
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

8 years agoMerge "Clamp EditText cursor in the drawable boundaries." into nyc-dev
Siyamed Sinir [Mon, 8 Feb 2016 23:16:48 +0000 (23:16 +0000)]
Merge "Clamp EditText cursor in the drawable boundaries." into nyc-dev

8 years agoMerge "Do not save TextView text when freezesText is false" 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

8 years agoMulti packages per APK
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

8 years agoMerge "Support for Bundle in AudioAttributes" into nyc-dev
Jean-Michel Trivi [Mon, 8 Feb 2016 23:13:19 +0000 (23:13 +0000)]
Merge "Support for Bundle in AudioAttributes" into nyc-dev

8 years agoMerge "Do not save TextView text when freezesText is false" 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

8 years agoMerge "Fix TextDropShadowCacheTests and glyph_t everywhere" into nyc-dev
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

8 years agoMerge "Use clang to build microbench" into nyc-dev
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

8 years agoMerge "Fix drawing cache on sw drawing" into nyc-dev
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

8 years agoMerge "Hidden permissions to access blocked numbers." into nyc-dev
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.

8 years agoTIF: Allow the application to indicate a TV program to record
Jae Seo [Sat, 6 Feb 2016 02:11:35 +0000 (11:11 +0900)]
TIF: Allow the application to indicate a TV program to record

Bug: 26962040
Change-Id: I2f062a4621c8a9a6765543826ba2cd607f1468d4

8 years agoMerge "Do not save TextView text when freezesText is false" into nyc-dev
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

8 years agoMerge "Fix TextDropShadowCacheTests and glyph_t everywhere" 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

8 years agoMerge "Use clang to build microbench" 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

8 years agoImport translations. DO NOT MERGE am: ac534a6c82 -s ours
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

8 years agoMerge "Fix drawing cache on sw drawing" into nyc-dev
John Reck [Mon, 8 Feb 2016 22:46:09 +0000 (22:46 +0000)]
Merge "Fix drawing cache on sw drawing" into nyc-dev

8 years agoFix TextDropShadowCacheTests and glyph_t everywhere
Chris Craik [Sat, 6 Feb 2016 04:10:50 +0000 (20:10 -0800)]
Fix TextDropShadowCacheTests and glyph_t everywhere

Change-Id: I943eae4e9408c77bdfba6304ba7ee3e862351a41

8 years agoUse clang to build microbench
Chris Craik [Sat, 6 Feb 2016 02:03:36 +0000 (18:03 -0800)]
Use clang to build microbench

Change-Id: I7ae8049fe05e99fadf905abd18553cb28596ba7f

8 years agoMake permission RECEIVE_EMERGENCY_BROADCAST public.
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.

8 years agoMerge "Add system APIs for A/B update." into nyc-dev
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.

8 years agoClamp EditText cursor in the drawable boundaries.
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

8 years agoMerge "Hidden permissions to access blocked numbers." into nyc-dev
Abhijith Shastry [Mon, 8 Feb 2016 22:40:35 +0000 (22:40 +0000)]
Merge "Hidden permissions to access blocked numbers." into nyc-dev

8 years agoMerge "Password security for FBE disk encryption keys" 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

8 years agoMerge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_...
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

8 years agoFixed issue with drag resize state when animating pinned stack.
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.

8 years agoFixed 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.

8 years agoImport translations. DO NOT MERGE
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

8 years agoDo not save TextView text when freezesText is false
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)

8 years agoMake permission RECEIVE_EMERGENCY_BROADCAST public.
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)

8 years agoHidden permissions to access blocked numbers.
Abhijith Shastry [Sat, 6 Feb 2016 02:28:15 +0000 (18:28 -0800)]
Hidden permissions to access blocked numbers.

BUG: 26232372
Change-Id: I213622ef4623dadcf56745798fb3452c57fa4bd5

8 years agoFix drawing cache on sw drawing
John Reck [Mon, 8 Feb 2016 22:13:06 +0000 (14:13 -0800)]
Fix drawing cache on sw drawing

Bug: 26644517
Change-Id: Ie087a05e1dbab75040ca39e0c43df985f8afed3e

8 years agoMerge "Add system APIs for A/B update." into nyc-dev
Tao Bao [Mon, 8 Feb 2016 22:07:04 +0000 (22:07 +0000)]
Merge "Add system APIs for A/B update." into nyc-dev

8 years agoDo not update Record.visible if not setting visibility
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

8 years agoMerge "Password security for FBE disk encryption keys" into nyc-dev
Paul Crowley [Mon, 8 Feb 2016 21:45:45 +0000 (21:45 +0000)]
Merge "Password security for FBE disk encryption keys" into nyc-dev

8 years agoMulti-window optimizations #3
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

8 years agoFixed issue with drag resize state when animating pinned stack.
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

8 years agoMulti-window optimizations #2
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

8 years agoMerge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_...
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

8 years agoMulti-window optimizations #1
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

8 years agoMulti-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

8 years agoFix disappearing translucent status bar background
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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
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

8 years agoDo not update Record.visible if not setting visibility
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

8 years agoMulti-window optimizations #3
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

8 years agoMulti-window optimizations #2
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

8 years agoMulti-window optimizations #1
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

8 years agoFix disappearing translucent status bar background
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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 8 Feb 2016 21:14:32 +0000 (21:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoImport translations. DO NOT MERGE
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

8 years agoEnsure surfaces stay alive until activity stop.
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.

8 years agoEnsure 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

8 years agoFix Fade transition interrupt.
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.

8 years agoChanged list metered-networks so it returns all networks.
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

8 years agoFix Fade transition interrupt.
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)

8 years agoMerge "Move graphics and JIT caches to DE storage." into nyc-dev
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.

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
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

8 years agoPermit setRetainInstance(true) on nested fragments, framework edition
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

8 years agoMerge "Move graphics and JIT caches to DE storage." into nyc-dev
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

8 years agoFragmentTransaction.commitNow, framework edition
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

8 years agoPreserve compatibility for ViewGroup#showContextMenuForChild
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

8 years agoMerge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_...
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

8 years agoMerge "Clarify synchronization between PrintActivity and RemotePrintDocument" into...
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

8 years agoMerge "Clarify synchronization between PrintActivity and RemotePrintDocument" into...
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

8 years agoMerge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_...
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

8 years agoTIF: Update the internal input list with new TvInputInfo
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

8 years agoTIF: 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

8 years agoMerge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_...
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

8 years agoMerge "Replaced \'touch\' by \'tap\'." into nyc-dev
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'.

8 years agoMerge "Replaced \'touch\' by \'tap\'." into nyc-dev
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'.

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Geoff Mendal [Mon, 8 Feb 2016 19:25:33 +0000 (19:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoSupport for Bundle in AudioAttributes
Jean-Michel Trivi [Fri, 5 Feb 2016 23:20:35 +0000 (15:20 -0800)]
Support for Bundle in AudioAttributes

Bug 25449464

Change-Id: I99cdfd4589e3161b52620e439ba993ce21d256b4

8 years agoMove graphics and JIT caches to DE storage.
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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
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

8 years agoImport 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

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
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