237977 Commits

Author SHA1 Message Date
Andrii Kulian
21400cb552 Merge "Fix multiple configuration changes in multiwindow" into nyc-dev 2016-04-08 19:05:20 +00:00
Andrii Kulian
701214b282 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
2016-04-08 11:58:43 -07:00
Rob Carr
b918f1bfb8 Merge "Do not crop children to task bounds while resizing." into nyc-dev 2016-04-08 18:37:31 +00:00
Phil Weaver
ab4d5ffd12 Merge "Eliminate side effects of a11y window title." into nyc-dev 2016-04-08 18:22:02 +00:00
Doris Liu
0e89f98044 Merge "Improve error logging for parsing failures" into nyc-dev 2016-04-08 18:02:51 +00:00
Doris Liu
0a1a5167be Improve error logging for parsing failures
Bug: 27043594
Change-Id: I901b65f734c49444a78e0714e007e15e2340ab9d
2016-04-08 18:01:54 +00:00
Selim Gurun
cea732185f Merge "Corrections to processing abioverride flag" into nyc-dev 2016-04-08 17:57:58 +00:00
Paul Lawrence
c0a8fa8918 Merge "Add setting and detection of ro.sys.safemode property." into nyc-dev 2016-04-08 17:40:42 +00:00
Chong Zhang
a1544dd614 Merge "Take screenshot of finishing apps as requested" into nyc-dev 2016-04-08 17:36:31 +00:00
dcashman
f44f5a460e Add setting and detection of ro.sys.safemode property.
Bug: 28008032
Change-Id: I6b19b32df615becd88a56a337c999b57011c6200
2016-04-08 10:20:01 -07:00
Anna Galusza
21cafcd662 Merge "Fix issue where (accessibility) keyboard mode callbacks were not always called. Bug: 28007101" into nyc-dev 2016-04-08 17:06:10 +00:00
Jason Monk
06112bb2df Merge "Add constant for premium sms screen" into nyc-dev 2016-04-08 17:04:45 +00:00
Bennie Ouyang
fc90ffe392 Merge "Added Notification Stress Tests" into nyc-dev 2016-04-08 16:58:21 +00:00
Raph Levien
c147dbbca4 Merge "Avoid copying of font table data, provide raw font bytes" into nyc-dev 2016-04-08 16:32:14 +00:00
Svetoslav Ganov
0e868a193e Merge "Fix a NPE in PackageInstallerService" into nyc-dev 2016-04-08 16:25:01 +00:00
Svet Ganov
3baa87653e Fix a NPE in PackageInstallerService
bug:28051747

Change-Id: Ic38786e1ab4b4f6d0f9b1782d3bb46af04c61aa7
2016-04-08 09:22:57 -07:00
Daniel U
534537d313 Merge "Copy lockscreen notification settings upon upgrade" into nyc-dev 2016-04-08 15:44:45 +00:00
Daniel U
02ba61203e 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
2016-04-08 16:41:15 +01:00
Evan Rosky
289d8a0850 Merge "Centralized user icon drawing with badges" into nyc-dev 2016-04-08 15:38:38 +00:00
Jason Monk
397df6875d Add constant for premium sms screen
Bug: 27657256
Change-Id: Ia5b209deceb1726b62529c4144a85f5fc2d26833
2016-04-08 11:37:34 -04:00
Raph Levien
296bf8c55a 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
2016-04-08 08:29:32 -07:00
John Reck
c724dcf23c Merge "Make stopped state a first-class thing" into nyc-dev 2016-04-08 15:09:42 +00:00
John Reck
4a735441e8 Merge "Fix a derp" into nyc-dev 2016-04-08 15:09:26 +00:00
Gustav Sennton
1d16d773b0 Merge "Create WebViewUpdateServiceImpl to move implementation there." into nyc-dev 2016-04-08 14:25:59 +00:00
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
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
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
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