OSDN Git Service

android-x86/frameworks-base.git
6 years agoRevert "Temporarily enable screen wakelock logging in WM"
Wale Ogunwale [Tue, 6 Jun 2017 21:36:50 +0000 (21:36 +0000)]
Revert "Temporarily enable screen wakelock logging in WM"

This reverts commit efe1b94acd97d6c0c70208d482887de4329ff3de.

Bug: 38416971
Change-Id: I6e038d5a24485a5348de8d1558b94a7b5a31bdaf
Test: No change in logic

7 years agoTemporarily enable screen wakelock logging in WM
Andrii Kulian [Fri, 26 May 2017 21:51:47 +0000 (14:51 -0700)]
Temporarily enable screen wakelock logging in WM

Enable DEBUG_KEEP_SCREEN_ON flag to get additional wakelock logs
to investigate b/38416971.

Bug: 38416971
Test: No change in logic
Change-Id: I83c45a26befb6a767b5d9fc30b1cde07a2432ebe

7 years agoMerge "Fixed broken ImageFloatingTextViewTests" into oc-dev
Selim Cinek [Fri, 26 May 2017 19:45:00 +0000 (19:45 +0000)]
Merge "Fixed broken ImageFloatingTextViewTests" into oc-dev

7 years agoMerge "Make volume dialog pick up on theme changes" into oc-dev
Jason Monk [Fri, 26 May 2017 19:03:39 +0000 (19:03 +0000)]
Merge "Make volume dialog pick up on theme changes" into oc-dev

7 years agoMerge "Moar Autofill Framework javadoc improvements:" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 18:55:32 +0000 (18:55 +0000)]
Merge "Moar Autofill Framework javadoc improvements:" into oc-dev

7 years agoMerge "Add ResourceId validation helper method" into oc-dev
Adam Lesinski [Fri, 26 May 2017 18:45:24 +0000 (18:45 +0000)]
Merge "Add ResourceId validation helper method" into oc-dev

7 years agoMerge "AAPT2: Implement attribute compat versioning" into oc-dev
Adam Lesinski [Fri, 26 May 2017 18:42:43 +0000 (18:42 +0000)]
Merge "AAPT2: Implement attribute compat versioning" into oc-dev

7 years agoMerge "HIDL: C++ Java parity" into oc-dev
Steven Moreland [Fri, 26 May 2017 18:31:53 +0000 (18:31 +0000)]
Merge "HIDL: C++ Java parity" into oc-dev

7 years agoMerge "Playback activity monitoring: add player types" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 18:06:16 +0000 (18:06 +0000)]
Merge "Playback activity monitoring: add player types" into oc-dev

7 years agoMerge "Add logging and null check for SkColorSpace serialization" into oc-dev
Matt Sarett [Fri, 26 May 2017 17:54:09 +0000 (17:54 +0000)]
Merge "Add logging and null check for SkColorSpace serialization" into oc-dev

7 years agoMake volume dialog pick up on theme changes
Jason Monk [Fri, 26 May 2017 14:38:54 +0000 (10:38 -0400)]
Make volume dialog pick up on theme changes

Test: change theme, view volume
Change-Id: I3f5b6ea7fd949e72624458a13b6c953629fcd1b5
Fixes: 38408033

7 years agoMerge "Collapse QS panel forcibly after dismissing Keyguard" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 16:20:45 +0000 (16:20 +0000)]
Merge "Collapse QS panel forcibly after dismissing Keyguard" into oc-dev

7 years agoMerge "Send notification state event more frequently" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 16:19:18 +0000 (16:19 +0000)]
Merge "Send notification state event more frequently" into oc-dev

7 years agoMerge "Create a new drawable after caching the DrawableContainer" into oc-dev
Tenghui Zhu [Fri, 26 May 2017 16:10:19 +0000 (16:10 +0000)]
Merge "Create a new drawable after caching the DrawableContainer" into oc-dev

7 years agoMerge "Properly battery blame throttled location requests" into oc-dev
Soonil Nagarkar [Fri, 26 May 2017 16:05:09 +0000 (16:05 +0000)]
Merge "Properly battery blame throttled location requests" into oc-dev

7 years agoAdd logging and null check for SkColorSpace serialization
Matt Sarett [Fri, 26 May 2017 14:55:38 +0000 (10:55 -0400)]
Add logging and null check for SkColorSpace serialization

Test: Compiled and flashed device.

BUG:38502480

Change-Id: Iaae74d8485ef88d85b634ddf86999e5cac60028f

7 years agoMerge "Fix RTL for SignalDrawable" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 15:30:18 +0000 (15:30 +0000)]
Merge "Fix RTL for SignalDrawable" into oc-dev

7 years agoMerge "Removed deprecated setAutofill() method for virtual children." into oc-dev
TreeHugger Robot [Fri, 26 May 2017 15:08:14 +0000 (15:08 +0000)]
Merge "Removed deprecated setAutofill() method for virtual children." into oc-dev

7 years agoMerge "Check for false touches when determining if the notif menu should be shown...
TreeHugger Robot [Fri, 26 May 2017 14:40:21 +0000 (14:40 +0000)]
Merge "Check for false touches when determining if the notif menu should be shown" into oc-dev

7 years agoMerge "AOD: Fix AOD background bug" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 14:39:46 +0000 (14:39 +0000)]
Merge "AOD: Fix AOD background bug" into oc-dev

7 years agoMerge "Allow some system notifications to be blocked." into oc-dev
Julia Reynolds [Fri, 26 May 2017 14:39:26 +0000 (14:39 +0000)]
Merge "Allow some system notifications to be blocked." into oc-dev

7 years agoMerge "Add 2 hours as an option for snoozing, update default to 1 hour" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 14:37:17 +0000 (14:37 +0000)]
Merge "Add 2 hours as an option for snoozing, update default to 1 hour" into oc-dev

7 years agoCollapse QS panel forcibly after dismissing Keyguard
Yoshinori Hirano [Fri, 14 Apr 2017 02:29:38 +0000 (11:29 +0900)]
Collapse QS panel forcibly after dismissing Keyguard

The Quick Settings panel is not collapsed when the screen lock is
unlocked by using TileService APIs (unlockAndRun() and
startActivityAndCollapse()).
To fix this issue, the QS panel should be collapsed forcibly when
startActivityAndCollapse() is called.

Bug: 38252721
Test: manual - install an app which calls startActivityAndCollapse()
               inside the runnable passed to unlockAndRun().

Author: Yuta Yamada <yuta.x.yamada@sonymobile.com>
Change-Id: I82d1df368d5024283f58ee5cc2d42559aac28467

7 years agoFix RTL for SignalDrawable
Jason Monk [Thu, 25 May 2017 20:11:52 +0000 (16:11 -0400)]
Fix RTL for SignalDrawable

Test: visual
Change-Id: I685125dff96829159d78983ad4b7c7f91d095c5c
Fixes: 38487767

7 years agoMerge "Remove the old version of setAffiliationIds" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 13:00:35 +0000 (13:00 +0000)]
Merge "Remove the old version of setAffiliationIds" into oc-dev

7 years agoMerge "WifiManager: add iface name and mode labels" into oc-dev
Erik Kline [Fri, 26 May 2017 09:49:20 +0000 (09:49 +0000)]
Merge "WifiManager: add iface name and mode labels" into oc-dev

7 years agoPlayback activity monitoring: add player types
Jean-Michel Trivi [Thu, 25 May 2017 22:11:07 +0000 (15:11 -0700)]
Playback activity monitoring: add player types

Add player types for playback activity monitoring:
 - AAudio
 - hardware sources
 - proxy for external players
Fix some declarations that do not follow coding guidelines

Test: n/a
Bug: 62027849
Change-Id: I14088a071a296fa8d342b36b550f1dc4e3388653

7 years agoMerge "Add extra debug logging to WifiTracker." into oc-dev
TreeHugger Robot [Fri, 26 May 2017 02:47:51 +0000 (02:47 +0000)]
Merge "Add extra debug logging to WifiTracker." into oc-dev

7 years agoMerge "Fix issue #62103358: ProcessRecord dump formatting problem" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 01:12:13 +0000 (01:12 +0000)]
Merge "Fix issue #62103358: ProcessRecord dump formatting problem" into oc-dev

7 years agoMerge "SelectionActionModeHelper should use target view's thread" into oc-dev
TreeHugger Robot [Fri, 26 May 2017 00:45:38 +0000 (00:45 +0000)]
Merge "SelectionActionModeHelper should use target view's thread" into oc-dev

7 years agoAdd extra debug logging to WifiTracker.
Sundeep Ghuman [Thu, 11 May 2017 00:45:13 +0000 (17:45 -0700)]
Add extra debug logging to WifiTracker.

Bug: b/38212080
Test: NA
Change-Id: I1f5d1a1d43a1dd4d9ce2235d3a53d043d4e2120d

7 years agoMerge "Relayout when base inner insets change" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 23:25:43 +0000 (23:25 +0000)]
Merge "Relayout when base inner insets change" into oc-dev

7 years agoMerge "Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 23:19:51 +0000 (23:19 +0000)]
Merge "Port Ic9d9d65c66325904c95ab3966bdcc16e7668278b to oc-dev" into oc-dev

7 years agoMerge "Removing unused SecureTouchListener" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 23:17:43 +0000 (23:17 +0000)]
Merge "Removing unused SecureTouchListener" into oc-dev

7 years agoMoar Autofill Framework javadoc improvements:
Felipe Leme [Thu, 25 May 2017 18:24:23 +0000 (11:24 -0700)]
Moar Autofill Framework javadoc improvements:

- Fixed WebView < > and API calls.
- Improved description of virtual views.
- Described how to set boundaries of virtual views.
- Improved AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS doc.

Bug: 37567048
Test: ran 'm -j doc-comment-check-docs' and checked resulting HTML

Change-Id: Ic0d1e9ff2703c87d4007f0092a2f8dfe0efca6db

7 years agoMerge "Offer listener to observe StrictMode violations." into oc-dev
Jeff Sharkey [Thu, 25 May 2017 23:07:04 +0000 (23:07 +0000)]
Merge "Offer listener to observe StrictMode violations." into oc-dev

7 years agoMerge "Update ActivityStack#removeActivityFromHistoryLocked documentation." into...
TreeHugger Robot [Thu, 25 May 2017 23:03:49 +0000 (23:03 +0000)]
Merge "Update ActivityStack#removeActivityFromHistoryLocked documentation." into oc-dev

7 years agoMerge changes from topic 'multinetwork_vndk' into oc-dev
Lorenzo Colitti [Thu, 25 May 2017 23:02:36 +0000 (23:02 +0000)]
Merge changes from topic 'multinetwork_vndk' into oc-dev

* changes:
  Allow vendor code to link to libandroid_net.
  Move libandroid_net from Android.mk to Android.bp.

7 years agoMerge "Fix safezone and getAlpha b/38361276 Test: frameworks/base/core/tests/coretest...
TreeHugger Robot [Thu, 25 May 2017 22:55:51 +0000 (22:55 +0000)]
Merge "Fix safezone and getAlpha b/38361276 Test: frameworks/base/core/tests/coretests/src/android/graphics/drawable/IconTest.java" into oc-dev

7 years agoMerge "Force a light to be set for the first time" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:54:59 +0000 (22:54 +0000)]
Merge "Force a light to be set for the first time" into oc-dev

7 years agoMerge "Fixed memory leak with the inflater" into oc-dev
Selim Cinek [Thu, 25 May 2017 22:54:08 +0000 (22:54 +0000)]
Merge "Fixed memory leak with the inflater" into oc-dev

7 years agoMerge "Fix and clarify behavior of vertical/horizontal attributes" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:51:14 +0000 (22:51 +0000)]
Merge "Fix and clarify behavior of vertical/horizontal attributes" into oc-dev

7 years agoMerge "Fixed an issue when inflating too many notifications" into oc-dev
Selim Cinek [Thu, 25 May 2017 22:42:11 +0000 (22:42 +0000)]
Merge "Fixed an issue when inflating too many notifications" into oc-dev

7 years agoFix issue #62103358: ProcessRecord dump formatting problem
Dianne Hackborn [Thu, 25 May 2017 22:33:53 +0000 (15:33 -0700)]
Fix issue #62103358: ProcessRecord dump formatting problem

Give hasTopUi and hasOverlayUi a newline, also combine them together,
and move them up to be with the rest of the process importance
data (not at the very end after all the list of connections and
other things).

Test: manual

Change-Id: I1a391c03b58e0e5e6f7ce595376f590ce9e7e5bc

7 years agoSelectionActionModeHelper should use target view's thread
Makoto Onuki [Wed, 24 May 2017 19:25:46 +0000 (12:25 -0700)]
SelectionActionModeHelper should use target view's thread

Use the looper from the TextView's thread for the helper

Bug 62043115
Test: Manual, type on edit field and select text

Change-Id: I501430a500016a81963a9f9fa636474b708b9b36

7 years agoMerge "Handle install time ephemeral permissions" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:28:24 +0000 (22:28 +0000)]
Merge "Handle install time ephemeral permissions" into oc-dev

7 years agoMerge "Add test to verify all sysui tests extend the right stuff" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:21:23 +0000 (22:21 +0000)]
Merge "Add test to verify all sysui tests extend the right stuff" into oc-dev

7 years agoMerge "Allow the creation of IMPORTANCE_NONE channels" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 22:14:31 +0000 (22:14 +0000)]
Merge "Allow the creation of IMPORTANCE_NONE channels" into oc-dev

7 years agoHIDL: C++ Java parity
Steven Moreland [Tue, 23 May 2017 19:45:16 +0000 (12:45 -0700)]
HIDL: C++ Java parity

Add same restrictions to Java that we have in C++ HIDL
code for C++ services.

Test: hidl_test_java, multiple internal devices work
Bug: 38415912
Merged-In: I48571a5cd94b0ba6b1f722d032e45aac6e9527ed
Change-Id: I48571a5cd94b0ba6b1f722d032e45aac6e9527ed

7 years agoMerge "Add a function to verify if idmap is made from given target/overlay packages...
TreeHugger Robot [Thu, 25 May 2017 21:50:52 +0000 (21:50 +0000)]
Merge "Add a function to verify if idmap is made from given target/overlay packages" into oc-dev

7 years agoMerge "Fix up the QS gutter" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 21:41:47 +0000 (21:41 +0000)]
Merge "Fix up the QS gutter" into oc-dev

7 years agoMerge "AOD: Fix camera icon visibility" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 21:40:50 +0000 (21:40 +0000)]
Merge "AOD: Fix camera icon visibility" into oc-dev

7 years agoAllow vendor code to link to libandroid_net.
Lorenzo Colitti [Wed, 17 May 2017 07:50:17 +0000 (16:50 +0900)]
Allow vendor code to link to libandroid_net.

This library contains only the multinetwork API, which is part
of the NDK and has long-term support. It is needed by any native
that wants to use network communications on a different network
than the default network, and thus is necessary for vendor code
such as IMS clients or carrier applications.

Bug: 37527489
Test: marlin builds and boots
Test: MultinetworkApiTest CTS tests passes
Change-Id: I2aa592d1d082aae410173adf2a09f6d1dd8092dc
Merged-In: I2aa592d1d082aae410173adf2a09f6d1dd8092dc

7 years agoMove libandroid_net from Android.mk to Android.bp.
Lorenzo Colitti [Wed, 17 May 2017 07:46:02 +0000 (16:46 +0900)]
Move libandroid_net from Android.mk to Android.bp.

This is the first step of making libandroid_net available to
vendor code. This is a partial cherry-pick of ag/2210044 that
only moves the build target (hence the Merged-In change ID).

Bug: 37527489
Test: marlin builds and boots
Change-Id: Id9e4d13d4e75f6f6381c675c4e9f72e9f4769d22
Merged-In: Ie3c9c3d3c8c75ade36422d1e8ee0a5fe117e9091

7 years agoUpdate ActivityStack#removeActivityFromHistoryLocked documentation.
Bryce Lee [Thu, 25 May 2017 20:57:46 +0000 (13:57 -0700)]
Update ActivityStack#removeActivityFromHistoryLocked documentation.

Followup to ag/2187696

Test: Documentation only
Bug: 37752430
Change-Id: I6e6a1e6727793037b398ef5b2da58d9efad4ada0

7 years agoMerge "Use cached keyguard flags during relaunch." into oc-dev
Bryce Lee [Thu, 25 May 2017 20:43:30 +0000 (20:43 +0000)]
Merge "Use cached keyguard flags during relaunch." into oc-dev

7 years agoAllow some system notifications to be blocked.
Julia Reynolds [Wed, 24 May 2017 20:09:19 +0000 (16:09 -0400)]
Allow some system notifications to be blocked.

- Happens at a channel level, and system services have to opt in

Bug: 38428796
Test: runtest systemui-notification, manual
Change-Id: I5592b4e32c177844583aee25379390199eef0a58

7 years agoMerge "Do not remove task until all activities have been destroyed." into oc-dev
Bryce Lee [Thu, 25 May 2017 20:42:15 +0000 (20:42 +0000)]
Merge "Do not remove task until all activities have been destroyed." into oc-dev

7 years agoSend notification state event more frequently
Julia Reynolds [Thu, 25 May 2017 16:35:36 +0000 (12:35 -0400)]
Send notification state event more frequently

- For all new notifications that will appear in the status
bar.

Change-Id: I7f3414d4007be26558f8f4b7ec72dde17a538b05
Fixes: 38500162
Test: manual

7 years agoMerge "Ensure that windows are drawn before starting transition into PiP." into oc-dev
TreeHugger Robot [Thu, 25 May 2017 20:30:21 +0000 (20:30 +0000)]
Merge "Ensure that windows are drawn before starting transition into PiP." into oc-dev

7 years agoCheck for false touches when determining if the notif menu should be shown
Mady Mellor [Thu, 11 May 2017 00:51:25 +0000 (17:51 -0700)]
Check for false touches when determining if the notif menu should be shown

If it's a false touch don't show the menu.

Test: manual: try swiping things away on the lockscreen (fast + long)
     try showing notification menu on the lockscreen
Bug: 38208094

Change-Id: I16ceedd90a5fbc80156a9495d6cfd6fa02771886

7 years agoMerge "Don’t reset the menu state if the menu is showing during an update" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 20:08:54 +0000 (20:08 +0000)]
Merge "Don’t reset the menu state if the menu is showing during an update" into oc-dev

7 years agoMerge "Update preloaded classes for O" into oc-dev
Mathieu Chartier [Thu, 25 May 2017 19:54:38 +0000 (19:54 +0000)]
Merge "Update preloaded classes for O" into oc-dev

7 years agoProperly battery blame throttled location requests
Soonil Nagarkar [Tue, 23 May 2017 22:54:55 +0000 (15:54 -0700)]
Properly battery blame throttled location requests

Bug: 37552457
Fixes: 37552457
Test: manual

Change-Id: Iba980eb885b5a6465bafc12c9ee35831b7a4ff31
(cherry picked from commit d4def0c6b4bfde47ab8d0e77f5f08795e485cb87)

7 years agoMerge "ClientMonitor should only send cancel() once to fp daemon" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 19:45:45 +0000 (19:45 +0000)]
Merge "ClientMonitor should only send cancel() once to fp daemon" into oc-dev

7 years agoFixed memory leak with the inflater
Selim Cinek [Thu, 25 May 2017 17:27:28 +0000 (10:27 -0700)]
Fixed memory leak with the inflater

Because min priority children could be removed from
their parents after the removal, a new inflation task
would be started, leading to the view being instantly
readded again. This lead to memory leaks.

It also fixes a bug where the inflation would not inflate
enough views that could lead to crashes / wrong layouts.

Finally there was a indexing error when handling removal
of group summaries.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Change-Id: Iac242946bd30060967ee7877560d40e63f39f996
Fixes: 62067645

7 years agoMerge "Add ability to add existing connection AND set parent at the same time." into...
Tyler Gunn [Thu, 25 May 2017 19:33:58 +0000 (19:33 +0000)]
Merge "Add ability to add existing connection AND set parent at the same time." into oc-dev

7 years agoAOD: Fix camera icon visibility
Adrian Roos [Thu, 25 May 2017 19:33:17 +0000 (12:33 -0700)]
AOD: Fix camera icon visibility

Fixes a bug where the camera icon could become
visible in AOD even though it should not.

Fixes: 62038727
Test: Trigger ambient display, uninstall button provider plugin, observe camera button does not show
Change-Id: Ie97085dff58b6ecd0157126e30b86138f585d454

7 years agoAdd test to verify all sysui tests extend the right stuff
Jason Monk [Tue, 23 May 2017 14:42:59 +0000 (10:42 -0400)]
Add test to verify all sysui tests extend the right stuff

And then make it pass.

Test: runtest systemui
Fixes: 38500852
Change-Id: I377164219e4a4f4d1a99f11ef06da03c2b527eb0

7 years agoMerge "[PackageManagerService]:Fix system app can't uninstall apps silently" into...
Sudheer Shanka [Thu, 25 May 2017 19:17:44 +0000 (19:17 +0000)]
Merge "[PackageManagerService]:Fix system app can't uninstall apps silently" into oc-dev

7 years agoMerge "Fix permission is not granted to work profile system app by default" into...
Tony Mak [Thu, 25 May 2017 18:57:32 +0000 (18:57 +0000)]
Merge "Fix permission is not granted to work profile system app by default" into oc-dev

7 years agoAOD: Fix AOD background bug
Adrian Roos [Thu, 25 May 2017 18:53:11 +0000 (11:53 -0700)]
AOD: Fix AOD background bug

There are certain conditions where the onDraw is still called
even though willNotDraw is set to true. Make sure we do not
draw the background then in ambient mode.

Change-Id: I63db1232434d9e8a80dc4c8a6dcacf726d8873ad
Fixes: 62090100
Test: receive notification / trigger ambient display, verify notification background is not showing

7 years agoRemoved deprecated setAutofill() method for virtual children.
Felipe Leme [Thu, 25 May 2017 18:50:49 +0000 (11:50 -0700)]
Removed deprecated setAutofill() method for virtual children.

Test: CtsAutoFillServiceTestCases pass

Bug: 37563972

Change-Id: Icbffb89d86ee65831b7c78effd2522ac7891e1be

7 years agoMerge "Fix backup and restore of package blocks" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 18:48:56 +0000 (18:48 +0000)]
Merge "Fix backup and restore of package blocks" into oc-dev

7 years agoMerge "Creating HW bitmaps from RenderNode" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 18:48:18 +0000 (18:48 +0000)]
Merge "Creating HW bitmaps from RenderNode" into oc-dev

7 years agoEnsure that windows are drawn before starting transition into PiP.
Winson Chung [Wed, 24 May 2017 19:13:33 +0000 (12:13 -0700)]
Ensure that windows are drawn before starting transition into PiP.

- Building upon ag/2125930, we ensure that all windows are drawn before
  starting the enter PiP animation.

Bug: 37420370
Test: bit FrameworksServicesTests:com.android.server.wm.BoundsAnimationControllerTests
Test: android.server.cts.ActivityManagerPinnedStackTests

Change-Id: I73fb71681f62bbc684efedbd3d40c3e1a670db46

7 years agoMerge "docs: Clarifying code snippet for View.autoFill()" into oc-dev
Felipe Leme [Thu, 25 May 2017 18:39:09 +0000 (18:39 +0000)]
Merge "docs: Clarifying code snippet for View.autoFill()" into oc-dev

7 years agoFix up the QS gutter
Jason Monk [Wed, 24 May 2017 18:57:10 +0000 (14:57 -0400)]
Fix up the QS gutter

 - Don't show when collapsed, show divider instead
 - Don't show when no notifications
 - Animate between states while expanding/collapsing
 - Other visual cleanup

Test: visual
Change-Id: I923c963fa70d63601b6a181299b04c5fc49922bb
Fixes: 38199857
Fixes: 38483355
Fixes: 38409326
Fixes: 38417776

7 years agoMerge "Respect empty vibration effect configs in PhoneWindowManager and VibratorServi...
TreeHugger Robot [Thu, 25 May 2017 18:10:22 +0000 (18:10 +0000)]
Merge "Respect empty vibration effect configs in PhoneWindowManager and VibratorService" into oc-dev

7 years agoMerge "Working around bugreport crash issues" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 18:07:23 +0000 (18:07 +0000)]
Merge "Working around bugreport crash issues" into oc-dev

7 years agoMerge "Camera2: Fix broken onCaptureBufferLost callback" into oc-dev
Eino-Ville Talvala [Thu, 25 May 2017 17:11:00 +0000 (17:11 +0000)]
Merge "Camera2: Fix broken onCaptureBufferLost callback" into oc-dev

7 years agoMerge "Fix guest tint" into oc-dev
Jason Monk [Thu, 25 May 2017 17:09:09 +0000 (17:09 +0000)]
Merge "Fix guest tint" into oc-dev

7 years agoMerge "Fix flaky tests" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 16:47:08 +0000 (16:47 +0000)]
Merge "Fix flaky tests" into oc-dev

7 years agoMerge "Triggering quiescent reboot during OTA" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 16:46:32 +0000 (16:46 +0000)]
Merge "Triggering quiescent reboot during OTA" into oc-dev

7 years agoUse cached keyguard flags during relaunch.
Bryce Lee [Thu, 25 May 2017 14:52:12 +0000 (07:52 -0700)]
Use cached keyguard flags during relaunch.

It is possible for the display to be unfrozen before an
AppWindowToken is finished relaunching. This allows for other window
containers (such as the StatusBar) to influence the rotation when
unfreezing.

This changelist prevents the cached keyguard flag values for the
AppWindowToken when relaunching. This prevents incorrect values from
being reported during transient relaunch window states.

Fixes: 38262879
Test: bit FrameworksServicesTests:com.android.server.wm.AppWindowTokenTests#testKeyguardFlagsDuringRelaunch

Change-Id: I2aa23ac282cf7626bb187c6cd1a4a3524f788877

7 years agoFix backup and restore of package blocks
Julia Reynolds [Mon, 22 May 2017 12:45:27 +0000 (08:45 -0400)]
Fix backup and restore of package blocks

-Restore block status for apps that already exist
E.g. apps on the system image
- Stop depending on appops, it's duplicative and
not backuped/restored

Fixes: 38340377
Test: runtest systemui-notification, toast and notification
cts tests, backup android, clear data on packages, restore android,
verify that blocked apps stay blocked.
Change-Id: I29a33d7db2701bd64a7b30411dcf77c0a2f321d1

7 years agoMerge "Autofill UI should still show when dataset authentication is cancelled." into...
Felipe Leme [Thu, 25 May 2017 14:32:04 +0000 (14:32 +0000)]
Merge "Autofill UI should still show when dataset authentication is cancelled." into oc-dev

7 years agoWifiManager: add iface name and mode labels
Rebecca Silberstein [Thu, 25 May 2017 08:53:08 +0000 (01:53 -0700)]
WifiManager: add iface name and mode labels

Connectivity service needs to get the interface name and intended ip
configuration mode for softap.
This CL adds the interface name and softap target mode variables to
use to insert the extra info into the wifi ap state change broadcast.

Note: additional CLs are needed to verify the iface name and mode.  The
mode tracking is still in progress.

Bug: 62076211
Test: frameworks/base/wifi/tests/runtests.sh
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: manually verified the name in the broadcast
Change-Id: I64e1d13a9e422945fe9c4c268c206da365d0a3eb

7 years agoMerge "Expand logging capabilities of Tethering subsystem" into oc-dev
TreeHugger Robot [Thu, 25 May 2017 09:04:33 +0000 (09:04 +0000)]
Merge "Expand logging capabilities of Tethering subsystem" into oc-dev

7 years agoMerge "Revert fix for FingerprintManager leak" into oc-dev
Kevin Chyn [Thu, 25 May 2017 04:28:09 +0000 (04:28 +0000)]
Merge "Revert fix for FingerprintManager leak" into oc-dev

7 years agoMerge "Fixed an issue where groups could stay userlocked" into oc-dev
Selim Cinek [Thu, 25 May 2017 03:29:10 +0000 (03:29 +0000)]
Merge "Fixed an issue where groups could stay userlocked" into oc-dev

7 years agoTriggering quiescent reboot during OTA
Dmitri Plotnikov [Wed, 10 May 2017 23:26:38 +0000 (16:26 -0700)]
Triggering quiescent reboot during OTA

Bug: 34201965
Test: follow instructions in https://docs.google.com/document/d/1RjvUGRi_Ys5-BRoJz6_SnixuipFiF-GAs6CNc7w-Qj0/edit and use fake-ota
Change-Id: I540f86cf11746faefc25bc74319512eba6d0d783

7 years agoFix and clarify behavior of vertical/horizontal attributes
Chet Haase [Thu, 25 May 2017 01:27:14 +0000 (18:27 -0700)]
Fix and clarify behavior of vertical/horizontal attributes

There were a couple of problems with the new paddingHorizontal
and layout_mareginHorizontal attributes. For one thing, the behavior
of layout_marginHorizontal needed to change with respect to marginStart/End.
Instead of the implemented behavior where Horizontal took precedence over
start/end, the behavior is being changed such that start/end can override
horizontal. This makes it consistent with the way that the attributes work
for padding.

Also, the attribute docs were not correct. For one thing, they needed to be
updated to match the new behavior for marginHorizontal. Also, the docs for
the padding attributes (including the docs for the existing "padding") were
not correct for the behavior as-implemented (specifically with respect to the
precedence of the attributes where paddingStart/End are concerned).

Bug: 37756178  double-check logic of horizontal/vertical attributes wrt start/end attributes
Test: Updated cts tests, submitting at the same time
Change-Id: I85a102549022cbec7d7b5c76f31ac985db103372

7 years agoUpdate preloaded classes for O
Mathieu Chartier [Fri, 19 May 2017 23:41:46 +0000 (16:41 -0700)]
Update preloaded classes for O

PSS changes don't seem to be non-noise.

Changed the process slightly, the threshold for persistent processes or
foreground processes is 3. The threshold for other apps is 10. The
reasoning for this is that these apps are always running so their
classes should be weighted more heavily.

The processes that had increased weighing were:
system
com.android.systemui
com.android.phone
com.android.nfc
com.google.android.apps.nexuslauncher
com.google.android.gms
com.google.android.gms.persistent
com.google.android.inputmethod.latin

Preloaded classes: 4148 -> 4592
Compiled classes: 8677 -> 8524
Boot.oat size: 45474248 -> 45434448
Boot.art size: 13615104 -> 13733888

Bug: 34890992
Bug: 37689251
Test: N6P boots

Change-Id: Ief81bfb6d8ae2d971b85bf3e5e9ff11cb2236bab

7 years agoFix safezone and getAlpha
Hyunyoung Song [Mon, 22 May 2017 21:15:14 +0000 (14:15 -0700)]
Fix safezone and getAlpha
b/38361276
Test: frameworks/base/core/tests/coretests/src/android/graphics/drawable/IconTest.java

Change-Id: I3e1c73276968747249b053fd581f289c340d98af

7 years agoWorking around bugreport crash issues
Makoto Onuki [Wed, 24 May 2017 21:58:25 +0000 (14:58 -0700)]
Working around bugreport crash issues

Overall we need more synchronization, but I'm taking a safe approach
here for oc-dev for now.

Bug: 62043115
Test: adb shell am instrument -w com.android.shell.tests
Change-Id: I0e22c5160cb96ce51dc1775237f01b7bf5c97a17

7 years agoMerge "Don't WTF when assist structure is missing." into oc-dev
TreeHugger Robot [Thu, 25 May 2017 00:05:49 +0000 (00:05 +0000)]
Merge "Don't WTF when assist structure is missing." into oc-dev

7 years agoRevert fix for FingerprintManager leak
Kevin Chyn [Wed, 24 May 2017 23:56:56 +0000 (16:56 -0700)]
Revert fix for FingerprintManager leak

Bug: 38509779
Bug: 32295793

Setting to null causes problem seen in b/38509779
Using weakreference will cause problems if the application
declares AuthenticationClient as a weak reference as well and would
very likely break a lot of existing apps.

Test: manual
Change-Id: Iedbdd76f3a402b766ce8a799bf76324d1164a0ec

7 years agoAutofill UI should still show when dataset authentication is cancelled.
Felipe Leme [Wed, 24 May 2017 20:16:31 +0000 (13:16 -0700)]
Autofill UI should still show when dataset authentication is cancelled.

Test: manual verification
Test: existing CtsAutoFillServiceTestCases pass
Test: LoginActivityTest.testDatasetAuthTwoFieldsUserCancelsFirstAttempt

Fixes: 38427468

Change-Id: If8785ad8fda1408a5dee66c53f7dcb4c85d78262

7 years agoMerge "Update the app window's thumbnail layer after starting window is removed"...
TreeHugger Robot [Wed, 24 May 2017 23:44:10 +0000 (23:44 +0000)]
Merge "Update the app window's thumbnail layer after starting window is removed" into oc-dev