238061 Commits

Author SHA1 Message Date
Alan Viverette
b98bef9408 Merge "Dialog fixed width is 100% when screen width is under 320dp" into nyc-dev 2016-04-08 14:19:12 +00:00
Lorenzo Colitti
059e2bb376 More APF debuggability.
1. Decode RDNSS options.
2. Keep track of how many times the program was updated.
3. Remove the leading / from the IPv4 address.

Change-Id: Ida0518a94ea7d952c82c8181b09044eff907b714
2016-04-08 23:09:25 +09:00
Jaesung Chung
c048c5f74a ExifInterface: inform the developers to close their FD/streams
After use of constructors for FD/Streams, developers should close their
FD/streams.

Bug: 27948392
Change-Id: I6c26213d6804791e6d72d5830566f63e5ed57284
2016-04-08 22:34:47 +09:00
Nicolas Prévot
a078b4ba6a Merge "Still return a package suspsended dialog if there is no owner." into nyc-dev 2016-04-08 12:41:50 +00:00
Benjamin Franz
5c1fbadb1a Merge "Throw security exception for non-parent aware APIs" into nyc-dev 2016-04-08 12:02:26 +00:00
Nicolas Prevot
8aa48028f3 Still return a package suspsended dialog if there is no owner.
When an application cannot be started, and there is no profile/device
owner, still return a PackageSuspendedDialog.

BUG: 28042198
Change-Id: I5c30393f9481840a965bb815235af5181561a063
2016-04-08 12:13:52 +01:00
Andrei Stingaceanu
2b2b7ed811 Merge "Keyboard shortcuts: icons for application group" into nyc-dev 2016-04-08 10:12:59 +00:00
Rubin Xu
1b2300b065 Merge "Relaunch previous activity after turning work profile on" into nyc-dev 2016-04-08 09:20:46 +00:00
Jaewan Kim
55e0050198 Merge "PIP: Move PIP to left when Settings is visible" into nyc-dev 2016-04-08 05:55:30 +00:00
Insun Kang
54999451e7 Merge "MediaSessionService: Send MEDIA_BUTTON intents with foreground priority" into nyc-dev 2016-04-08 05:27:06 +00:00
Jaewan Kim
d89a6944aa PIP: Move PIP to left when Settings is visible
Default PIP location hides the upper part of the Settings,
so it should be moved a bit not to cover it.

Bug: 27891236
Change-Id: I6f13419cc9dc91522696c14a202e25652bd2232a
2016-04-08 12:56:50 +09:00
Insun Kang
2054db3359 MediaSessionService: Send MEDIA_BUTTON intents with foreground priority
Bug: 27179450
Change-Id: Id4f530e87fff67b0582d13ef5b5333f3eae2d927
2016-04-08 11:34:46 +09:00
Selim Cinek
97237ee331 Merge "Fixed a crash with autobundle grouping" into nyc-dev 2016-04-08 01:56:55 +00:00
Ariana Mott
ca4a835aaa Merge "Remove package AutomaticZenRules for revoked Notification Policy Access" into nyc-dev 2016-04-08 01:31:41 +00:00
Adam Lesinski
d3caf46a85 Merge "AAPT2: Clean up R JavaDoc generation" into nyc-dev 2016-04-08 01:23:29 +00:00
Daichi Hirono
11fabf70db Merge "Remove LOG_NDEBUG 0 from AppFuse JNI." into nyc-dev 2016-04-08 01:15:17 +00:00
Ruchi Kandoi
0f36ba81e7 Merge "batteryService: Add Charge Counter." into nyc-dev 2016-04-08 01:09:24 +00:00
Ruchi Kandoi
6361e22fea batteryService: Add Charge Counter.
Bug: 27174034
Change-Id: Ib8bc8f617288c0ad543c67e0fa609c5a0c87b5fd
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-04-08 01:09:02 +00:00
Daichi Hirono
d0ef1394d2 Remove LOG_NDEBUG 0 from AppFuse JNI.
"LOG_NDEBUG 0" enforces to output verbose log even for release build.

Change-Id: I9ab2f5b86065d360222cbabc8d6be2431b06d785
Fix: 28055420
2016-04-08 10:07:01 +09:00
Sudheer Shanka
b4e39f5b2f Merge "Prevent apps from uninstalling packages that are not installed by them." into nyc-dev 2016-04-08 00:38:22 +00:00
Dianne Hackborn
0796e9fb3d Fix issue #28075893: Don't hold strong refs on to JobService
Change-Id: I822adaee953be9b14213def001b174d5c348fa14
2016-04-07 17:29:36 -07:00
Daichi Hirono
4e5bbc3ea7 Merge "Close MTP database when MtpServer's thread is terminated." into nyc-dev 2016-04-08 00:13:02 +00:00
Winson Chung
2204f0c41b Merge "Cancel recents animations after the transition starts." into nyc-dev 2016-04-07 23:52:04 +00:00
Dianne Hackborn
88c4135d88 Fix issue #26879170: Adjust doze maintenance windows...
...based on network availability

There is a new light maintenance state "waiting for network"
that we go in to after idle if the network is not currently
available.  We will stay in this state the same duration as idle,
so if we are continually without network access this effectively
doubles the light doze idle durations.

Get rid of some wrongly copy/pasted code to allow doze light
to still work even if we don't have an SMD.  It doesn't need
one.

Also a bunch of improvements to the shell commands to make it
easier to test / debug.

Change-Id: Iad024840661479dbfd54b5b3db6ab96fefe59bc0
2016-04-07 16:42:41 -07:00
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