310348 Commits

Author SHA1 Message Date
TreeHugger Robot
9b0a5d1919 Merge "use _deprecated suffix for deprecated clipops" 2017-03-13 19:19:34 +00:00
TreeHugger Robot
fa71ecb08a Merge "Move battery percent constant to Settings" 2017-03-13 19:09:52 +00:00
Abodunrinwa Toki
0b8c8133c8 Merge "Use the textclassifier library for smart selection" 2017-03-13 18:57:54 +00:00
TreeHugger Robot
0dd6aadd46 Merge "Prevent updating the PiP when it is being dismissed." 2017-03-13 18:37:18 +00:00
Jakub Pawlowski
ac0bdcf9bd Merge "Bluetooth 5 spelling fixes" am: 5465fe0a2d am: 58569de4de
am: 2ebaf34259

Change-Id: Ic0ca716afc1f6a900b4c4455d8ff520abef5fb31
2017-03-13 18:21:03 +00:00
Jakub Pawlowski
2ebaf34259 Merge "Bluetooth 5 spelling fixes" am: 5465fe0a2d
am: 58569de4de

Change-Id: I6abd6becaf54fd59abe894fc6c71c46ce4361c8d
2017-03-13 18:16:24 +00:00
Jakub Pawlowski
58569de4de Merge "Bluetooth 5 spelling fixes"
am: 5465fe0a2d

Change-Id: Ibef8ee6a56bf1f8c695e07e4ba61c015054eee13
2017-03-13 18:11:58 +00:00
Jakub Pawlowski
5465fe0a2d Merge "Bluetooth 5 spelling fixes" 2017-03-13 17:58:26 +00:00
Hiroshi Yamauchi
b7fe1763b6 Merge "Fix the reset of boosted zygote thread priority." am: 83aceea07d am: 55310df6bc
am: 4c618d8933

Change-Id: I7be43bedad9a3e189e64f140b585070b6ba6ee33
2017-03-13 17:54:54 +00:00
Hiroshi Yamauchi
4c618d8933 Merge "Fix the reset of boosted zygote thread priority." am: 83aceea07d
am: 55310df6bc

Change-Id: I91d20bc046b721456e0a141def790aeccfbd39a6
2017-03-13 17:50:46 +00:00
TreeHugger Robot
a3518ae92c Merge "Make sure to notify WM about having "drawn" our surface" 2017-03-13 17:49:22 +00:00
Jakub Pawlowski
bc2991e866 Bluetooth 5 spelling fixes
Bug: 30622771
Test: manual
Change-Id: I46b6486619cc7366e56b25ca48937e6792f53e1d
(cherry picked from commit 53501ad210dd5c65c7910a6b75b2b481e92dd22f)
2017-03-13 17:48:42 +00:00
Sid Soundararajan
7616234117 Merge "RecentsTV : Remove all Recents TV Code" 2017-03-13 17:44:55 +00:00
Hiroshi Yamauchi
55310df6bc Merge "Fix the reset of boosted zygote thread priority."
am: 83aceea07d

Change-Id: I6ebd30a631ae10ada65b3279ec66c41d3f50fb1f
2017-03-13 17:42:50 +00:00
Evan Laird
bcf631d48b 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
2017-03-13 13:42:11 -04:00
Mike Reed
a0a74d5f8e 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
2017-03-13 17:38:16 +00:00
Chris Craik
00128ab0b5 Merge "Fix ShapeDrawable#mutate" 2017-03-13 17:34:40 +00:00
TreeHugger Robot
1965d2898c Merge "Change behavior of setBitmap to cleanly reset the canvas - identity matrix - no save stack - wide-open clip" 2017-03-13 17:33:05 +00:00
Hiroshi Yamauchi
83aceea07d Merge "Fix the reset of boosted zygote thread priority." 2017-03-13 17:32:31 +00:00
Hiroshi Yamauchi
04ed650083 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
2017-03-13 10:31:30 -07:00
TreeHugger Robot
764edd7627 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
2017-03-13 17:30:36 +00:00
Ben Lin
3e57595674 Merge "Stop DocumentsContract from consuming Exceptions if app is targetting O or above." 2017-03-13 17:27:22 +00:00
Doris Ling
6d6b0be4d6 Merge "Add logging constants for setting bluetooth preference." 2017-03-13 17:24:18 +00:00
Chris Craik
d9774458cd Merge "Add comment to Shader#mLocalMatrix" 2017-03-13 17:21:02 +00:00
Peter Qiu
92f685a98d 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
2017-03-13 09:46:24 -07:00
Peter Qiu
fbc605ca06 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
2017-03-13 09:46:22 -07:00
Peter Qiu
457411af20 Osu: temporarily comment out the usage of deprecated intent definitions
Bug: 35857805
Test: mmma frameworks/base/packages/Osu
Change-Id: Ie4ea352e11b10a7c1f8780557554486bc2b4fcef
2017-03-13 09:46:07 -07:00
Winson Chung
02e7193915 Prevent updating the PiP when it is being dismissed.
Bug: 35588768
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testPreventSetAspectRatioWhileExpanding

Change-Id: I2bcfdaad97c552cccef253370a6231253c956d22
2017-03-13 16:24:29 +00:00
TreeHugger Robot
41eae9115c Merge "Move WebViewUpdater to its own file." 2017-03-13 16:14:19 +00:00
TreeHugger Robot
c5a930befd Merge "Add a new macrobench to test layer resize" 2017-03-13 16:03:27 +00:00
Insaf Latypov
0b03c7e896 Merge "Add host-side version of framework-protos." 2017-03-13 15:56:25 +00:00
Jorim Jaggi
39367cf662 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
2017-03-13 16:41:13 +01:00
Mike Reed
269f989fbf 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
2017-03-13 15:39:57 +00:00
TreeHugger Robot
d9e529b398 Merge "Update enterprise disclosure strings" 2017-03-13 15:18:27 +00:00
Stan Iliev
7d73fc2303 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
2017-03-13 10:16:08 -04:00
Gustav Sennton
924dacd8a0 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
2017-03-13 14:01:53 +00:00
Insaf Latypov
d8aa2e67e7 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
2017-03-13 11:41:54 +00:00
Hugo Benichi
a5af24cd02 Merge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6 am: cc935f5e6d
am: 3d61c89305

Change-Id: I1a4311525a7b9674daa3713ca3ec7001d4bb30fe
2017-03-13 07:40:25 +00:00
Hugo Benichi
3d61c89305 Merge "Minor formatting cleanup to remove overlong line" am: d6998d4bd6
am: cc935f5e6d

Change-Id: I2830664720e366792a8b35eac5295995c96461fa
2017-03-13 07:35:48 +00:00
Hugo Benichi
cc935f5e6d Merge "Minor formatting cleanup to remove overlong line"
am: d6998d4bd6

Change-Id: I3a4582ebfc1cb7436e570e37cacbc3cabf8c0182
2017-03-13 07:31:54 +00:00
Hugo Benichi
d6998d4bd6 Merge "Minor formatting cleanup to remove overlong line" 2017-03-13 07:23:06 +00:00
Hugo Benichi
ba1e74cd6e Merge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d am: 5c5850d2f0
am: 1673f71afb

Change-Id: Ic575f187803548ce15965d6fde942a5322d9e35e
2017-03-13 07:18:54 +00:00
Hugo Benichi
1673f71afb Merge "ConnectivityManager: unhide methods with Handler argument" am: e940d5458d
am: 5c5850d2f0

Change-Id: Ie563d1b8f64e2b42d3a146495dfdfafdd5e1965a
2017-03-13 07:14:12 +00:00
Hugo Benichi
5c5850d2f0 Merge "ConnectivityManager: unhide methods with Handler argument"
am: e940d5458d

Change-Id: I470d68a25e62b9493ac7cfb5887e8345968f1097
2017-03-13 07:09:49 +00:00
Hugo Benichi
e940d5458d Merge "ConnectivityManager: unhide methods with Handler argument" 2017-03-13 06:58:30 +00:00
TreeHugger Robot
caa3f6aae5 Merge "MediaSessionService: Keep the media sessions per full user" 2017-03-13 04:50:06 +00:00
Jaewan Kim
a7dce19b61 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
2017-03-13 12:10:16 +09:00
TreeHugger Robot
c27834e792 Merge "IP connectivity metrics: ConnectStats additions" 2017-03-13 03:02:01 +00:00
TreeHugger Robot
d6f4be8ee3 Merge "ExifInterface: Correct thumbnail compression info" 2017-03-13 02:54:15 +00:00
Donghyun Cho
ccdc6b82b8 Merge "Enable/disable system audio mode by changing the setting value" 2017-03-13 02:41:29 +00:00