OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Fix a few auto fill ussues"
TreeHugger Robot [Tue, 14 Mar 2017 06:50:55 +0000 (06:50 +0000)]
Merge "Fix a few auto fill ussues"

7 years agoMerge "Address some comments on IpManagerTest" am: b2afa1ede5 am: dea2371e71
Erik Kline [Tue, 14 Mar 2017 06:17:39 +0000 (06:17 +0000)]
Merge "Address some comments on IpManagerTest" am: b2afa1ede5 am: dea2371e71
am: eb04c52063

Change-Id: I8716a2f49c6adec97b260c32d65d53414068e41d

7 years agoMerge "Address some comments on IpManagerTest" am: b2afa1ede5
Erik Kline [Tue, 14 Mar 2017 06:13:10 +0000 (06:13 +0000)]
Merge "Address some comments on IpManagerTest" am: b2afa1ede5
am: dea2371e71

Change-Id: Iac9eccca662fccc2da7d81c6d86d1623cccef342

7 years agoMerge "iot: Grant all runtime permissions for installed apks."
Alex Deymo [Tue, 14 Mar 2017 06:09:48 +0000 (06:09 +0000)]
Merge "iot: Grant all runtime permissions for installed apks."

7 years agoMerge "Address some comments on IpManagerTest"
Erik Kline [Tue, 14 Mar 2017 06:08:34 +0000 (06:08 +0000)]
Merge "Address some comments on IpManagerTest"
am: b2afa1ede5

Change-Id: Ic986c23c693757b8311e0de0c0a94281db67f62d

7 years agoMerge "Mark NetworkScoreManager.requestRecommendations hidden."
Joe LaPenna [Tue, 14 Mar 2017 06:01:56 +0000 (06:01 +0000)]
Merge "Mark NetworkScoreManager.requestRecommendations hidden."

7 years agoMerge "Address some comments on IpManagerTest"
Treehugger Robot [Tue, 14 Mar 2017 06:00:34 +0000 (06:00 +0000)]
Merge "Address some comments on IpManagerTest"

7 years agoFix a few auto fill ussues
Svet Ganov [Mon, 13 Mar 2017 07:21:04 +0000 (00:21 -0700)]
Fix a few auto fill ussues

1. Ensure clicking on a focused view brings up autofill if needed

2. Notify the autofill manager in a couple of cases we missed

3. Renamed the AutofillManager app facing APIs to better reflect what
    they do and added a API for the app to cancel the autofill interaction

4. Fix view structure dispatch where the ordering of children for autofill
    was mixed with ordering of direct view children - the autofill children
    may be indirect as views can be marked not important for autofill

5. Show scrollbars only if there are more fill options than want is shown

6. Show only three fill options and the rest can be accessed with a scroll

7. Remove the list divider to allow fill items to control all fill window content

8. Renamed the autofill manager internal service classes to xxAutofillxx

9. Fixed a comment that was not addressed in a previous CL

10. Showing max three fill options - rest needs a scroll

11. Make sure fill UI shown when filter with no matches is changed
      to filter with some matches

12. Make sure the fill window has a shadow

Test: Autofill CTS tests pass and manual

bug:36038929
bug:36040101
bug:36149166
bug:36034681
bug:36126001
bug:36035654

Change-Id: Ic8726146fc3c0a19d3e536becdd63fb65622136e

7 years agoMerge "Unhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS"
TreeHugger Robot [Tue, 14 Mar 2017 04:55:42 +0000 (04:55 +0000)]
Merge "Unhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS"

7 years agoMerge "CEC: Revisit the behavior of HDMI_SYSTEM_AUDIO_ENABLED"
Donghyun Cho [Tue, 14 Mar 2017 04:54:33 +0000 (04:54 +0000)]
Merge "CEC: Revisit the behavior of HDMI_SYSTEM_AUDIO_ENABLED"

7 years agoMerge "Dont dispatch a11y events that have no subscribers"
TreeHugger Robot [Tue, 14 Mar 2017 04:35:34 +0000 (04:35 +0000)]
Merge "Dont dispatch a11y events that have no subscribers"

7 years agoAddress some comments on IpManagerTest
Erik Kline [Tue, 14 Mar 2017 04:00:27 +0000 (13:00 +0900)]
Address some comments on IpManagerTest

Test: as follows
    - built (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 26991160
Change-Id: Ib543874188537e31422206d67d1760762a7c85cd

7 years agoMerge "Skeleton of an IpManagerTest" am: db4333a2c2 am: cf07e0d541
Erik Kline [Tue, 14 Mar 2017 03:25:04 +0000 (03:25 +0000)]
Merge "Skeleton of an IpManagerTest" am: db4333a2c2 am: cf07e0d541
am: 4e8ae3eddc

Change-Id: I25dd93146efe7ce1cd9cb81da19dcb44afc96bd3

7 years agoMerge "Skeleton of an IpManagerTest" am: db4333a2c2
Erik Kline [Tue, 14 Mar 2017 03:19:56 +0000 (03:19 +0000)]
Merge "Skeleton of an IpManagerTest" am: db4333a2c2
am: cf07e0d541

Change-Id: I9b0ed1aff8ba7d5465bff3d6fa8f9048153c8a44

7 years agoMerge "Skeleton of an IpManagerTest"
Erik Kline [Tue, 14 Mar 2017 03:11:15 +0000 (03:11 +0000)]
Merge "Skeleton of an IpManagerTest"
am: db4333a2c2

Change-Id: I5817c2458c222afb85389deaf22b43d245577b2a

7 years agoMerge "Skeleton of an IpManagerTest"
Treehugger Robot [Tue, 14 Mar 2017 03:02:19 +0000 (03:02 +0000)]
Merge "Skeleton of an IpManagerTest"

7 years agoMerge "BatteryStats: Prevent double-detaching Counter"
TreeHugger Robot [Tue, 14 Mar 2017 01:34:21 +0000 (01:34 +0000)]
Merge "BatteryStats: Prevent double-detaching Counter"

7 years agoMerge "Fix java-doc reference"
TreeHugger Robot [Tue, 14 Mar 2017 01:28:21 +0000 (01:28 +0000)]
Merge "Fix java-doc reference"

7 years agoUnhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS
Justin Klaassen [Thu, 16 Feb 2017 02:57:46 +0000 (18:57 -0800)]
Unhide Settings#ACTION_NIGHT_DISPLAY_SETTINGS

Bug: 35356645
Test: adb shell am start -a "android.settings.NIGHT_DISPLAY_SETTINGS"
Change-Id: I8f725c4e4190e849d9160f09d2ca79f1987fc93a

7 years agoMerge "carrier default app notification polish" am: b2bb98e62d am: 921a49f7f8
fionaxu [Tue, 14 Mar 2017 01:20:28 +0000 (01:20 +0000)]
Merge "carrier default app notification polish" am: b2bb98e62d am: 921a49f7f8
am: 7c825ee40d

Change-Id: I2542b486de47071837407d1bb94ba89da0fb283a

7 years agoSkeleton of an IpManagerTest
Erik Kline [Tue, 14 Mar 2017 01:01:58 +0000 (10:01 +0900)]
Skeleton of an IpManagerTest

Test: as follows
    - biult (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 26991160
Change-Id: Idddddf0c1a7a8d0a8acff8a5526b02a533d5f3ec

7 years agoMerge "carrier default app notification polish" am: b2bb98e62d
fionaxu [Tue, 14 Mar 2017 01:15:46 +0000 (01:15 +0000)]
Merge "carrier default app notification polish" am: b2bb98e62d
am: 921a49f7f8

Change-Id: I318953e330252694fb64cde9d2f5e8a540384a1c

7 years agoMerge "carrier default app notification polish"
fionaxu [Tue, 14 Mar 2017 01:10:51 +0000 (01:10 +0000)]
Merge "carrier default app notification polish"
am: b2bb98e62d

Change-Id: I78101dd7dc4bd7f222c5e6cc095b7179ce03f362

7 years agoMerge "Provide proper rect in animation spec for transition to assistant stack."
TreeHugger Robot [Tue, 14 Mar 2017 01:08:28 +0000 (01:08 +0000)]
Merge "Provide proper rect in animation spec for transition to assistant stack."

7 years agoMerge "carrier default app notification polish"
Treehugger Robot [Tue, 14 Mar 2017 00:55:05 +0000 (00:55 +0000)]
Merge "carrier default app notification polish"

7 years agoDont dispatch a11y events that have no subscribers
Eugene Susla [Wed, 18 Jan 2017 19:07:06 +0000 (11:07 -0800)]
Dont dispatch a11y events that have no subscribers

This allows to avoid A11yManager -> A11yManagerService IPC, when there's no
subscribers to a given event

Test: steps:
  - Enable A11yManager.DEBUG
  - Navigate through a few random activities
  - In logcat, ensure log messages are present, notifying that certain events
  won't be dispatched
Change-Id: Ia019fb66053f10095b3651407d09de8e89cdd227

7 years agoMerge "No direct Uri grants from system."
TreeHugger Robot [Tue, 14 Mar 2017 00:38:09 +0000 (00:38 +0000)]
Merge "No direct Uri grants from system."

7 years agoFix java-doc reference
Philip P. Moltmann [Mon, 13 Mar 2017 20:22:42 +0000 (13:22 -0700)]
Fix java-doc reference

Test: Built
Change-Id: I5171d23145bfddc1e36b8e579c208f73472a0da4

7 years agoMerge "SurfaceView: Update matrix when buffer size changes."
Rob Carr [Mon, 13 Mar 2017 23:22:09 +0000 (23:22 +0000)]
Merge "SurfaceView: Update matrix when buffer size changes."

7 years agoMerge "Lower-overhead version of LockGuard."
TreeHugger Robot [Mon, 13 Mar 2017 23:21:31 +0000 (23:21 +0000)]
Merge "Lower-overhead version of LockGuard."

7 years agocarrier default app notification polish
fionaxu [Mon, 13 Mar 2017 23:01:12 +0000 (16:01 -0700)]
carrier default app notification polish

change notification string and app name

Bug: 36002256
Test: Manual
Change-Id: Iec2658850522585157bdc7edd7330ac930bf751d

7 years agoBatteryStats: Prevent double-detaching Counter
Adam Lesinski [Mon, 13 Mar 2017 19:25:13 +0000 (12:25 -0700)]
BatteryStats: Prevent double-detaching Counter

Detaching a Counter from a TimeBase means you can't use it anymore.
Only newly constructed Counters are automatically attached to a TimeBase.

Bug: 34200689
Test: make FrameworkCoreTests && adb install ... && adb shell am instrument -w -e class com.android.internal.os.BatteryStatsSensorTest com.android.frameworks.coretests
Change-Id: I9309000d5625aa6fe61a3c05f135e5828137d8ce

7 years agoSurfaceView: Update matrix when buffer size changes.
Robert Carr [Mon, 13 Mar 2017 22:27:15 +0000 (15:27 -0700)]
SurfaceView: Update matrix when buffer size changes.

This restores the N behavior where RT synchronization
was broken for buffer size changes.

Bug: 36180927
Bug: 28866173
Test: Manual. Will follow up once dechaselisted.
Change-Id: I31c4f83858a096af0dd73611ed120861911fc9d9

7 years agoMerge "Move rotation tracking to DisplayContent"
Andrii Kulian [Mon, 13 Mar 2017 22:09:30 +0000 (22:09 +0000)]
Merge "Move rotation tracking to DisplayContent"

7 years agoMerge "Hook up the cache quota query."
Daniel Nishi [Mon, 13 Mar 2017 22:08:10 +0000 (22:08 +0000)]
Merge "Hook up the cache quota query."

7 years agoMerge "remove LinearTransform from libutils"
TreeHugger Robot [Mon, 13 Mar 2017 22:06:09 +0000 (22:06 +0000)]
Merge "remove LinearTransform from libutils"

7 years agoProvide proper rect in animation spec for transition to assistant stack.
Winson Chung [Mon, 13 Mar 2017 21:44:46 +0000 (14:44 -0700)]
Provide proper rect in animation spec for transition to assistant stack.

Bug: 35363819
Test: Enter recents from the assistant and relaunch it.
Change-Id: I498d914b31bed32e206e1eab3c97a7266dae8334

7 years agoMerge "Move PackageInstaller over to AppFuse."
Jeff Sharkey [Mon, 13 Mar 2017 21:44:35 +0000 (21:44 +0000)]
Merge "Move PackageInstaller over to AppFuse."

7 years agoLower-overhead version of LockGuard.
Jeff Sharkey [Mon, 13 Mar 2017 20:53:11 +0000 (14:53 -0600)]
Lower-overhead version of LockGuard.

Instead of building up a giant set of all locks inside the system
server, there are only a handful that we're interested in watching:
specifically those below the ActivityManagerService lock.

This change adds a index-based variant of lock registering and
checking, which has much lower overhead that doesn't bring a device
to its knees.  It's disabled by default, but can be enabled on local
development builds.

Currently uses the boostPriorityForLockedSection() hook in AMS to
check for lock inversions when enabled.

Test: builds, boots, no AMS lock inversions detected
Bug: 35410906
Change-Id: I473d634d23c08538029412a1254bf4f92b96fb84

7 years agoMerge "Check for existance of hyphenation pattern files first"
Roozbeh Pournader [Mon, 13 Mar 2017 20:52:24 +0000 (20:52 +0000)]
Merge "Check for existance of hyphenation pattern files first"

7 years agoMerge changes from topic 'receiver_IA'
Chad Brubaker [Mon, 13 Mar 2017 20:52:11 +0000 (20:52 +0000)]
Merge changes from topic 'receiver_IA'

* changes:
  Enforce visibleToInstantApps for receivers
  Only send exposed broadcasts to Instant Apps

7 years agoremove LinearTransform from libutils
Mathias Agopian [Mon, 13 Mar 2017 19:26:06 +0000 (12:26 -0700)]
remove LinearTransform from libutils

this was the only client.

Test: compile
Bug: cleanup for treble
Change-Id: Ibe2308d5fffb18c398db47e27d0123d629f675fe

7 years agoMerge "Allow blocked apps to create channels"
Julia Reynolds [Mon, 13 Mar 2017 20:09:09 +0000 (20:09 +0000)]
Merge "Allow blocked apps to create channels"

7 years agoMove PackageInstaller over to AppFuse.
Jeff Sharkey [Sat, 11 Mar 2017 04:53:48 +0000 (21:53 -0700)]
Move PackageInstaller over to AppFuse.

When PackageInstaller was originally written, we needed a way to
ensure that untrusted apps were fully hands-off of any opened
FileDescriptors before we could proceed with certificate checks.

The best way to satisfy this security constraint was to build
a utility called FileBridge which was a (terribly slow) RPC
mechanism that could be cut off when needed.

However, a new feature called "AppFuse" offers to create a "proxy"
FileDescriptor which relays file operations back into userspace, and
it's much more performant than FileBridge.  (Local benchmark tests
that deliver a 64MB APK show that AppFuse is about 45% faster than
FileBridge.)  Because userspace is still involved in every operation,
we can still "revoke" access at any time to deliver on our security
requirements.

This change adds support for AppFuse, while keeping around FileBridge
as the default for now.  An upcoming flag-flip CL can be used to
easily switch between the two modes.

Test: builds, boots, benchmarking, stress tests
Bug: 357284043133237925510838
Change-Id: I2a70c0ca922a5ba468ffdef7b2fd8ab79f7cfefd

7 years agoMerge "Refactoring accessibility class out to own file."
TreeHugger Robot [Mon, 13 Mar 2017 19:54:31 +0000 (19:54 +0000)]
Merge "Refactoring accessibility class out to own file."

7 years agoMerge "Temporarily re-added addSavableIds() with AutoFillId."
TreeHugger Robot [Mon, 13 Mar 2017 19:29:58 +0000 (19:29 +0000)]
Merge "Temporarily re-added addSavableIds() with AutoFillId."

7 years agoMerge "Update javadoc about TIS.onTimeShiftGetCurrentPosition"
TreeHugger Robot [Mon, 13 Mar 2017 19:21:04 +0000 (19:21 +0000)]
Merge "Update javadoc about TIS.onTimeShiftGetCurrentPosition"

7 years agoMerge "use _deprecated suffix for deprecated clipops"
TreeHugger Robot [Mon, 13 Mar 2017 19:19:28 +0000 (19:19 +0000)]
Merge "use _deprecated suffix for deprecated clipops"

7 years agoMerge "Move battery percent constant to Settings"
TreeHugger Robot [Mon, 13 Mar 2017 19:09:45 +0000 (19:09 +0000)]
Merge "Move battery percent constant to Settings"

7 years agoMerge "Use the textclassifier library for smart selection"
Abodunrinwa Toki [Mon, 13 Mar 2017 18:57:50 +0000 (18:57 +0000)]
Merge "Use the textclassifier library for smart selection"

7 years agoNo direct Uri grants from system.
Jeff Sharkey [Mon, 21 Nov 2016 17:33:54 +0000 (10:33 -0700)]
No direct Uri grants from system.

The system should never be extending Uri permission grants from
itself, since it automatically holds all the permissions.  Instead,
the system should always be a mediator between two specific apps, and
it should be using startActivityAsCaller() if it needs to extend
permissions.

Blocking at this level fixes an entire class of confused deputy
security issues.

There is a small exemption for the "com.android.settings.files"
authority which is used for photo cropping in the Settings app.

Test: builds, normal intent resolution UI works
Bug: 3301929635158271
Change-Id: I3f0de58facedab8767541291b5dfa022fa2e4414

7 years agoMerge "Prevent updating the PiP when it is being dismissed."
TreeHugger Robot [Mon, 13 Mar 2017 18:37:14 +0000 (18:37 +0000)]
Merge "Prevent updating the PiP when it is being dismissed."

7 years agoMerge "Bluetooth 5 spelling fixes" am: 5465fe0a2d am: 58569de4de
Jakub Pawlowski [Mon, 13 Mar 2017 18:21:03 +0000 (18:21 +0000)]
Merge "Bluetooth 5 spelling fixes" am: 5465fe0a2d am: 58569de4de
am: 2ebaf34259

Change-Id: Ic0ca716afc1f6a900b4c4455d8ff520abef5fb31

7 years agoMerge "Bluetooth 5 spelling fixes" am: 5465fe0a2d
Jakub Pawlowski [Mon, 13 Mar 2017 18:16:24 +0000 (18:16 +0000)]
Merge "Bluetooth 5 spelling fixes" am: 5465fe0a2d
am: 58569de4de

Change-Id: I6abd6becaf54fd59abe894fc6c71c46ce4361c8d

7 years agoMerge "Bluetooth 5 spelling fixes"
Jakub Pawlowski [Mon, 13 Mar 2017 18:11:58 +0000 (18:11 +0000)]
Merge "Bluetooth 5 spelling fixes"
am: 5465fe0a2d

Change-Id: Ibef8ee6a56bf1f8c695e07e4ba61c015054eee13

7 years agoMerge "Bluetooth 5 spelling fixes"
Jakub Pawlowski [Mon, 13 Mar 2017 17:58:25 +0000 (17:58 +0000)]
Merge "Bluetooth 5 spelling fixes"

7 years agoMerge "Fix the reset of boosted zygote thread priority." am: 83aceea07d am: 55310df6bc
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:54:54 +0000 (17:54 +0000)]
Merge "Fix the reset of boosted zygote thread priority." am: 83aceea07d am: 55310df6bc
am: 4c618d8933

Change-Id: I7be43bedad9a3e189e64f140b585070b6ba6ee33

7 years agoRefactoring accessibility class out to own file.
Winson Chung [Mon, 13 Mar 2017 17:51:22 +0000 (10:51 -0700)]
Refactoring accessibility class out to own file.

Bug: 34773134
Test: Open PIP, turn on talk back and use it.
Change-Id: I8a73eb7230ee02afd16997513fe19c2f0805d094

7 years agoMerge "Fix the reset of boosted zygote thread priority." am: 83aceea07d
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:50:46 +0000 (17:50 +0000)]
Merge "Fix the reset of boosted zygote thread priority." am: 83aceea07d
am: 55310df6bc

Change-Id: I91d20bc046b721456e0a141def790aeccfbd39a6

7 years agoMerge "Make sure to notify WM about having "drawn" our surface"
TreeHugger Robot [Mon, 13 Mar 2017 17:49:15 +0000 (17:49 +0000)]
Merge "Make sure to notify WM about having "drawn" our surface"

7 years agoBluetooth 5 spelling fixes
Jakub Pawlowski [Sat, 11 Mar 2017 00:07:59 +0000 (16:07 -0800)]
Bluetooth 5 spelling fixes

Bug: 30622771
Test: manual
Change-Id: I46b6486619cc7366e56b25ca48937e6792f53e1d
(cherry picked from commit 53501ad210dd5c65c7910a6b75b2b481e92dd22f)

7 years agoTemporarily re-added addSavableIds() with AutoFillId.
Felipe Leme [Sat, 11 Mar 2017 01:31:52 +0000 (17:31 -0800)]
Temporarily re-added addSavableIds() with AutoFillId.

Bug: 35727295
Test: manual verification using client using old API
Change-Id: I5589c5e38c11fc4d2a04df6c540a8cded6475ac4

7 years agoMerge "RecentsTV : Remove all Recents TV Code"
Sid Soundararajan [Mon, 13 Mar 2017 17:44:50 +0000 (17:44 +0000)]
Merge "RecentsTV : Remove all Recents TV Code"

7 years agoMerge "Fix the reset of boosted zygote thread priority."
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:42:50 +0000 (17:42 +0000)]
Merge "Fix the reset of boosted zygote thread priority."
am: 83aceea07d

Change-Id: I6ebd30a631ae10ada65b3279ec66c41d3f50fb1f

7 years agoMove battery percent constant to Settings
Evan Laird [Fri, 10 Mar 2017 15:56:45 +0000 (10:56 -0500)]
Move battery percent constant to Settings

This switch is moving to system settings so it should also be declared
by Settings. Also changed the constant's name to make sense in the
System context.

Test: runtest systemui
Bug: 32539932
Change-Id: I7cce21b50702f31465328dd8faed3fbac47528ea

7 years agouse _deprecated suffix for deprecated clipops
Mike Reed [Mon, 13 Mar 2017 17:26:00 +0000 (13:26 -0400)]
use _deprecated suffix for deprecated clipops

Allows skia to remove legacy flag for older names
- SK_SUPPORT_EXOTIC_CLIPOPS
- SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES

Test: CtsGraphicsTestCases

Change-Id: I78478d94d059641a9381579cae6d28f9f0685ad1

7 years agoMerge "Fix ShapeDrawable#mutate"
Chris Craik [Mon, 13 Mar 2017 17:34:33 +0000 (17:34 +0000)]
Merge "Fix ShapeDrawable#mutate"

7 years agoUpdate javadoc about TIS.onTimeShiftGetCurrentPosition
Conrad Chen [Thu, 9 Mar 2017 01:55:42 +0000 (17:55 -0800)]
Update javadoc about TIS.onTimeShiftGetCurrentPosition

Test: build
Bug: 31099933
Change-Id: Idc85d01b560cf8380473a0c9eb054f920864f91f

7 years agoMerge "Change behavior of setBitmap to cleanly reset the canvas - identity matrix...
TreeHugger Robot [Mon, 13 Mar 2017 17:32:56 +0000 (17:32 +0000)]
Merge "Change behavior of setBitmap to cleanly reset the canvas - identity matrix - no save stack - wide-open clip"

7 years agoMerge "Fix the reset of boosted zygote thread priority."
Hiroshi Yamauchi [Mon, 13 Mar 2017 17:32:30 +0000 (17:32 +0000)]
Merge "Fix the reset of boosted zygote thread priority."

7 years agoFix the reset of boosted zygote thread priority.
Hiroshi Yamauchi [Thu, 2 Mar 2017 21:39:07 +0000 (13:39 -0800)]
Fix the reset of boosted zygote thread priority.

This fixes the unexpected priority 112 of the daemon threads
(eg. HeapTaskDaemon). The problem was that when the zygote main
thread's priority is reset, it directly calls setpriority() and fails
to update the priority value in java.lang.Thread, which in turn causes
any threads created by the thread to unexpectedly inherit the boosted
priority. Calling java.lang.Thread.setPriority instead fixes.

(cherry picked from commit 1e3db871e52e59c69edb1843df7f4aecb030bc6f)

Bug: 35801778
Bug: 28866384
Test: angler master userdebug boots and thread priorities checked.

Change-Id: I68a6ed7244a9067acc2749feca7f88422bf44b02

7 years agoMerge changes from topics 'Passpoint API update', 'Passpoint intent update'
TreeHugger Robot [Mon, 13 Mar 2017 17:30:28 +0000 (17:30 +0000)]
Merge changes from topics 'Passpoint API update', 'Passpoint intent update'

* changes:
  hotspot2: update Passpoint configuration management APIs
  hotspot2: hide validate method for Passpoint configuration
  Osu: temporarily comment out the usage of deprecated intent definitions
  hotspot2: update Passpoint intent definitions

7 years agoMerge "Stop DocumentsContract from consuming Exceptions if app is targetting O or...
Ben Lin [Mon, 13 Mar 2017 17:27:17 +0000 (17:27 +0000)]
Merge "Stop DocumentsContract from consuming Exceptions if app is targetting O or above."

7 years agoMerge "Add logging constants for setting bluetooth preference."
Doris Ling [Mon, 13 Mar 2017 17:24:13 +0000 (17:24 +0000)]
Merge "Add logging constants for setting bluetooth preference."

7 years agoMerge "Add comment to Shader#mLocalMatrix"
Chris Craik [Mon, 13 Mar 2017 17:20:57 +0000 (17:20 +0000)]
Merge "Add comment to Shader#mLocalMatrix"

7 years agoAllow blocked apps to create channels
Julia Reynolds [Mon, 13 Mar 2017 17:00:41 +0000 (13:00 -0400)]
Allow blocked apps to create channels

Change-Id: I64b90332095f949af003db3db98da75b22a09c64
Fixes: 36040396
Test: runtest systemui-notification

7 years agohotspot2: update Passpoint configuration management APIs
Peter Qiu [Mon, 6 Mar 2017 18:47:55 +0000 (10:47 -0800)]
hotspot2: update Passpoint configuration management APIs

Address API Councils comment to update both
WifiManager#addOrUpdatePasspointConfiguration and
WifiManager#removePasspointConfiguration to return void and throw
exception on failure instead of returning a boolean.

Bug: 35858311,35856174
Test: make -j32
Change-Id: Iac421eba7aa90e8bc3ffaf5d81210302c7557e95

7 years agohotspot2: hide validate method for Passpoint configuration
Peter Qiu [Fri, 3 Mar 2017 17:15:49 +0000 (09:15 -0800)]
hotspot2: hide validate method for Passpoint configuration

The validate method is used by Framework only, no need to expose
to app developers. So hide it.

Bug: 35756298
Test: make -j32
Change-Id: I15ccae472f30d7ae968816479f6ea35d90248fe0

7 years agoOsu: temporarily comment out the usage of deprecated intent definitions
Peter Qiu [Fri, 10 Mar 2017 19:23:47 +0000 (11:23 -0800)]
Osu: temporarily comment out the usage of deprecated intent definitions

Bug: 35857805
Test: mmma frameworks/base/packages/Osu
Change-Id: Ie4ea352e11b10a7c1f8780557554486bc2b4fcef

7 years agoPrevent updating the PiP when it is being dismissed.
Winson Chung [Fri, 10 Mar 2017 18:08:17 +0000 (10:08 -0800)]
Prevent updating the PiP when it is being dismissed.

Bug: 35588768
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testPreventSetAspectRatioWhileExpanding

Change-Id: I2bcfdaad97c552cccef253370a6231253c956d22

7 years agoMerge "Move WebViewUpdater to its own file."
TreeHugger Robot [Mon, 13 Mar 2017 16:14:14 +0000 (16:14 +0000)]
Merge "Move WebViewUpdater to its own file."

7 years agoMerge "Add a new macrobench to test layer resize"
TreeHugger Robot [Mon, 13 Mar 2017 16:03:22 +0000 (16:03 +0000)]
Merge "Add a new macrobench to test layer resize"

7 years agoMerge "Add host-side version of framework-protos."
Insaf Latypov [Mon, 13 Mar 2017 15:56:21 +0000 (15:56 +0000)]
Merge "Add host-side version of framework-protos."

7 years agoMake sure to notify WM about having "drawn" our surface
Jorim Jaggi [Mon, 13 Mar 2017 15:41:13 +0000 (16:41 +0100)]
Make sure to notify WM about having "drawn" our surface

Otherwise window manager won't start the transition.

Test: Open app, reopen app, make sure snapshot is actually used.
Bug: 31339431
Change-Id: I57708b48768fe3b561f797a0b9c6aa5ce7f84976

7 years agoChange behavior of setBitmap to cleanly reset the canvas
Mike Reed [Wed, 1 Mar 2017 16:32:53 +0000 (11:32 -0500)]
Change behavior of setBitmap to cleanly reset the canvas
- identity matrix
- no save stack
- wide-open clip

Behavior around the new bitmap is the same.

Tests : CtsGraphicsTestCases

Change-Id: Ieaf8c2a1b96262ed33940dd852a86089eb93efdb

7 years agoMerge "Update enterprise disclosure strings"
TreeHugger Robot [Mon, 13 Mar 2017 15:18:21 +0000 (15:18 +0000)]
Merge "Update enterprise disclosure strings"

7 years agoAdd a new macrobench to test layer resize
Stan Iliev [Wed, 28 Sep 2016 22:14:24 +0000 (18:14 -0400)]
Add a new macrobench to test layer resize

Create a new HWUI macrobench to test hardware layer resize code path.

Test: Executed the new test on bullhead device with "adb shell
/data/benchmarktest64/hwuimacro hwlayersize --onscreen --wait-for-gpu -c
1000".

Change-Id: I9ed411d76ac3d51339a69add8ab1843c3256994a

7 years agoMove WebViewUpdater to its own file.
Gustav Sennton [Fri, 10 Mar 2017 14:37:15 +0000 (14:37 +0000)]
Move WebViewUpdater to its own file.

WebViewUpdater is a large portion of WebViewUpdateServiceImpl, split it
into its own file.
Also restructure the members of WebViewUpdater to give them a logical
order.

Bug: 36094936
Test: Build and flash an Angler build.
Change-Id: If11cc46d73ceeaf54de34f0648ed1d2df57d9a1c

7 years agoAdd host-side version of framework-protos.
Insaf Latypov [Mon, 20 Feb 2017 11:33:48 +0000 (11:33 +0000)]
Add host-side version of framework-protos.

AfwTestHarness needs to use framework-protos from host-side. This is why
new rule is added to build framework-protos usable from host-side.

Change-Id: Ifa35c5de04483d41e97c5853ea781fc29cef4947

7 years agoCEC: Revisit the behavior of HDMI_SYSTEM_AUDIO_ENABLED
Donghyun Cho [Tue, 27 Dec 2016 09:31:09 +0000 (18:31 +0900)]
CEC: Revisit the behavior of HDMI_SYSTEM_AUDIO_ENABLED

Currently the system setting, HDMI_SYSTEM_AUDIO_ENABLED, is used to
store the latest system audio mode status so that TV can keep this
status over reboot. But because the name is a little confusing and the
behavior isn't intuitive, it is likely to use this in a wrong way.
This change renames this setting to HDMI_SYSTEM_AUDIO_CONTROL_ENABLED
and tweak the purpose of it. Now, it will act more like a switch for
System Audio Control feature, so user can disable or enable this feature
entirely. With this way, implementation of audio output option will
also become easier.

Bug: 31449672
Test: Tested on archer
Change-Id: Ice8717135272d4b86665a3452bfe7527c0d6c08b
(cherry picked from commit 7b7aa8fb31ccf0cd3f36162a52f080263dd89e77)

7 years agoMerge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6 am: cc935f5e6d
Hugo Benichi [Mon, 13 Mar 2017 07:40:25 +0000 (07:40 +0000)]
Merge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6 am: cc935f5e6d
am: 3d61c89305

Change-Id: I1a4311525a7b9674daa3713ca3ec7001d4bb30fe

7 years agoMerge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6
Hugo Benichi [Mon, 13 Mar 2017 07:35:48 +0000 (07:35 +0000)]
Merge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6
am: cc935f5e6d

Change-Id: I2830664720e366792a8b35eac5295995c96461fa

7 years agoMerge "Minor formatting cleanup to remove overlong line"
Hugo Benichi [Mon, 13 Mar 2017 07:31:54 +0000 (07:31 +0000)]
Merge "Minor formatting cleanup to remove overlong line"
am: d6998d4bd6

Change-Id: I3a4582ebfc1cb7436e570e37cacbc3cabf8c0182

7 years agoMerge "Minor formatting cleanup to remove overlong line"
Hugo Benichi [Mon, 13 Mar 2017 07:23:05 +0000 (07:23 +0000)]
Merge "Minor formatting cleanup to remove overlong line"

7 years agoMerge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d...
Hugo Benichi [Mon, 13 Mar 2017 07:18:54 +0000 (07:18 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d am: 5c5850d2f0
am: 1673f71afb

Change-Id: Ic575f187803548ce15965d6fde942a5322d9e35e

7 years agoMerge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d
Hugo Benichi [Mon, 13 Mar 2017 07:14:12 +0000 (07:14 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d
am: 5c5850d2f0

Change-Id: Ie563d1b8f64e2b42d3a146495dfdfafdd5e1965a

7 years agoMerge "ConnectivityManager: unhide methods with Handler argument"
Hugo Benichi [Mon, 13 Mar 2017 07:09:49 +0000 (07:09 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument"
am: e940d5458d

Change-Id: I470d68a25e62b9493ac7cfb5887e8345968f1097

7 years agoMerge "ConnectivityManager: unhide methods with Handler argument"
Hugo Benichi [Mon, 13 Mar 2017 06:58:29 +0000 (06:58 +0000)]
Merge "ConnectivityManager: unhide methods with Handler argument"

7 years agoMerge "MediaSessionService: Keep the media sessions per full user"
TreeHugger Robot [Mon, 13 Mar 2017 04:50:01 +0000 (04:50 +0000)]
Merge "MediaSessionService: Keep the media sessions per full user"

7 years agoMediaSessionService: Keep the media sessions per full user
Jaewan Kim [Thu, 16 Feb 2017 08:10:54 +0000 (17:10 +0900)]
MediaSessionService: Keep the media sessions per full user

This is the intermediate CL to simplify the media button handling.
With this, it's easier to get the lastly played media app among the
foreground users.

Test: Manual test (Setup a device with multiple users and work profile,
    and press media keys)
Change-Id: I240191fdc64a9f1240682f56407bf5de873345d7