OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Improve content descriptions for volume dialog icons." into nyc-dev
Julia Reynolds [Fri, 8 Apr 2016 21:22:41 +0000 (21:22 +0000)]
Merge "Improve content descriptions for volume dialog icons." into nyc-dev

8 years agoImprove content descriptions for volume dialog icons.
Julia Reynolds [Fri, 8 Apr 2016 21:14:15 +0000 (17:14 -0400)]
Improve content descriptions for volume dialog icons.

Bug: 27971063
Change-Id: I9282083f68a5cd607fe0cb2893829675559acb6d

8 years agoMerge "This assert is triggering when it shouldn't be. Disable it for now." into...
Joe Onorato [Fri, 8 Apr 2016 21:12:05 +0000 (21:12 +0000)]
Merge "This assert is triggering when it shouldn't be. Disable it for now." into nyc-dev

8 years agoMerge "Add granular control over disabled effects." into nyc-dev
Bryce Lee [Fri, 8 Apr 2016 20:59:09 +0000 (20:59 +0000)]
Merge "Add granular control over disabled effects." into nyc-dev

8 years agoMerge "Customizes input extract edit view for Wear" into nyc-dev
Mark Renouf [Fri, 8 Apr 2016 20:58:47 +0000 (20:58 +0000)]
Merge "Customizes input extract edit view for Wear" into nyc-dev

8 years agoCustomizes input extract edit view for Wear
Mark Renouf [Tue, 5 Apr 2016 17:21:57 +0000 (13:21 -0400)]
Customizes input extract edit view for Wear

Provides an alternate presentation of the extract edit area
of an input method window, designed for sub 250dp width screens.

An icon is used on a round material style button in place of a text
action, providing more horizontal space for the editing area.

BUG: 22512982
Change-Id: I16226ce393f2d15065d08e66a36d008eb1a0c8a1
(cherry picked from commit fd71a6a5d99bad5d3ab32edc328fb5b026b66215)

8 years agoMerge "Fix NPE for MATCH_FACTORY_ONLY" into nyc-dev
Todd Kennedy [Fri, 8 Apr 2016 20:55:02 +0000 (20:55 +0000)]
Merge "Fix NPE for MATCH_FACTORY_ONLY" into nyc-dev

8 years agoMerge "Visual updates to battery screen" into nyc-dev
Jason Monk [Fri, 8 Apr 2016 20:47:16 +0000 (20:47 +0000)]
Merge "Visual updates to battery screen" into nyc-dev

8 years agoFix NPE for MATCH_FACTORY_ONLY
Todd Kennedy [Fri, 8 Apr 2016 20:45:49 +0000 (13:45 -0700)]
Fix NPE for MATCH_FACTORY_ONLY

Bug: 28087606
Change-Id: Ib86c5189aa9a9ca87504625dd19bdeab56fd4967

8 years agoMerge "Fix early session termination in FalsingManager" into nyc-dev
Adrian Roos [Fri, 8 Apr 2016 20:30:36 +0000 (20:30 +0000)]
Merge "Fix early session termination in FalsingManager" into nyc-dev

8 years agoMerge "Fix HUN Scrim" into nyc-dev
Adrian Roos [Fri, 8 Apr 2016 20:29:16 +0000 (20:29 +0000)]
Merge "Fix HUN Scrim" into nyc-dev

8 years agoMerge "Fix invalid stack position when docked on right" into nyc-dev
Andrii Kulian [Fri, 8 Apr 2016 20:23:35 +0000 (20:23 +0000)]
Merge "Fix invalid stack position when docked on right" into nyc-dev

8 years agoMerge "Allow the ranker to autobundle notifications." into nyc-dev
Julia Reynolds [Fri, 8 Apr 2016 20:13:44 +0000 (20:13 +0000)]
Merge "Allow the ranker to autobundle notifications." into nyc-dev

8 years agoFix invalid stack position when docked on right
Andrii Kulian [Fri, 8 Apr 2016 19:45:27 +0000 (12:45 -0700)]
Fix invalid stack position when docked on right

If task is dragged from fullscreen recents to right to perform
dock-to-right, it's stack is initially positioned incorrectly.
This CL shifts position in correct direction.

Bug: 27621228
Change-Id: I14df76a036aa0f6f7b500e4e8b5ce04fbc03de9a

8 years agoMerge "Allow mode of TileService to be changed" into nyc-dev
Jason Monk [Fri, 8 Apr 2016 19:37:53 +0000 (19:37 +0000)]
Merge "Allow mode of TileService to be changed" into nyc-dev

8 years agoMerge "Moving HelpUtils to SettingsLib" into nyc-dev
Suprabh Shukla [Fri, 8 Apr 2016 19:31:36 +0000 (19:31 +0000)]
Merge "Moving HelpUtils to SettingsLib" into nyc-dev

8 years agoMerge "Fix issue #26879170: Adjust doze maintenance windows..." into nyc-dev
Dianne Hackborn [Fri, 8 Apr 2016 19:29:00 +0000 (19:29 +0000)]
Merge "Fix issue #26879170: Adjust doze maintenance windows..." into nyc-dev

8 years agoMerge "Fix issue #28075893: Don't hold strong refs on to JobService" into nyc-dev
Dianne Hackborn [Fri, 8 Apr 2016 19:28:41 +0000 (19:28 +0000)]
Merge "Fix issue #28075893: Don't hold strong refs on to JobService" into nyc-dev

8 years agoMerge "Chooser filtering and caller direct share targets" into nyc-dev
Adam Powell [Fri, 8 Apr 2016 19:20:24 +0000 (19:20 +0000)]
Merge "Chooser filtering and caller direct share targets" into nyc-dev

8 years agoMerge "Fix multiple configuration changes in multiwindow" into nyc-dev
Andrii Kulian [Fri, 8 Apr 2016 19:05:19 +0000 (19:05 +0000)]
Merge "Fix multiple configuration changes in multiwindow" into nyc-dev

8 years agoFix multiple configuration changes in multiwindow
Andrii Kulian [Thu, 7 Apr 2016 16:36:33 +0000 (09:36 -0700)]
Fix multiple configuration changes in multiwindow

When in split-screen mode and activity handles configuration changes
it gets 2 onConfigurationChanged calls which originate from
ActivityManagerService#updateConfigurationLocked:
1. app.thread.scheduleConfigurationChanged calls to all process records
   send configuration of the whole screen for corresponding orientation,
   which leads to CONFIGURATION_CHANGED message in ActivityThread.
2. mStackSupervisor.resizeStackLocked call resizes both visible stacks and
   eventually ActivityThread receives ACTIVITY_CONFIGURATION_CHANGED
   message with correct configuration corresponding to space occupied in
   split-screen.

In this CL if component callback is an instance of Activity and it had
override config set - onConfigurationChanged will not be triggered unless
override config has changed.

Bug: 27948331
Change-Id: Ia73b045570b44eb5b351811bf6c4f63d78c3f909

8 years agoVisual updates to battery screen
Jason Monk [Fri, 8 Apr 2016 18:43:08 +0000 (14:43 -0400)]
Visual updates to battery screen

Change-Id: Ie9e2c45201a986493bb629b02cb7421805f38d85
Fixes: 27479696
Fixes: 27678421

8 years agoMerge "Do not crop children to task bounds while resizing." into nyc-dev
Rob Carr [Fri, 8 Apr 2016 18:37:30 +0000 (18:37 +0000)]
Merge "Do not crop children to task bounds while resizing." into nyc-dev

8 years agoFix HUN Scrim
Adrian Roos [Fri, 8 Apr 2016 18:20:05 +0000 (11:20 -0700)]
Fix HUN Scrim

Fixes: 26365345
Change-Id: I2dd0250cdeb83dec5f7bbdde6719a71a802bff84

8 years agoMerge "Eliminate side effects of a11y window title." into nyc-dev
Phil Weaver [Fri, 8 Apr 2016 18:22:01 +0000 (18:22 +0000)]
Merge "Eliminate side effects of a11y window title." into nyc-dev

8 years agoFix early session termination in FalsingManager
Adrian Roos [Fri, 8 Apr 2016 18:09:50 +0000 (11:09 -0700)]
Fix early session termination in FalsingManager

Now we properly wait until the status has changed
from Keyguard to Shade.

Bug: 27754935
Change-Id: I1b09130965a196ec20f6982d1ac3e4d1d2b2e2a3

8 years agoMerge "Improve error logging for parsing failures" into nyc-dev
Doris Liu [Fri, 8 Apr 2016 18:02:50 +0000 (18:02 +0000)]
Merge "Improve error logging for parsing failures" into nyc-dev

8 years agoImprove error logging for parsing failures
Doris Liu [Thu, 7 Apr 2016 22:03:11 +0000 (15:03 -0700)]
Improve error logging for parsing failures

Bug: 27043594
Change-Id: I901b65f734c49444a78e0714e007e15e2340ab9d

8 years agoMerge "Corrections to processing abioverride flag" into nyc-dev
Selim Gurun [Fri, 8 Apr 2016 17:57:57 +0000 (17:57 +0000)]
Merge "Corrections to processing abioverride flag" into nyc-dev

8 years agoAllow the ranker to autobundle notifications.
Julia Reynolds [Thu, 17 Mar 2016 15:05:58 +0000 (11:05 -0400)]
Allow the ranker to autobundle notifications.

Bug: 26709317
Change-Id: I5017a471604e513a7b582cdc2f3472441e108fae

8 years agoAdd granular control over disabled effects.
Bryce Lee [Fri, 8 Apr 2016 17:54:23 +0000 (10:54 -0700)]
Add granular control over disabled effects.

Currently, we can only wholesale disable effects outside of zen mode.
There are some devices that require long running suppression of features.
Effects disabling was added previously to support this. However, calling
suppression was broken recently on a device where we needed notification
suppression, but not calling suppression.

This CL remedies this problem by adding more granular disabled effects
hints. The NotificationManagerService has been updated to handle these
request types and present ZenModeHelper with a unified map of what should
be suppressed.

Bug: 27992763
Change-Id: I38b4706446dfd6e1c3eb97266dbc3332b250adda

8 years agoMerge "Add setting and detection of ro.sys.safemode property." into nyc-dev
Paul Lawrence [Fri, 8 Apr 2016 17:40:40 +0000 (17:40 +0000)]
Merge "Add setting and detection of ro.sys.safemode property." into nyc-dev

8 years agoMerge "Take screenshot of finishing apps as requested" into nyc-dev
Chong Zhang [Fri, 8 Apr 2016 17:36:30 +0000 (17:36 +0000)]
Merge "Take screenshot of finishing apps as requested" into nyc-dev

8 years agoAdd setting and detection of ro.sys.safemode property.
dcashman [Thu, 3 Mar 2016 00:46:40 +0000 (16:46 -0800)]
Add setting and detection of ro.sys.safemode property.

Bug: 28008032
Change-Id: I6b19b32df615becd88a56a337c999b57011c6200

8 years agoMerge "Fix issue where (accessibility) keyboard mode callbacks were not always called...
Anna Galusza [Fri, 8 Apr 2016 17:06:08 +0000 (17:06 +0000)]
Merge "Fix issue where (accessibility) keyboard mode callbacks were not always called. Bug: 28007101" into nyc-dev

8 years agoMerge "Add constant for premium sms screen" into nyc-dev
Jason Monk [Fri, 8 Apr 2016 17:04:43 +0000 (17:04 +0000)]
Merge "Add constant for premium sms screen" into nyc-dev

8 years agoMerge "Added Notification Stress Tests" into nyc-dev
Bennie Ouyang [Fri, 8 Apr 2016 16:58:20 +0000 (16:58 +0000)]
Merge "Added Notification Stress Tests" into nyc-dev

8 years agoMerge "Avoid copying of font table data, provide raw font bytes" into nyc-dev
Raph Levien [Fri, 8 Apr 2016 16:32:12 +0000 (16:32 +0000)]
Merge "Avoid copying of font table data, provide raw font bytes" into nyc-dev

8 years agoMerge "Fix a NPE in PackageInstallerService" into nyc-dev
Svetoslav Ganov [Fri, 8 Apr 2016 16:24:59 +0000 (16:24 +0000)]
Merge "Fix a NPE in PackageInstallerService" into nyc-dev

8 years agoFix a NPE in PackageInstallerService
Svet Ganov [Fri, 8 Apr 2016 16:22:54 +0000 (09:22 -0700)]
Fix a NPE in PackageInstallerService

bug:28051747

Change-Id: Ic38786e1ab4b4f6d0f9b1782d3bb46af04c61aa7

8 years agoMerge "Copy lockscreen notification settings upon upgrade" into nyc-dev
Daniel U [Fri, 8 Apr 2016 15:44:44 +0000 (15:44 +0000)]
Merge "Copy lockscreen notification settings upon upgrade" into nyc-dev

8 years agoAllow mode of TileService to be changed
Jason Monk [Thu, 7 Apr 2016 15:41:47 +0000 (11:41 -0400)]
Allow mode of TileService to be changed

Since the mode of a tile service was set in onTileAdded, it couldn't
be controlled by developers if they updated their tile.  To handle
the mode has been moved to a boolean meta-data flag to indicate
a tile should be an active tile.

Bug: 28043969
Change-Id: I6403d34f8cb70809edc07769389d5a1f835c1ab3

8 years agoCopy lockscreen notification settings upon upgrade
Daniel U [Fri, 1 Apr 2016 17:41:42 +0000 (18:41 +0100)]
Copy lockscreen notification settings upon upgrade

Copy the primary values of LOCK_SCREEN_SHOW_NOTIFICATIONS and
LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS into managed profile upon upgrade.

Bug:27673591
Change-Id: I3207b7e5bf844f0df534324220082edbdabe8444

8 years agoChooser filtering and caller direct share targets
Adam Powell [Thu, 7 Apr 2016 22:14:18 +0000 (15:14 -0700)]
Chooser filtering and caller direct share targets

Let apps invoking the system chooser specify components to filter out
such as themselves; this will prevent duplicate nonsensical UX where
it doesn't make sense for an app to share to itself.

Similarly, let apps provide their own Direct Share targets for when
they do want to let users share via their own internal services in the
same UI. These options can be used together.

Also fix a bug where a lingering binder reference from a remote
ChooserTargetService that hasn't been GC'd in the remote process could
keep an active reference to a ChooserActivity instance.

Bug 28073484

Change-Id: Ib613b1153b49dfedf79574b1af7c45379eceec24

8 years agoMerge "Centralized user icon drawing with badges" into nyc-dev
Evan Rosky [Fri, 8 Apr 2016 15:38:37 +0000 (15:38 +0000)]
Merge "Centralized user icon drawing with badges" into nyc-dev

8 years agoAdd constant for premium sms screen
Jason Monk [Mon, 28 Mar 2016 19:48:34 +0000 (15:48 -0400)]
Add constant for premium sms screen

Bug: 27657256
Change-Id: Ia5b209deceb1726b62529c4144a85f5fc2d26833

8 years agoAvoid copying of font table data, provide raw font bytes
Raph Levien [Wed, 6 Apr 2016 22:23:57 +0000 (15:23 -0700)]
Avoid copying of font table data, provide raw font bytes

Minikin is changing its approach to table access to use HarfBuzz to
access the tables, based on raw font data, rather than calling the
MinikinFont::GetTable() virtual method. This patch provides raw access
to the font data to make this work.

There's a bit of plumbing to make sure fonts get a pointer to the raw
data as well.

Bug: 27860101
Change-Id: I638e18cf363644bf22fbc9fb9b3358a9e731087f

8 years agoMerge "Make stopped state a first-class thing" into nyc-dev
John Reck [Fri, 8 Apr 2016 15:09:40 +0000 (15:09 +0000)]
Merge "Make stopped state a first-class thing" into nyc-dev

8 years agoMerge "Fix a derp" into nyc-dev
John Reck [Fri, 8 Apr 2016 15:09:24 +0000 (15:09 +0000)]
Merge "Fix a derp" into nyc-dev

8 years agoMerge "Create WebViewUpdateServiceImpl to move implementation there." into nyc-dev
Gustav Sennton [Fri, 8 Apr 2016 14:25:57 +0000 (14:25 +0000)]
Merge "Create WebViewUpdateServiceImpl to move implementation there." into nyc-dev

8 years agoMerge "Dialog fixed width is 100% when screen width is under 320dp" into nyc-dev
Alan Viverette [Fri, 8 Apr 2016 14:19:11 +0000 (14:19 +0000)]
Merge "Dialog fixed width is 100% when screen width is under 320dp" into nyc-dev

8 years agoMerge "Still return a package suspsended dialog if there is no owner." into nyc-dev
Nicolas Prévot [Fri, 8 Apr 2016 12:41:49 +0000 (12:41 +0000)]
Merge "Still return a package suspsended dialog if there is no owner." into nyc-dev

8 years agoMerge "Throw security exception for non-parent aware APIs" into nyc-dev
Benjamin Franz [Fri, 8 Apr 2016 12:02:24 +0000 (12:02 +0000)]
Merge "Throw security exception for non-parent aware APIs" into nyc-dev

8 years agoStill return a package suspsended dialog if there is no owner.
Nicolas Prevot [Fri, 8 Apr 2016 11:13:52 +0000 (12:13 +0100)]
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

8 years agoMerge "Keyboard shortcuts: icons for application group" into nyc-dev
Andrei Stingaceanu [Fri, 8 Apr 2016 10:12:58 +0000 (10:12 +0000)]
Merge "Keyboard shortcuts: icons for application group" into nyc-dev

8 years agoMerge "Relaunch previous activity after turning work profile on" into nyc-dev
Rubin Xu [Fri, 8 Apr 2016 09:20:45 +0000 (09:20 +0000)]
Merge "Relaunch previous activity after turning work profile on" into nyc-dev

8 years agoMerge "PIP: Move PIP to left when Settings is visible" into nyc-dev
Jaewan Kim [Fri, 8 Apr 2016 05:55:28 +0000 (05:55 +0000)]
Merge "PIP: Move PIP to left when Settings is visible" into nyc-dev

8 years agoMerge "MediaSessionService: Send MEDIA_BUTTON intents with foreground priority" into...
Insun Kang [Fri, 8 Apr 2016 05:27:05 +0000 (05:27 +0000)]
Merge "MediaSessionService: Send MEDIA_BUTTON intents with foreground priority" into nyc-dev

8 years agoPIP: Move PIP to left when Settings is visible
Jaewan Kim [Fri, 8 Apr 2016 02:41:45 +0000 (11:41 +0900)]
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

8 years agoMediaSessionService: Send MEDIA_BUTTON intents with foreground priority
Insun Kang [Thu, 7 Apr 2016 06:34:34 +0000 (15:34 +0900)]
MediaSessionService: Send MEDIA_BUTTON intents with foreground priority

Bug: 27179450
Change-Id: Id4f530e87fff67b0582d13ef5b5333f3eae2d927

8 years agoMerge "Fixed a crash with autobundle grouping" into nyc-dev
Selim Cinek [Fri, 8 Apr 2016 01:56:53 +0000 (01:56 +0000)]
Merge "Fixed a crash with autobundle grouping" into nyc-dev

8 years agoMerge "Remove package AutomaticZenRules for revoked Notification Policy Access" into...
Ariana Mott [Fri, 8 Apr 2016 01:31:40 +0000 (01:31 +0000)]
Merge "Remove package AutomaticZenRules for revoked Notification Policy Access" into nyc-dev

8 years agoMerge "AAPT2: Clean up R JavaDoc generation" into nyc-dev
Adam Lesinski [Fri, 8 Apr 2016 01:23:28 +0000 (01:23 +0000)]
Merge "AAPT2: Clean up R JavaDoc generation" into nyc-dev

8 years agoMerge "Remove LOG_NDEBUG 0 from AppFuse JNI." into nyc-dev
Daichi Hirono [Fri, 8 Apr 2016 01:15:16 +0000 (01:15 +0000)]
Merge "Remove LOG_NDEBUG 0 from AppFuse JNI." into nyc-dev

8 years agoMerge "batteryService: Add Charge Counter." into nyc-dev
Ruchi Kandoi [Fri, 8 Apr 2016 01:09:22 +0000 (01:09 +0000)]
Merge "batteryService: Add Charge Counter." into nyc-dev

8 years agobatteryService: Add Charge Counter.
Ruchi Kandoi [Thu, 7 Apr 2016 18:28:30 +0000 (11:28 -0700)]
batteryService: Add Charge Counter.

Bug: 27174034
Change-Id: Ib8bc8f617288c0ad543c67e0fa609c5a0c87b5fd
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
8 years agoRemove LOG_NDEBUG 0 from AppFuse JNI.
Daichi Hirono [Fri, 8 Apr 2016 01:07:01 +0000 (10:07 +0900)]
Remove LOG_NDEBUG 0 from AppFuse JNI.

"LOG_NDEBUG 0" enforces to output verbose log even for release build.

Change-Id: I9ab2f5b86065d360222cbabc8d6be2431b06d785
Fix: 28055420

8 years agoMerge "Prevent apps from uninstalling packages that are not installed by them." into...
Sudheer Shanka [Fri, 8 Apr 2016 00:38:21 +0000 (00:38 +0000)]
Merge "Prevent apps from uninstalling packages that are not installed by them." into nyc-dev

8 years agoFix issue #28075893: Don't hold strong refs on to JobService
Dianne Hackborn [Fri, 8 Apr 2016 00:29:36 +0000 (17:29 -0700)]
Fix issue #28075893: Don't hold strong refs on to JobService

Change-Id: I822adaee953be9b14213def001b174d5c348fa14

8 years agoMerge "Close MTP database when MtpServer's thread is terminated." into nyc-dev
Daichi Hirono [Fri, 8 Apr 2016 00:13:01 +0000 (00:13 +0000)]
Merge "Close MTP database when MtpServer's thread is terminated." into nyc-dev

8 years agoMerge "Cancel recents animations after the transition starts." into nyc-dev
Winson Chung [Thu, 7 Apr 2016 23:52:03 +0000 (23:52 +0000)]
Merge "Cancel recents animations after the transition starts." into nyc-dev

8 years agoFix issue #26879170: Adjust doze maintenance windows...
Dianne Hackborn [Thu, 7 Apr 2016 22:18:58 +0000 (15:18 -0700)]
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

8 years agoMerge "am: do not account totalSwapPss as used RAM" into nyc-dev
Thierry Strudel [Thu, 7 Apr 2016 23:42:07 +0000 (23:42 +0000)]
Merge "am: do not account totalSwapPss as used RAM" into nyc-dev

8 years agoMerge "Dismiss docked stack when opening non-resizable activity" into nyc-dev
Jorim Jaggi [Thu, 7 Apr 2016 23:40:43 +0000 (23:40 +0000)]
Merge "Dismiss docked stack when opening non-resizable activity" into nyc-dev

8 years agoFix a derp
John Reck [Thu, 7 Apr 2016 23:36:57 +0000 (16:36 -0700)]
Fix a derp

Fixes: 28074465

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

Change-Id: I6e28237dcd50191769a828bf2646c3a00c14387c

8 years agoMerge "Make ext libs a part of AOSP and mandatory" into nyc-dev
Svetoslav Ganov [Thu, 7 Apr 2016 23:36:37 +0000 (23:36 +0000)]
Merge "Make ext libs a part of AOSP and mandatory" into nyc-dev

8 years agoCorrections to processing abioverride flag
Selim Gurun [Thu, 7 Apr 2016 23:34:02 +0000 (16:34 -0700)]
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

8 years agoam: do not account totalSwapPss as used RAM
Thierry Strudel [Thu, 7 Apr 2016 21:48:18 +0000 (14:48 -0700)]
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

8 years agoAAPT2: Clean up R JavaDoc generation
Adam Lesinski [Thu, 7 Apr 2016 20:24:59 +0000 (13:24 -0700)]
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

8 years agoMerge "Support replace op in new pipeline" into nyc-dev
Chris Craik [Thu, 7 Apr 2016 23:21:01 +0000 (23:21 +0000)]
Merge "Support replace op in new pipeline" into nyc-dev

8 years agoMerge "Improve service start/creation tracing." into nyc-dev
Tim Murray [Thu, 7 Apr 2016 23:19:37 +0000 (23:19 +0000)]
Merge "Improve service start/creation tracing." into nyc-dev

8 years agoMerge "Fix regression breaking SurfaceView in docked." into nyc-dev
Rob Carr [Thu, 7 Apr 2016 23:17:11 +0000 (23:17 +0000)]
Merge "Fix regression breaking SurfaceView in docked." into nyc-dev

8 years agoAdded Notification Stress Tests
Bennie Ouyang [Wed, 6 Apr 2016 23:34:07 +0000 (16:34 -0700)]
Added Notification Stress Tests

Change-Id: I956ec68bf752becfedb3eca2483ae5c212166dd2

8 years agoMerge "Fixed PIN entry detecting gravity improperly" into nyc-dev
Evan Rosky [Thu, 7 Apr 2016 23:12:05 +0000 (23:12 +0000)]
Merge "Fixed PIN entry detecting gravity improperly" into nyc-dev

8 years agoCentralized user icon drawing with badges
Evan Rosky [Wed, 16 Mar 2016 20:15:53 +0000 (13:15 -0700)]
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

8 years agoMerge "Fix some edge cases" into nyc-dev
John Reck [Thu, 7 Apr 2016 23:08:09 +0000 (23:08 +0000)]
Merge "Fix some edge cases" into nyc-dev

8 years agoDismiss docked stack when opening non-resizable activity
Jorim Jaggi [Thu, 7 Apr 2016 05:16:23 +0000 (22:16 -0700)]
Dismiss docked stack when opening non-resizable activity

- Also move the toast to SysemUI as a cleanup.

Bug: 27341740
Bug: 28026841
Change-Id: Ic6196ed75511751c6fadb12fa24574c881100f65

8 years agoMake stopped state a first-class thing
John Reck [Thu, 7 Apr 2016 23:02:33 +0000 (16:02 -0700)]
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

8 years agoMerge "TIF: Fix a typo in the documentation" into nyc-dev
Dongwon Kang [Thu, 7 Apr 2016 22:56:46 +0000 (22:56 +0000)]
Merge "TIF: Fix a typo in the documentation" into nyc-dev

8 years agoMerge "Improve Animation Calculations to remove Jank" into nyc-dev
Sid Soundararajan [Thu, 7 Apr 2016 22:55:51 +0000 (22:55 +0000)]
Merge "Improve Animation Calculations to remove Jank" into nyc-dev

8 years agoMerge "Fix top level menu lingering when submenu opens." into nyc-dev
Oren Blasberg [Thu, 7 Apr 2016 22:43:16 +0000 (22:43 +0000)]
Merge "Fix top level menu lingering when submenu opens." into nyc-dev

8 years agoImprove service start/creation tracing.
Tim Murray [Thu, 7 Apr 2016 22:25:22 +0000 (15:25 -0700)]
Improve service start/creation tracing.

bug 27998068

Change-Id: If18ab5d293f0bb0dfbfbed2f2af383c349464963

8 years agoMake ext libs a part of AOSP and mandatory
Svetoslav Ganov [Thu, 7 Apr 2016 22:26:02 +0000 (15:26 -0700)]
Make ext libs a part of AOSP and mandatory

bug:27698377

Change-Id: Ic98d18f90f9b735e49ff6a7801835b6432ec86de

8 years agoDo not crop children to task bounds while resizing.
Robert Carr [Thu, 7 Apr 2016 22:18:45 +0000 (15:18 -0700)]
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

8 years agoMerge "Hide unnecessary extra name constants in ClipDescription" into nyc-dev
Vladislav Kaznacheev [Thu, 7 Apr 2016 22:21:44 +0000 (22:21 +0000)]
Merge "Hide unnecessary extra name constants in ClipDescription" into nyc-dev

8 years agoEliminate side effects of a11y window title.
Phil Weaver [Thu, 7 Apr 2016 22:15:41 +0000 (15:15 -0700)]
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

8 years agoMerge "HFP Client Permission" into nyc-dev
Joseph Pirozzo [Thu, 7 Apr 2016 22:09:24 +0000 (22:09 +0000)]
Merge "HFP Client Permission" into nyc-dev

8 years agoCancel recents animations after the transition starts.
Winson [Thu, 7 Apr 2016 21:23:02 +0000 (14:23 -0700)]
Cancel recents animations after the transition starts.

Bug: 27864076
Change-Id: Ibe677704245534018db9051060ad5fa99332576b

8 years agoSupport replace op in new pipeline
Chris Craik [Thu, 7 Apr 2016 20:51:07 +0000 (13:51 -0700)]
Support replace op in new pipeline

bug:26562461

Change-Id: Ie48d2da30f5e9d9abe88a5cd973dfb26e38abf63

8 years agoMerge "Only updating the header if valid bounds are generated." into nyc-dev
Winson Chung [Thu, 7 Apr 2016 21:44:33 +0000 (21:44 +0000)]
Merge "Only updating the header if valid bounds are generated." into nyc-dev