OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Return to correct home stack task in multi-window mode" into nyc-dev
Wale Ogunwale [Thu, 24 Mar 2016 15:26:45 +0000 (15:26 +0000)]
Merge "Return to correct home stack task in multi-window mode" into nyc-dev

8 years agoMerge "Enforce API preconditions in Java instead of deferring to Skia." into nyc-dev
Derek Sollenberger [Thu, 24 Mar 2016 15:05:13 +0000 (15:05 +0000)]
Merge "Enforce API preconditions in Java instead of deferring to Skia." into nyc-dev

8 years agoMerge "Invalidate entire scene root when executing the transition." into nyc-dev
George Mount [Thu, 24 Mar 2016 14:45:21 +0000 (14:45 +0000)]
Merge "Invalidate entire scene root when executing the transition." into nyc-dev

8 years agoMerge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev
Clara Bayarri [Thu, 24 Mar 2016 13:30:46 +0000 (13:30 +0000)]
Merge "Keyboard Shortcuts: plumb deviceId through" into nyc-dev

8 years agoMerge "Let the profile owner set lock-to-apps if the user is affiliated." into nyc-dev
Lenka Trochtova [Thu, 24 Mar 2016 12:39:43 +0000 (12:39 +0000)]
Merge "Let the profile owner set lock-to-apps if the user is affiliated." into nyc-dev

8 years agoMerge "Keyboard Shortcuts: Make Modifiers human-readable" into nyc-dev
Clara Bayarri [Thu, 24 Mar 2016 11:50:37 +0000 (11:50 +0000)]
Merge "Keyboard Shortcuts: Make Modifiers human-readable" into nyc-dev

8 years agoMerge "Keyboard Shortcuts: Add Keycodes for shortcut representation" into nyc-dev
Clara Bayarri [Thu, 24 Mar 2016 11:49:04 +0000 (11:49 +0000)]
Merge "Keyboard Shortcuts: Add Keycodes for shortcut representation" into nyc-dev

8 years agoKeyboard Shortcuts: plumb deviceId through
Clara Bayarri [Thu, 10 Mar 2016 12:58:18 +0000 (12:58 +0000)]
Keyboard Shortcuts: plumb deviceId through

Bug: 27673736
Change-Id: Ie72807aa8c2bfd142b081a6a915e101c16d31473

8 years agoKeyboard Shortcuts: Make Modifiers human-readable
Clara Bayarri [Wed, 2 Mar 2016 19:37:09 +0000 (11:37 -0800)]
Keyboard Shortcuts: Make Modifiers human-readable

Bug: 27454791 27419260
Change-Id: Ic98b9e265f16d417b9c401032714b49deb8d9f92

8 years agoKeyboard Shortcuts: Add Keycodes for shortcut representation
Clara Bayarri [Wed, 2 Mar 2016 19:12:32 +0000 (11:12 -0800)]
Keyboard Shortcuts: Add Keycodes for shortcut representation

This changes the current API given app feedback received. In order to use
keycodes as well as chars we also must implement a mapping of Keycodes to
Display labels as only keys with a single char representation are provided
by KeyCharacterMap.

Bug: 27409783
Change-Id: I3da653adc4b8cbc66a4d1aa24a5f9181f71e83c3

8 years agoLet the profile owner set lock-to-apps if the user is affiliated.
Lenka Trochtova [Wed, 23 Mar 2016 17:03:32 +0000 (18:03 +0100)]
Let the profile owner set lock-to-apps if the user is affiliated.

BUG: 25632687

Change-Id: I76008b6a8e2194155154dc7693d43ce20f7e9fad

8 years agoMerge "Make the activated root color darker in DocumentsUI for better a11y." into...
Tomasz Mikolajewski [Thu, 24 Mar 2016 09:37:57 +0000 (09:37 +0000)]
Merge "Make the activated root color darker in DocumentsUI for better a11y." into nyc-dev

8 years agoMerge "Document restricted app private file permissions" into nyc-dev
Janis Danisevskis [Thu, 24 Mar 2016 09:33:44 +0000 (09:33 +0000)]
Merge "Document restricted app private file permissions" into nyc-dev

8 years agoMake the activated root color darker in DocumentsUI for better a11y.
Tomasz Mikolajewski [Thu, 24 Mar 2016 08:02:46 +0000 (17:02 +0900)]
Make the activated root color darker in DocumentsUI for better a11y.

Bug: 27724950
Change-Id: Ie1150aae6e6dabe1dc460a99deec4ccfa48ec080

8 years agoMerge "Transform app animator crop to child window space." into nyc-dev
Rob Carr [Thu, 24 Mar 2016 05:46:23 +0000 (05:46 +0000)]
Merge "Transform app animator crop to child window space." into nyc-dev

8 years agoMerge "Include animation layer adjustment even while docked." into nyc-dev
Rob Carr [Thu, 24 Mar 2016 05:45:58 +0000 (05:45 +0000)]
Merge "Include animation layer adjustment even while docked." into nyc-dev

8 years agoMerge "Add offset() to Path's fast-case mode" into nyc-dev
Sergei Vasilinetc [Thu, 24 Mar 2016 05:01:59 +0000 (05:01 +0000)]
Merge "Add offset() to Path's fast-case mode" into nyc-dev

8 years agoMerge "Add "track default" type to NetworkRequestInfo" into nyc-dev
Erik Kline [Thu, 24 Mar 2016 04:20:21 +0000 (04:20 +0000)]
Merge "Add "track default" type to NetworkRequestInfo" into nyc-dev

8 years agoAdd "track default" type to NetworkRequestInfo
Erik Kline [Tue, 22 Mar 2016 08:04:20 +0000 (17:04 +0900)]
Add "track default" type to NetworkRequestInfo

The "default network tracking" request is somewhere between a listen
and a request, in previous semantics. It is more like a listen in that
it doesn't cause any network to be brought up, but also like a request
in that will only get callbacks about a single network at a time (not
all networks that might match).

This change minimally splits the NetworkRequest types into 3: LISTEN,
REQUEST, and TRACK_DEFAULT.

Change-Id: I2d113b2f6eed526a7808592bce0118260a56f77c

8 years agoMerge "Add cursor positioning tests for emoji." into nyc-dev
Seigo Nonaka [Thu, 24 Mar 2016 03:45:55 +0000 (03:45 +0000)]
Merge "Add cursor positioning tests for emoji." into nyc-dev

8 years agoMerge "Adding workaround for crash." into nyc-dev
Winson Chung [Thu, 24 Mar 2016 03:25:27 +0000 (03:25 +0000)]
Merge "Adding workaround for crash." into nyc-dev

8 years agoMerge "Scroll to remote input view" into nyc-dev
Adrian Roos [Thu, 24 Mar 2016 02:52:31 +0000 (02:52 +0000)]
Merge "Scroll to remote input view" into nyc-dev

8 years agoMerge "Use mipmap instead of drawable for app icon of DocumentsUI." into nyc-dev
Daichi Hirono [Thu, 24 Mar 2016 02:50:17 +0000 (02:50 +0000)]
Merge "Use mipmap instead of drawable for app icon of DocumentsUI." into nyc-dev

8 years agoMerge "IMS: Changes for MultiEndpoint" into nyc-dev
Tyler Gunn [Thu, 24 Mar 2016 02:39:07 +0000 (02:39 +0000)]
Merge "IMS: Changes for MultiEndpoint" into nyc-dev

8 years agoMerge changes I84516d07,I1da274bf,Ie478c562,I1eac1dce into nyc-dev
Winson Chung [Thu, 24 Mar 2016 02:29:30 +0000 (02:29 +0000)]
Merge changes I84516d07,I1da274bf,Ie478c562,I1eac1dce into nyc-dev

* changes:
  Tweaking scroll-to-launch task animation.
  Completely removing dead code related to history view.
  Completely removing dead code related to search widget.
  Iterating on stack layout

8 years agoAdding workaround for crash.
Winson [Thu, 24 Mar 2016 02:00:28 +0000 (19:00 -0700)]
Adding workaround for crash.

Bug: 27815919
Change-Id: I04d70d16dd8b8281ba1ffbba056d475d834d5b54

8 years agoIMS: Changes for MultiEndpoint
Anju Mathapati [Thu, 10 Mar 2016 20:57:21 +0000 (12:57 -0800)]
IMS: Changes for MultiEndpoint

- Change in api names

Change-Id: I9317c391d0017f5079ab488abe0bd1e949317bce

8 years agoMerge "Expand call/connection extras API." into nyc-dev
Tyler Gunn [Thu, 24 Mar 2016 02:13:45 +0000 (02:13 +0000)]
Merge "Expand call/connection extras API." into nyc-dev

8 years agoTweaking scroll-to-launch task animation.
Winson [Thu, 24 Mar 2016 01:44:26 +0000 (18:44 -0700)]
Tweaking scroll-to-launch task animation.

- Always scroll so that the launch task is focused

Change-Id: I84516d0799ad0b308cfa458f4ce79c82acc48f51

8 years agoMerge "Frameworks/base: Refactor package manager" into nyc-dev
Andreas Gampe [Thu, 24 Mar 2016 01:59:22 +0000 (01:59 +0000)]
Merge "Frameworks/base: Refactor package manager" into nyc-dev

8 years agoCompletely removing dead code related to history view.
Winson [Sat, 19 Mar 2016 00:51:48 +0000 (17:51 -0700)]
Completely removing dead code related to history view.

- This CL repurposes the history button above the stack to a more
  generic “stack action” button in preparation for a future change.

Bug: 27742174
Change-Id: I1da274bf88c77bdc09d91072683b2ea7ca022432

8 years agoCompletely removing dead code related to search widget.
Winson [Sat, 19 Mar 2016 00:17:25 +0000 (17:17 -0700)]
Completely removing dead code related to search widget.

Bug: 27742174
Change-Id: Ie478c562f6152338417aca5262b7f33ee4ca7ed5

8 years agoIterating on stack layout
Winson [Thu, 17 Mar 2016 21:13:18 +0000 (14:13 -0700)]
Iterating on stack layout

- Tweaking initial layout to show more of the next task
- Bounding the width of the stack to the smallest display edge length
- Fixing issue where the screen pinning button was not shown when
  entering recents from home, and the task view clip state was not
  restored correctly for tasks in front of the launch task.
- Fixing issue where there was no alpha during the transition to/from
  home
- Refactoring and removing unused dimens, and moved remaining layout
  calculation logic out of RecentsConfiguration.
- Fixing small regression in finding task anchor scroll points. This
  caused tasks to be animated strangely when swiping to dismiss and
  the task had an override task progress.
- Fixing several regressions in drag and drop due to override progresses

Change-Id: I1eac1dcea19e502bc7fe6362011b38977e3f3d6d

8 years agoMerge "ExifInterface: fix creating pointer tags which indicate 0 offset" into nyc-dev
Jaesung Chung [Thu, 24 Mar 2016 01:43:05 +0000 (01:43 +0000)]
Merge "ExifInterface: fix creating pointer tags which indicate 0 offset" into nyc-dev

8 years agoMerge "Refactor SystemServicesProxy to manage ITaskStackListener locally" into nyc-dev
Jaewan Kim [Thu, 24 Mar 2016 01:31:40 +0000 (01:31 +0000)]
Merge "Refactor SystemServicesProxy to manage ITaskStackListener locally" into nyc-dev

8 years agoRefactor SystemServicesProxy to manage ITaskStackListener locally
Jaewan Kim [Mon, 14 Mar 2016 08:35:43 +0000 (17:35 +0900)]
Refactor SystemServicesProxy to manage ITaskStackListener locally

This reduces the IPC calls between system service and SystemUI app.

Bug: 27635150
Change-Id: I6886edbc8e3736416af06c8de204f2a3b470ccd1

8 years agoMerge "Fix NinePatch insets scaling" into nyc-dev
Sergei Vasilinetc [Thu, 24 Mar 2016 01:22:06 +0000 (01:22 +0000)]
Merge "Fix NinePatch insets scaling" into nyc-dev

8 years agoScroll to remote input view
Adrian Roos [Tue, 22 Mar 2016 17:01:56 +0000 (10:01 -0700)]
Scroll to remote input view

Bug: 27668960
Fixes: 27668960
Change-Id: Ie8f7858257922362b289ea4e4e22e689e1405e58

8 years agoMerge "Add guard to access drawer toolbar when setting accessibility, because this...
Aga Wronska [Thu, 24 Mar 2016 00:43:19 +0000 (00:43 +0000)]
Merge "Add guard to access drawer toolbar when setting accessibility, because this toolbar does not exist in fixed_layout mode." into nyc-dev

8 years agoMerge "Fix testModelIdIsUnique test in DocumentsUI." into nyc-dev
Tomasz Mikolajewski [Thu, 24 Mar 2016 00:40:06 +0000 (00:40 +0000)]
Merge "Fix testModelIdIsUnique test in DocumentsUI." into nyc-dev

8 years agoReturn to correct home stack task in multi-window mode
Wale Ogunwale [Thu, 24 Mar 2016 00:08:44 +0000 (17:08 -0700)]
Return to correct home stack task in multi-window mode

Previously when determining the next stack to focus to in
multi-window mode, if it is the home stack we just bring it
forward and focus on whatever the home task/activity is.
We should be checking the returnToTask type of the activity/task
that is going away to determine which task in the home stack
we should return to.

Bug: 27776008
Change-Id: I1a864c96b2ef276d2ddeafcb627a2b6a825e2ce7

8 years agoAdd offset() to Path's fast-case mode
sergeyv [Tue, 22 Mar 2016 20:54:24 +0000 (13:54 -0700)]
Add offset() to Path's fast-case mode

bug:22510833
Change-Id: I417ed13ff450aa7f6c72370b4c5de8e8a53a0235

8 years agoFrameworks/base: Refactor package manager
Andreas Gampe [Sun, 20 Mar 2016 18:32:11 +0000 (11:32 -0700)]
Frameworks/base: Refactor package manager

Introduce a mapping between dexopt reasons and compiler filters. Use
reasons in package manager and other classes, where possible.

Change PackageDexOptimizer to accept a compilation filter. Adapt for
the split-out profile merging. Pass compilation filter to installd.

Bug: 27689078
Change-Id: I8c0ea6f10fbfdbd096adecc52abfd2466d048fdc

8 years agoExpand call/connection extras API.
Tyler Gunn [Wed, 23 Mar 2016 23:06:34 +0000 (16:06 -0700)]
Expand call/connection extras API.

Currently, connection extras are propagated up to Telecom as an
entire bundle.  This is not ideal, as any time a change is made to
the extras, the bundle needs to be fetched, changed, and then re-set on
the connection, where it is parceled to Telecom as a whole.

Using how extras on an Intent as inspiration, this CL adds separate
putExtras, putExtra, and removeExtra methods to allow manipulation of
the extras bundle without operating on it in its entirety.

This Cl also adds support for Calls modifying the extras bundle, with
changes propagated back down to ConnectionServices.

Bug: 27458894
Change-Id: I152340a3bca2dc03f170b06b172a6823410fb961

8 years agoMerge "Properly handle whitespace in domain entries" into nyc-dev
Chad Brubaker [Wed, 23 Mar 2016 22:44:09 +0000 (22:44 +0000)]
Merge "Properly handle whitespace in domain entries" into nyc-dev

8 years agoMerge " fix Memory Leak caused by PhoneStateListener" into nyc-dev
Chen Xu [Wed, 23 Mar 2016 22:37:20 +0000 (22:37 +0000)]
Merge " fix Memory Leak caused by PhoneStateListener" into nyc-dev

8 years agoMerge "Localize owner's name to current locale until changed" into nyc-dev
Amith Yamasani [Wed, 23 Mar 2016 22:33:15 +0000 (22:33 +0000)]
Merge "Localize owner's name to current locale until changed" into nyc-dev

8 years agoProperly handle whitespace in domain entries
Chad Brubaker [Wed, 23 Mar 2016 21:59:14 +0000 (14:59 -0700)]
Properly handle whitespace in domain entries

Domain entries can contain whitespace (or newlines) which should be
ignored to avoid unexpectedly failing to match a domain.

Bug: 27816377
Change-Id: I3691aa4abd409e7be97ad0cf1eb0195725e1b0ab

8 years agoMerge "Fix bugs around restoring nested retained instance fragments" into nyc-dev
Adam Powell [Wed, 23 Mar 2016 22:27:30 +0000 (22:27 +0000)]
Merge "Fix bugs around restoring nested retained instance fragments" into nyc-dev

8 years agoMerge "Use canonical name for SHA1withECDSA" into nyc-dev
Kenny Root [Wed, 23 Mar 2016 22:17:04 +0000 (22:17 +0000)]
Merge "Use canonical name for SHA1withECDSA" into nyc-dev

8 years agoAdd guard to access drawer toolbar when setting accessibility, because this toolbar...
Aga Wronska [Wed, 23 Mar 2016 22:11:25 +0000 (15:11 -0700)]
Add guard to access drawer toolbar when setting accessibility, because this toolbar does not exist in
fixed_layout mode.

Change-Id: Iaccbdf848b7d1e9ccb7c4cca3afd153a2246e68d
Fixed: 27812831

8 years agoMerge "Don't save secure surfaces." into nyc-dev
Wale Ogunwale [Wed, 23 Mar 2016 22:14:04 +0000 (22:14 +0000)]
Merge "Don't save secure surfaces." into nyc-dev

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 22:08:31 +0000 (22:08 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022 am: f4fd201  -s ours am: 1450b69 am: 1d508de am: 3b2ed11
am: 070b76e  -s ours

* commit '070b76e52100f0b9d2ce45f2884c639507c4c7d2':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 22:05:50 +0000 (22:05 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022 am: f4fd201  -s ours am: 1450b69 am: 1d508de
am: 3b2ed11

* commit '3b2ed11851f342f01bef3832e8603122698a3588':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 21:58:28 +0000 (21:58 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022 am: f4fd201  -s ours am: 1450b69
am: 1d508de

* commit '1d508decacf84e26db6164d30006166e0fc74f5f':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 21:53:57 +0000 (21:53 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022 am: f4fd201  -s ours
am: 1450b69

* commit '1450b69182fd9b360d9dd4ec54d431560eb775e6':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4 am: 542bb7...
Samuel Tan [Wed, 23 Mar 2016 21:51:40 +0000 (21:51 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4 am: 542bb73 am: fbfd7d0
am: 7dfe3d4  -s ours

* commit '7dfe3d4457cd3ff952c65c7fe0816e19b42e945f':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 21:49:16 +0000 (21:49 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab am: 3253022
am: f4fd201  -s ours

* commit 'f4fd20168fdf1ee19da63cc82c0893a288d8b759':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years agoMerge "Make sure to call back reportFinish() on the desired Handler." into nyc-dev
Yohei Yukawa [Wed, 23 Mar 2016 21:48:50 +0000 (21:48 +0000)]
Merge "Make sure to call back reportFinish() on the desired Handler." into nyc-dev

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours...
Samuel Tan [Wed, 23 Mar 2016 21:45:25 +0000 (21:45 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours am: c2712ab
am: 3253022

* commit '325302206a0129bdf16a486232d5864d71e62a44':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4 am: 542bb73
Samuel Tan [Wed, 23 Mar 2016 21:45:23 +0000 (21:45 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4 am: 542bb73
am: fbfd7d0

* commit 'fbfd7d0c91ef84d12ca036462b54794076d06cdc':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d -s ours
Samuel Tan [Wed, 23 Mar 2016 21:40:45 +0000 (21:40 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d385a6d  -s ours
am: c2712ab

* commit 'c2712ab7bd3bdeaf8945bc80154f402e1cf727bc':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4
Samuel Tan [Wed, 23 Mar 2016 21:40:23 +0000 (21:40 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings am: d8c3ca4
am: 542bb73

* commit '542bb7307b2bf3dab337b56e392b778896f88ec6':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings
Samuel Tan [Wed, 23 Mar 2016 21:35:32 +0000 (21:35 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings
am: d385a6d  -s ours

* commit 'd385a6d95fc830ecc8d55937e9f46b14165d4b34':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years ago[DO NOT MERGE] Disallow guest user from changing Wifi settings
Samuel Tan [Wed, 23 Mar 2016 21:35:30 +0000 (21:35 +0000)]
[DO NOT MERGE] Disallow guest user from changing Wifi settings
am: d8c3ca4

* commit 'd8c3ca43163427a75c8b70114096238177f97af0':
  [DO NOT MERGE] Disallow guest user from changing Wifi settings

8 years agoUse canonical name for SHA1withECDSA
Kenny Root [Wed, 23 Mar 2016 15:52:25 +0000 (08:52 -0700)]
Use canonical name for SHA1withECDSA

The Standard Names documentation says that "ECDSA" should not be used
due to its ambiguity. Bouncycastle has switched from "ECDSA" to
"SHA1withECDSA" so therefore we should switch this "workaround" Provider
to use the same name to keep it functioning correctly.

(cherry picked from commit 8a6c191094b3d1f74dbb71a7f262496377596ba8)

Bug: 27753949
Change-Id: I5acfca9d89c85bf005902a2f06cb5d7b1ef9dff2

8 years agoLocalize owner's name to current locale until changed
Amith Yamasani [Wed, 23 Mar 2016 21:28:25 +0000 (14:28 -0700)]
Localize owner's name to current locale until changed

Don't set a name for the system user and always return a localized
name until the user explicitly sets a name.

Bug: 27814125
Change-Id: I7972a45d77c07d9efbd67d5b360bacee46247a66

8 years agoMerge "sysui: refactor for extensibility" into nyc-dev
Xiaohui Chen [Wed, 23 Mar 2016 21:24:10 +0000 (21:24 +0000)]
Merge "sysui: refactor for extensibility" into nyc-dev

8 years ago fix Memory Leak caused by PhoneStateListener
fionaxu [Tue, 22 Mar 2016 22:09:55 +0000 (15:09 -0700)]
 fix Memory Leak caused by PhoneStateListener

 Bug: 22962661

Change-Id: Ibece746afc19dd6b71845a257b7bfb88a0f8e13f

8 years agoInvalidate entire scene root when executing the transition.
George Mount [Wed, 23 Mar 2016 18:08:39 +0000 (11:08 -0700)]
Invalidate entire scene root when executing the transition.

Bug 27778109

When switching from forced visibility to using real visibility,
I didn't take into account the fact that invalidating INVISIBLE
Views skip invalidation. This CL invalidates the scene root
to ensure that the transition is properly executed.

Change-Id: I092d0fe42229390927f7d1b65fc2b3ce5fc2938d

8 years agoMerge "Exclude java namespace classes from layoutlib" into nyc-dev
Deepanshu Gupta [Wed, 23 Mar 2016 20:48:13 +0000 (20:48 +0000)]
Merge "Exclude java namespace classes from layoutlib" into nyc-dev

8 years agoMerge "Remove unnecessary strings and labels." into nyc-dev
Philip P. Moltmann [Wed, 23 Mar 2016 20:45:33 +0000 (20:45 +0000)]
Merge "Remove unnecessary strings and labels." into nyc-dev

8 years agoMerge "handle wifi interface changes with interfaceRemoved" into nyc-dev
Rebecca Silberstein [Wed, 23 Mar 2016 20:41:05 +0000 (20:41 +0000)]
Merge "handle wifi interface changes with interfaceRemoved" into nyc-dev

8 years agoRemove unnecessary strings and labels.
Philip P. Moltmann [Wed, 23 Mar 2016 20:30:58 +0000 (13:30 -0700)]
Remove unnecessary strings and labels.

Bug: 27815807
Change-Id: I6388055938afbbadc954c913ce0554f9a4a313e8

8 years agoMerge "Precache/early kick off of op work for non-shadow ops." into nyc-dev
Chris Craik [Wed, 23 Mar 2016 20:24:24 +0000 (20:24 +0000)]
Merge "Precache/early kick off of op work for non-shadow ops." into nyc-dev

8 years agoDon't save secure surfaces.
Wale Ogunwale [Wed, 23 Mar 2016 20:16:41 +0000 (13:16 -0700)]
Don't save secure surfaces.

We don't want to save secure surfaces since their content shouldn't
be shown while the app isn't on screen and content might leak
through during the transition animation with saved surface.

Bug: 19940527
Bug: 27747315
Change-Id: Ie664e1015845e05ec01572a9d9c3574173ac2f91

8 years agoFix bugs around restoring nested retained instance fragments
Adam Powell [Wed, 23 Mar 2016 20:07:27 +0000 (13:07 -0700)]
Fix bugs around restoring nested retained instance fragments

Framework edition

In a few configurations the child fragment state of a
retained-instance fragment would not be preserved correctly, leading
to child fragments not being restored. Clean this up along with live
state management issues that were leading to logged warnings during
normal fragment operation.

Bug 27371492
Bug 27477824

Change-Id: I847ac05b1757392580e008dc20c50c3ef365ca68

8 years agoPrecache/early kick off of op work for non-shadow ops.
Chris Craik [Tue, 22 Mar 2016 22:03:08 +0000 (15:03 -0700)]
Precache/early kick off of op work for non-shadow ops.

bug:26562703
bug:27052145

Change-Id: Ic452bfe75da849ffdd47fecdd6eb1472fd0c806e

8 years agoExclude java namespace classes from layoutlib
Deepanshu Gupta [Wed, 23 Mar 2016 19:39:27 +0000 (12:39 -0700)]
Exclude java namespace classes from layoutlib

Such classes can't be loaded anyway. No point including them

Change-Id: I26934014de96aa59f0d4aef59f61d1e4f71b86ea

8 years agosysui: refactor for extensibility
Xiaohui Chen [Tue, 22 Mar 2016 21:58:03 +0000 (14:58 -0700)]
sysui: refactor for extensibility

Bug: 27357836
Change-Id: I793fc1a6c17a7b5f66e4803e7f51a373b47e5733

8 years agoEnforce API preconditions in Java instead of deferring to Skia.
Derek Sollenberger [Wed, 23 Mar 2016 19:04:22 +0000 (15:04 -0400)]
Enforce API preconditions in Java instead of deferring to Skia.

The Skia API has been relaxed on the types of input it will accept,
but in order to preserve the old API behavior we need to test for
those conditions in Java.

bug: 27682974
Change-Id: I9a33acdcd8f55c63d2e42f1733e94bf695193ac7

8 years agoMerge "FloatingToolbar: Make it more obvious that there are more items in the overflo...
Abodunrinwa Toki [Wed, 23 Mar 2016 19:03:50 +0000 (19:03 +0000)]
Merge "FloatingToolbar: Make it more obvious that there are more items in the overflow." into nyc-dev

8 years agoFloatingToolbar: Make it more obvious that there are more items in the overflow.
Abodunrinwa Toki [Wed, 23 Mar 2016 15:56:43 +0000 (15:56 +0000)]
FloatingToolbar: Make it more obvious that there are more items in the overflow.

1. Make the overflow show part of the items hidden behind the scroll view
2. Increase the time the scrollbar is on screen so users are less likely to miss it

Bug: 27427333
Change-Id: Ia0bff5fa29cba3103263bc7d063176b0ba7ff7b9

8 years agoMerge "Add fill type support to vector drawable" into nyc-dev
Diego Perez [Wed, 23 Mar 2016 18:45:28 +0000 (18:45 +0000)]
Merge "Add fill type support to vector drawable" into nyc-dev

8 years agoMerge "Follow-up to "Close notification panel when user button is tapped"" into nyc-dev
Adrian Roos [Wed, 23 Mar 2016 18:27:09 +0000 (18:27 +0000)]
Merge "Follow-up to "Close notification panel when user button is tapped"" into nyc-dev

8 years agoFollow-up to "Close notification panel when user button is tapped"
Adrian Roos [Wed, 23 Mar 2016 18:23:51 +0000 (11:23 -0700)]
Follow-up to "Close notification panel when user button is tapped"

The original CL just collapsed the panel. Instead, we're using the
dedicated startActivityDismissingKeyguard to make sure the Keyguard
gets properly dismissed first.

Follow-Up-To: I66ebcb66c898dfebe1d09b798f750f696c360da8
Bug: 27790403
Change-Id: I41c02221de951df885ecfb4f2869820b38410f18

8 years agoMerge "Fix generate layout params to preserve margins" into nyc-dev
Yigit Boyar [Wed, 23 Mar 2016 18:22:56 +0000 (18:22 +0000)]
Merge "Fix generate layout params to preserve margins" into nyc-dev

8 years agoMerge "Fix missing first frame" into nyc-dev
John Reck [Wed, 23 Mar 2016 18:22:35 +0000 (18:22 +0000)]
Merge "Fix missing first frame" into nyc-dev

8 years agoInclude animation layer adjustment even while docked.
Robert Carr [Tue, 22 Mar 2016 23:57:33 +0000 (16:57 -0700)]
Include animation layer adjustment even while docked.

When adjusting special windows (e.g. docked windows), we omit the
animation layer adjustment. This was largely safe as we place such
special windows above the otherwise highest layer, and we want
docked windows above animating windows. However in the case of
multiple animating docked windows, we need to use the animation
layer adjustment to distinguish the ordering.

Bug: 27712710
Change-Id: Ieb86fd1231d9b04b73de95902832facf4dc0ea3e

8 years agoMerge "Ensure notification color contrast" into nyc-dev
Adrian Roos [Wed, 23 Mar 2016 18:14:53 +0000 (18:14 +0000)]
Merge "Ensure notification color contrast" into nyc-dev

8 years agoTransform app animator crop to child window space.
Robert Carr [Tue, 22 Mar 2016 01:16:39 +0000 (18:16 -0700)]
Transform app animator crop to child window space.

The AppAnimator will not know about child windows
relative offsets to the containing frame and so
will express crops in the wrong coordinate space.

Bug: 25986646
Change-Id: I3af291aa60455b753c2e61d4eebb77ace902ff15

8 years agoMerge "Allow Scoped Directory Access on whole volume." into nyc-dev
Felipe Leme [Wed, 23 Mar 2016 17:58:46 +0000 (17:58 +0000)]
Merge "Allow Scoped Directory Access on whole volume." into nyc-dev

8 years ago[Sensor] Add a constant to match native header
Peng Xu [Fri, 4 Mar 2016 19:09:24 +0000 (11:09 -0800)]
[Sensor] Add a constant to match native header

This CL add private sensor type base constant to java file to match
C header file.

It is defined that all vendor sensor types have to be >= 0x10000.
There is a constant in sensor.h for reference. However, there is
no such constant defined in Sensor.java before. This CL adds it.

Change-Id: Ia8f8c06583c62879e51779815051c346f1a9cd14
(cherry picked from commit 1795e14dab0367fdd77f2c1eee6b4fd39d1c5902)

8 years agoEnsure notification color contrast
Adrian Roos [Mon, 1 Feb 2016 20:26:13 +0000 (12:26 -0800)]
Ensure notification color contrast

Ensure we have at least 3:1 contrast for the
action buttons. Also ensures that the inline
reply box background has 4.5:1 contrast to white.

Further modifies the color of the inline reply
background to satisfy a 4.5:1 contrast ratio for
the entered text.

Bug: 26831312
Change-Id: If42b1c99d1adee547d0a583c1a69c48ef7287c23

8 years agoMerge "Move device idle logic into a job StateController" into nyc-dev
Amith Yamasani [Wed, 23 Mar 2016 17:32:05 +0000 (17:32 +0000)]
Merge "Move device idle logic into a job StateController" into nyc-dev

8 years agoMerge "Document that re-inserting the same blocked number is permitted." into nyc-dev
Abhijith Shastry [Wed, 23 Mar 2016 17:29:07 +0000 (17:29 +0000)]
Merge "Document that re-inserting the same blocked number is permitted." into nyc-dev

8 years agoExifInterface: fix creating pointer tags which indicate 0 offset
Jaesung Chung [Wed, 23 Mar 2016 16:41:46 +0000 (09:41 -0700)]
ExifInterface: fix creating pointer tags which indicate 0 offset

When saving attributes(that it writes JPEG again.), now ExifInterface
generates some uncessary pointer tags which refer to an empty EXIF IFD
group, that makes a warning message by ExifInterface when reading again,
which warns that the value of the pointer tag pointing to is invalid.

Bug: 27583378
Change-Id: Id0170c5644541565c98fe4978284098e6664c395

8 years agoMerge "Deal with print-preview renderings that do not match the correct number of...
Philip P. Moltmann [Wed, 23 Mar 2016 17:17:39 +0000 (17:17 +0000)]
Merge "Deal with print-preview renderings that do not match the correct number of pages." into nyc-dev

8 years agoMerge "Remove legacy DeviceLogging methods from DPM" into nyc-dev
Michal Karpinski [Wed, 23 Mar 2016 16:51:54 +0000 (16:51 +0000)]
Merge "Remove legacy DeviceLogging methods from DPM" into nyc-dev

8 years agoMerge "Java bindings for SurfaceControl::setFinalCrop" into nyc-dev
Pablo Ceballos [Wed, 23 Mar 2016 16:30:52 +0000 (16:30 +0000)]
Merge "Java bindings for SurfaceControl::setFinalCrop" into nyc-dev