238037 Commits

Author SHA1 Message Date
Thierry Strudel
656e6afed3 Merge "am: do not account totalSwapPss as used RAM" into nyc-dev 2016-04-07 23:42:08 +00:00
Jorim Jaggi
7c3912e4ab Merge "Dismiss docked stack when opening non-resizable activity" into nyc-dev 2016-04-07 23:40:44 +00:00
John Reck
a41f244515 Fix a derp
Fixes: 28074465

I knew I added that flag for a reason...

Change-Id: I6e28237dcd50191769a828bf2646c3a00c14387c
2016-04-07 16:36:57 -07:00
Svetoslav Ganov
8f035a3c17 Merge "Make ext libs a part of AOSP and mandatory" into nyc-dev 2016-04-07 23:36:39 +00:00
Selim Gurun
5c8acb4380 Corrections to processing abioverride flag
Bug: 28043974

One of the parameters to Settings class wrongly passes the secondaryCpuAbi
as CpuAbiOverrideString causing mayhem for multiarch libraries. Use the
correct param.

Further, for multiarch, the cpuabioverride flag is ignored. Remove the
check for cpuabioverride when checking for use32bitabi flag.

Change-Id: I7eff057031e3ddb18fcce6f380658a522af8b64d
2016-04-07 16:34:02 -07:00
Thierry Strudel
319e7d9bcc am: do not account totalSwapPss as used RAM
Process PSS swapped is accounted as part of total process Pss to
get similar Pss values whether the device is using ZRAM of not.
But SwapPss is compressed in RAM so should not be accounted as
direct RAM contributor but though getZramTotalSizeKb already
taking into account.

Change-Id: I944850fb2a2b3a7342c850f8b9d69f304b53db46
2016-04-07 16:32:09 -07:00
Adam Lesinski
626b3dbf74 AAPT2: Clean up R JavaDoc generation
- Don't generate private attributes in public R.java
- Strip out @SystemApi from comment when generating @android.annotation.SystemApi
- Only emit a single line (up to the first period) of an attribute's comment within
  a styleable's attribute table.

Change-Id: Id6316a6861540325934133958939a12074ad4428
2016-04-07 16:26:14 -07:00
Chris Craik
d306065757 Merge "Support replace op in new pipeline" into nyc-dev 2016-04-07 23:21:02 +00:00
Tim Murray
d8ca02f252 Merge "Improve service start/creation tracing." into nyc-dev 2016-04-07 23:19:38 +00:00
Rob Carr
846c3f4fdc Merge "Fix regression breaking SurfaceView in docked." into nyc-dev 2016-04-07 23:17:12 +00:00
Bennie Ouyang
a6b8e9c313 Added Notification Stress Tests
Change-Id: I956ec68bf752becfedb3eca2483ae5c212166dd2
2016-04-07 16:15:50 -07:00
Teng-Hui Zhu
9b3be58403 Update the documentation on createCircularReveal
fix:25250431

Change-Id: I9fc76ad69b495c36a03c875a529f755a029fae96
2016-04-07 16:13:27 -07:00
Evan Rosky
f89c01254f Merge "Fixed PIN entry detecting gravity improperly" into nyc-dev 2016-04-07 23:12:06 +00:00
Evan Rosky
aa7f51fe8c Centralized user icon drawing with badges
Renamed CircleFramedDrawable to UserIconDrawable and
added badge/frame support.
Replaced several instances of user icon drawing with
UserIconDrawable

Bug: 27483956
Change-Id: I10d665406ea8b085667aa8c71ffcedffe72dafbd
2016-04-07 23:09:40 +00:00
John Reck
4a62effbfe Merge "Fix some edge cases" into nyc-dev 2016-04-07 23:08:10 +00:00
Jorim Jaggi
d53f09254e Dismiss docked stack when opening non-resizable activity
- Also move the toast to SysemUI as a cleanup.

Bug: 27341740
Bug: 28026841
Change-Id: Ic6196ed75511751c6fadb12fa24574c881100f65
2016-04-07 16:07:27 -07:00
John Reck
945961f78a Make stopped state a first-class thing
Bug: 27286867

WindowManager has committed to stopped state
controlling the lifecycle of the Surface, so
make that a first-class thing in HWUI as well.

This makes it more resistent to things like
a rogue updateSurface() happening while mStopped=true,
leading to bad things down the line. Instead let
the surface be changed/updated as often as desired,
and just block any attempt to draw on that surface.

Also removes some unnecessary makeCurrent()s, as
EglManager ensures that we *always* have a valid
GL context now (using a pbuffer surface if there is
no window surface set)

Change-Id: Iead78ddebc7997e8fdb0c9534836352f5e54b9bd
2016-04-07 16:02:33 -07:00
Dongwon Kang
f07ec150f3 Merge "TIF: Fix a typo in the documentation" into nyc-dev 2016-04-07 22:56:47 +00:00
Sid Soundararajan
0322c5f8be Merge "Improve Animation Calculations to remove Jank" into nyc-dev 2016-04-07 22:55:53 +00:00
Oren Blasberg
7ce082a462 Merge "Fix top level menu lingering when submenu opens." into nyc-dev 2016-04-07 22:43:18 +00:00
Tim Murray
b6f5a4292b Improve service start/creation tracing.
bug 27998068

Change-Id: If18ab5d293f0bb0dfbfbed2f2af383c349464963
2016-04-07 15:37:43 -07:00
Svetoslav Ganov
828166bca4 Make ext libs a part of AOSP and mandatory
bug:27698377

Change-Id: Ic98d18f90f9b735e49ff6a7801835b6432ec86de
2016-04-07 15:26:06 -07:00
Robert Carr
2487ce70a7 Do not crop children to task bounds while resizing.
When we are resizing the task bounds might be smaller than
the stack bounds. We don't want to clip to the task bounds here,
so we use an expanded rectangle, making sure to expand it
large enough for giant surfaces.

Bug: 27676101
Change-Id: I1a324a474a89e4652ccd15ebd853b0b8815a48f5
2016-04-07 15:21:50 -07:00
Vladislav Kaznacheev
e1efbceeb7 Merge "Hide unnecessary extra name constants in ClipDescription" into nyc-dev 2016-04-07 22:21:45 +00:00
Phil Weaver
9be3c7bdc7 Eliminate side effects of a11y window title.
ag/898112 added passing the window title to accessibility. To do that,
it also updated copy of the title in WindowManager.LayoutParams. That
was a behavior change, and the change broke cts tests that enforce that
the title in LayoutParams matches its expected format.

This change restores the previous behavior and adds a separate field to
LayoutParams to old an up-to-date title to pass to accessibility.

Bug: 28002185
Change-Id: Ia5b549113600b7c4fcc80b76c3f3a944dddaf483
2016-04-07 15:15:41 -07:00
Joseph Pirozzo
7233ef22ef Merge "HFP Client Permission" into nyc-dev 2016-04-07 22:09:25 +00:00
Winson
a6b81e0615 Cancel recents animations after the transition starts.
Bug: 27864076
Change-Id: Ibe677704245534018db9051060ad5fa99332576b
2016-04-07 15:04:41 -07:00
Chris Craik
04d46eb69f Support replace op in new pipeline
bug:26562461

Change-Id: Ie48d2da30f5e9d9abe88a5cd973dfb26e38abf63
2016-04-07 15:02:39 -07:00
Winson Chung
47702be9b5 Merge "Only updating the header if valid bounds are generated." into nyc-dev 2016-04-07 21:44:34 +00:00
Sandra Kwan
734d653ef1 Merge "AccountManager: fix updateCredentials API." into nyc-dev 2016-04-07 21:40:21 +00:00
Evan Rosky
22d1201c39 Fixed PIN entry detecting gravity improperly
Bug: 28061319
Change-Id: I289584765203892b7dbac4220b515445b821d621
2016-04-07 14:34:37 -07:00
Joe Onorato
08274740cd This assert is triggering when it shouldn't be. Disable it for now.
The check for sequence numbers is triggering when ProcessStats
is accessed after being read from a parcel.  Turn off the check
for now.

Bug: 27045736
Bug: 27960286
Bug: 28039193
Bug: 28021719
Bug: 27960286
Change-Id: I7438441135fd1e9ce01350034262451309165525
2016-04-07 14:24:59 -07:00
Winson
94bc4f2238 Only updating the header if valid bounds are generated.
Bug: 28059153
Change-Id: Icbc35b4600421f75ae1193e7ccf18dce0b17c3e1
2016-04-07 14:22:12 -07:00
John Reck
51f2d606dc Fix some edge cases
Bug: 27709981

This desperately needs a refactor, but to keep
the current (really needed & nice) behavior of
dispatching after sync finishes would be difficult
to handle cleanly without lots of ripping so... #yolo

Change-Id: I831a06c6ae7412a062720d68ecbe3085190f0258
2016-04-07 14:10:43 -07:00
Sid Soundararajan
c81082b7ee Improve Animation Calculations to remove Jank
Add animations to back button press path.

Add scroll for launches of unfocused apps.

Part 1 of 2 to fix:

b/27876144

Change-Id: I1ac345dffb06d7926558a4087b07061ee4be731b
2016-04-07 14:10:15 -07:00
Robert Carr
fd2bd1b343 Fix regression breaking SurfaceView in docked.
We don't need to subtract the insets again when
we are laying out in the attached window frame,
as pf will already have them subtracted.

Bug: 27687126
Change-Id: If9c093c5a811ceb7b62bd27a1dd17742b04d898e
2016-04-07 13:52:43 -07:00
Chong Zhang
22bc8519a8 Take screenshot of finishing apps as requested
bug: 27931814
Change-Id: I307bb5759fd4faa296fd575e703967db3e6a2fef
2016-04-07 13:48:28 -07:00
Joseph Pirozzo
99fecc0dd7 HFP Client Permission
Add the permission checkbox to the bluetooth profiles in settings if an
HFP client profile exists on the local device and HFP server profile
exists on the remote device rather than relying on the remote device
attempting to connect before presenting it.

Bug: 28071400
Change-Id: I32707a709489c7383a6e1709eac844a3d17f4428
2016-04-07 13:43:49 -07:00
Vladislav Kaznacheev
78740add9b Merge "Rename View.DragShadowBuilder#onProvideShadowMetrics parameters" into nyc-dev 2016-04-07 20:41:54 +00:00
Dongwon Kang
308fe5741f TIF: Fix a typo in the documentation
Change-Id: I0e4963ca6ce3f42682a7d591f913ea801987b31b
2016-04-07 13:39:35 -07:00
Phil Weaver
fb6dd3bbc1 Merge "Treat accessibility gestures like physical ones." into nyc-dev 2016-04-07 20:34:34 +00:00
Suprabh Shukla
c15c1be257 Moving HelpUtils to SettingsLib
Moved HelpUtils to SettingsLib from com.android.settings so it can be
shared with packageinstaller.

Bug: b/22096093
Change-Id: I75efb6476a8c7621279705a636f87b32d8d921be
2016-04-07 13:25:23 -07:00
Jeff Sharkey
cff102508c Merge "Clarify version docs." into nyc-dev 2016-04-07 20:08:18 +00:00
Xiaohui Chen
a01582ac87 Merge "sysui: refactoring qs for extensibility" into nyc-dev 2016-04-07 20:07:31 +00:00
Jeff Sharkey
e721615f43 Clarify version docs.
Change-Id: I64cc9e5e51f12d33e770e73734efd89df20c8504
2016-04-07 14:07:10 -06:00
Alexander Hills
5418765d4d Merge "Adds support for MessagingStyle" into nyc-dev 2016-04-07 19:59:20 +00:00
Selim Cinek
64954eb772 Merge "Fixed a bug with talkback where the panel could be expanded" into nyc-dev 2016-04-07 19:54:18 +00:00
Selim Cinek
c1e389dadc Fixed a crash with autobundle grouping
Bug: 27997570
Change-Id: I4ec0e312583ddba0ba944aaa6f221cdda22c64dc
2016-04-07 12:41:55 -07:00
Sid Soundararajan
7323fa91f5 Merge "Add Home Recents Transition Animations" into nyc-dev 2016-04-07 19:41:48 +00:00
Lifu Tang
80fa590644 Merge "Addressed API review comments and updated JavaDoc" into nyc-dev 2016-04-07 19:36:03 +00:00