OSDN Git Service

android-x86/frameworks-base.git
6 years agoReorder the drawing of underline/stroke and text
Seigo Nonaka [Mon, 21 May 2018 21:56:40 +0000 (14:56 -0700)]
Reorder the drawing of underline/stroke and text

The underline and stroke should be top of the text.
This regression happens on O-MR1 and the root cause is still unknown,
but the drawning underline/stroke should do before drawing text.

Bug: 79906191
Test: atest CtsWidgetTestCases:EditTextTest
    CtsWidgetTestCases:TextViewFadingEdgeTest
    FrameworksCoreTests:TextViewFallbackLineSpacingTest
    FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
    CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
    CtsTextTestCases FrameworksCoreTests:android.text
    CtsWidgetTestCases:TextViewPrecomputedTextTest

Change-Id: Idc2f99b9c0fa125af331e496da8daa326d14bfac

6 years agoMerge "BootParameters: Support silent boot."
Mickey Keeley [Mon, 21 May 2018 16:18:58 +0000 (16:18 +0000)]
Merge "BootParameters: Support silent boot."

6 years agoMerge "Status bar icons 15 dp" into pi-dev am: 97abc762cc
Evan Laird [Mon, 21 May 2018 15:14:03 +0000 (08:14 -0700)]
Merge "Status bar icons 15 dp" into pi-dev am: 97abc762cc
am: 4811db16a5

Change-Id: I75f145a1cd7445674964e0e7b1127290df3bad87

6 years agoMerge "Status bar icons 15 dp" into pi-dev
Evan Laird [Mon, 21 May 2018 15:06:29 +0000 (08:06 -0700)]
Merge "Status bar icons 15 dp" into pi-dev
am: 97abc762cc

Change-Id: I9d33e4b766952a29ef67fabc17a2ed47ba9114ef

6 years agoMerge "Status bar icons 15 dp" into pi-dev
TreeHugger Robot [Mon, 21 May 2018 14:55:11 +0000 (14:55 +0000)]
Merge "Status bar icons 15 dp" into pi-dev

6 years agoMerge "Allow user to change AiAi's permissions." into pi-dev am: 80f0481628
Ye Wen [Mon, 21 May 2018 14:47:14 +0000 (07:47 -0700)]
Merge "Allow user to change AiAi's permissions." into pi-dev am: 80f0481628
am: a97e688db3

Change-Id: I7b503e6d380330932a6b620fcf142926e358c835

6 years agoMerge "Allow user to change AiAi's permissions." into pi-dev
Ye Wen [Mon, 21 May 2018 14:33:07 +0000 (07:33 -0700)]
Merge "Allow user to change AiAi's permissions." into pi-dev
am: 80f0481628

Change-Id: I31410b69de5de58549e3c218888117abefc3924c

6 years agoMerge "Allow user to change AiAi's permissions." into pi-dev
Ye Wen [Mon, 21 May 2018 14:19:55 +0000 (14:19 +0000)]
Merge "Allow user to change AiAi's permissions." into pi-dev

6 years agoMerge "[SettingsLib] Update Utils.getColorAccent() and Utils.getColorError() to retur...
TreeHugger Robot [Mon, 21 May 2018 10:23:17 +0000 (10:23 +0000)]
Merge "[SettingsLib] Update Utils.getColorAccent() and Utils.getColorError() to return ColorStateLists instead of colors."

6 years agoMerge "Avoid spamming native_set_position_mode by caching"
Yu-Han Yang [Sun, 20 May 2018 18:40:59 +0000 (18:40 +0000)]
Merge "Avoid spamming native_set_position_mode by caching"

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 167b45...
Bill Yi [Sun, 20 May 2018 14:30:14 +0000 (07:30 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 167b451daa  -s ours
am: 61f5ff3143  -s ours

Change-Id: I3765266bc79f4c4b1921d9574f0acf3c054c174a

6 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sun, 20 May 2018 14:25:44 +0000 (07:25 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 167b451daa  -s ours

Change-Id: Iad888e5ac5537dc6f0f8ef7f6a083c45eb903014

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sun, 20 May 2018 14:20:13 +0000 (14:20 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sun, 20 May 2018 07:45:08 +0000 (00:45 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Id6f7b7b77a60fc3d42cd583a6d7e77f75b6b6bc4

6 years ago[automerger skipped] Add new metrics constant for Bluetooth A2DP hardware offload...
Petri Gynther [Sun, 20 May 2018 06:52:30 +0000 (23:52 -0700)]
[automerger skipped] Add new metrics constant for Bluetooth A2DP hardware offload am: 915e94484b
am: fdac63deb9  -s ours

Change-Id: I164f148709058c7f08d12cb10bf1d79bbcf0d6ac

6 years agoAdd new metrics constant for Bluetooth A2DP hardware offload
Petri Gynther [Sun, 20 May 2018 06:41:25 +0000 (23:41 -0700)]
Add new metrics constant for Bluetooth A2DP hardware offload
am: 915e94484b

Change-Id: I06598deff8e7bef50d216fc420f4eff9a98bb0cb

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sun, 20 May 2018 06:04:25 +0000 (06:04 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoAdd new metrics constant for Bluetooth A2DP hardware offload
Petri Gynther [Sat, 19 May 2018 05:59:50 +0000 (22:59 -0700)]
Add new metrics constant for Bluetooth A2DP hardware offload

Bug: 63932139
Bug: 79568680
Test: Settings app compiles without errors
Change-Id: I535f9cd819787f6c8d24facb5824dbf7472d5231
Merged-In: I535f9cd819787f6c8d24facb5824dbf7472d5231

6 years agoAdd new metrics constant for Bluetooth A2DP hardware offload
Petri Gynther [Sat, 19 May 2018 05:59:50 +0000 (22:59 -0700)]
Add new metrics constant for Bluetooth A2DP hardware offload

Bug: 63932139
Bug: 79568680
Test: Settings app compiles without errors
Change-Id: I535f9cd819787f6c8d24facb5824dbf7472d5231

6 years agoMerge "IMPORTANCE_FOREGROUND_SERVICE process can access fingerprint" into pi-dev...
Svet Ganov [Sun, 20 May 2018 05:08:41 +0000 (22:08 -0700)]
Merge "IMPORTANCE_FOREGROUND_SERVICE process can access fingerprint" into pi-dev am: d3c218a59e
am: 12fddb72bf

Change-Id: Ia89b8d008cbcc6cc59bbe2fa19d7f712ae5f5dfd

6 years agoMerge "IMPORTANCE_FOREGROUND_SERVICE process can access fingerprint" into pi-dev
Svet Ganov [Sun, 20 May 2018 05:01:17 +0000 (22:01 -0700)]
Merge "IMPORTANCE_FOREGROUND_SERVICE process can access fingerprint" into pi-dev
am: d3c218a59e

Change-Id: Ide279f85d9eb21c46148a4a5ff293f69d9172287

6 years agoMerge "IMPORTANCE_FOREGROUND_SERVICE process can access fingerprint" into pi-dev
TreeHugger Robot [Sun, 20 May 2018 04:53:24 +0000 (04:53 +0000)]
Merge "IMPORTANCE_FOREGROUND_SERVICE process can access fingerprint" into pi-dev

6 years agoMerge "Wrapping native methods under HdmiCecController for testing injection."
Amy Zhang [Sun, 20 May 2018 00:28:26 +0000 (00:28 +0000)]
Merge "Wrapping native methods under HdmiCecController for testing injection."

6 years agoMerge "Fade back button in and out tied with the overview/shelf (1/2)" into pi-dev...
Winson Chung [Sat, 19 May 2018 04:58:29 +0000 (21:58 -0700)]
Merge "Fade back button in and out tied with the overview/shelf (1/2)" into pi-dev am: d51bbc5fe4
am: b43ab66d3c

Change-Id: I02a0ea7f444db8cfe15e731c2050c17b8bc59e3c

6 years agoMerge "Fade back button in and out tied with the overview/shelf (1/2)" into pi-dev
Winson Chung [Sat, 19 May 2018 04:49:24 +0000 (21:49 -0700)]
Merge "Fade back button in and out tied with the overview/shelf (1/2)" into pi-dev
am: d51bbc5fe4

Change-Id: I42eb98160f653d6d2fd7f87b9657ea74fd9bc384

6 years agoMerge "Fade back button in and out tied with the overview/shelf (1/2)" into pi-dev
Winson Chung [Sat, 19 May 2018 04:36:16 +0000 (04:36 +0000)]
Merge "Fade back button in and out tied with the overview/shelf (1/2)" into pi-dev

6 years agoIMPORTANCE_FOREGROUND_SERVICE process can access fingerprint
Svet Ganov [Sat, 19 May 2018 02:59:25 +0000 (19:59 -0700)]
IMPORTANCE_FOREGROUND_SERVICE process can access fingerprint

We added a new priority IMPORTANCE_FOREGROUND_SERVICE
for foreground services and the services to  which the
system is bound fall into this bucket while before they
were falling into IMPORTANCE_FOREGROUND.

Test: manual

bug:79775649

Change-Id: I1626e78c5b7365985c5b4152637ab99aa0dea5f2

6 years agoMerge "Require READ_CALL_LOG permission to see phone numbers in phone state." am...
Tyler Gunn [Sat, 19 May 2018 02:04:11 +0000 (19:04 -0700)]
Merge "Require READ_CALL_LOG permission to see phone numbers in phone state." am: b1b864cee2 am: 6a8b23774e
am: 469a1f0dfa

Change-Id: I2f19a8e91cc612dc1de1496e48d48bed808aca2f

6 years agoMerge "Require READ_CALL_LOG permission to see phone numbers in phone state." am...
Tyler Gunn [Sat, 19 May 2018 01:50:20 +0000 (18:50 -0700)]
Merge "Require READ_CALL_LOG permission to see phone numbers in phone state." am: b1b864cee2
am: 6a8b23774e

Change-Id: Ia26cd1ed4693d67b9d54cf25e227bf349d0b04e3

6 years agoMerge "Update auto-rotate and print icons" into pi-dev am: bca78e76b3
Antony Sargent [Sat, 19 May 2018 01:47:51 +0000 (18:47 -0700)]
Merge "Update auto-rotate and print icons" into pi-dev am: bca78e76b3
am: 6d3558be94

Change-Id: Ia33931707741a9569ea1cefe0421db882c8173df

6 years agoMerge "Require READ_CALL_LOG permission to see phone numbers in phone state."
Tyler Gunn [Sat, 19 May 2018 01:36:54 +0000 (18:36 -0700)]
Merge "Require READ_CALL_LOG permission to see phone numbers in phone state."
am: b1b864cee2

Change-Id: I50a4fd925f22ffd1f255e8876e714b836948726d

6 years agoMerge "Update auto-rotate and print icons" into pi-dev
Antony Sargent [Sat, 19 May 2018 01:33:44 +0000 (18:33 -0700)]
Merge "Update auto-rotate and print icons" into pi-dev
am: bca78e76b3

Change-Id: I4b697311dc3d8ea32d7f969e385ca2e3e96588c1

6 years agoMerge "Update auto-rotate and print icons" into pi-dev
TreeHugger Robot [Sat, 19 May 2018 01:20:52 +0000 (01:20 +0000)]
Merge "Update auto-rotate and print icons" into pi-dev

6 years agoMerge "Hold wake lock while printing"
TreeHugger Robot [Sat, 19 May 2018 01:16:49 +0000 (01:16 +0000)]
Merge "Hold wake lock while printing"

6 years agoMerge "clone the visibility objects for the handler thread" into pi-dev am: 404273a627
Chris Wren [Sat, 19 May 2018 00:26:52 +0000 (17:26 -0700)]
Merge "clone the visibility objects for the handler thread" into pi-dev am: 404273a627
am: cd5fe1d4c4

Change-Id: Iaebcacbe8164e7495f3f64fdf72b263658d89e3b

6 years agoMerge "clone the visibility objects for the handler thread" into pi-dev
Chris Wren [Sat, 19 May 2018 00:18:32 +0000 (17:18 -0700)]
Merge "clone the visibility objects for the handler thread" into pi-dev
am: 404273a627

Change-Id: I7a6a74de3919cdfd2bd3ce03ecc59dc41448dbc5

6 years agoMerge "Reset wallpaper state during startup" into pi-dev am: 6b89784691
Lucas Dupin [Sat, 19 May 2018 00:14:50 +0000 (17:14 -0700)]
Merge "Reset wallpaper state during startup" into pi-dev am: 6b89784691
am: 1db0eafc6e

Change-Id: I8701d968649978269b7e1bd97a486ee49366e174

6 years agoMerge "Require READ_CALL_LOG permission to see phone numbers in phone state."
Tyler Gunn [Sat, 19 May 2018 00:13:15 +0000 (00:13 +0000)]
Merge "Require READ_CALL_LOG permission to see phone numbers in phone state."

6 years agoMerge "Set enabledSurroundFormats as empty string when it is null." into pi-dev am...
jiabin [Sat, 19 May 2018 00:08:32 +0000 (17:08 -0700)]
Merge "Set enabledSurroundFormats as empty string when it is null." into pi-dev am: 66726f3609
am: 065423e5b3

Change-Id: I03213d3838cf603eec81d008de0f1f09c9a23772

6 years agoMerge "Reset wallpaper state during startup" into pi-dev
Lucas Dupin [Sat, 19 May 2018 00:07:03 +0000 (17:07 -0700)]
Merge "Reset wallpaper state during startup" into pi-dev
am: 6b89784691

Change-Id: I77b1bb00a5b55bb9eb189e981f0bc13217b85260

6 years agoMerge changes Id4feeefa,Ie0a501b8 into pi-dev am: 45a250a2be
Beverly [Sat, 19 May 2018 00:01:25 +0000 (17:01 -0700)]
Merge changes Id4feeefa,Ie0a501b8 into pi-dev am: 45a250a2be
am: 6e66b320fd

Change-Id: I8f185099f0f00f62a9ae6e219f29c9dd2efd8d2d

6 years agoMerge "Set enabledSurroundFormats as empty string when it is null." into pi-dev
jiabin [Sat, 19 May 2018 00:00:56 +0000 (17:00 -0700)]
Merge "Set enabledSurroundFormats as empty string when it is null." into pi-dev
am: 66726f3609

Change-Id: I85ab984608ef94e167e46c34af012d0f2e838007

6 years agoMerge "clone the visibility objects for the handler thread" into pi-dev
TreeHugger Robot [Fri, 18 May 2018 23:59:37 +0000 (23:59 +0000)]
Merge "clone the visibility objects for the handler thread" into pi-dev

6 years agoMerge "Reset wallpaper state during startup" into pi-dev
TreeHugger Robot [Fri, 18 May 2018 23:54:41 +0000 (23:54 +0000)]
Merge "Reset wallpaper state during startup" into pi-dev

6 years agoStatus bar icons 15 dp
Evan Laird [Fri, 18 May 2018 23:49:07 +0000 (19:49 -0400)]
Status bar icons 15 dp

Shrink all status bar icons by 2dp. This means setting a scale factor on
anything that is a StatusBarIconView, and manually scaling down wifi and
mobile data groups.

Also fix the padding between the mobile data view and the battery

Also snuck in a fix for the battery saver icon clipping on QS

Change-Id: I5f5430d9e9c66f5c2794dcf4974cf18aa3bff061
Test: visual
Fixes: 74985733
Fixes: 79967193
Bug: 77822905

6 years ago[automerger skipped] Merge "Add carrier config for partial sms raw message expiration...
Xiangyu/Malcolm Chen [Fri, 18 May 2018 23:48:02 +0000 (16:48 -0700)]
[automerger skipped] Merge "Add carrier config for partial sms raw message expiration." am: 54bd56d6c5 am: dc8a57472c  -s ours
am: 0b25a3076d  -s ours

Change-Id: Iad337b4418268e06aba1b1555c32b0cdeb83ef3c

6 years agoMerge "Set enabledSurroundFormats as empty string when it is null." into pi-dev
TreeHugger Robot [Fri, 18 May 2018 23:46:39 +0000 (23:46 +0000)]
Merge "Set enabledSurroundFormats as empty string when it is null." into pi-dev

6 years agoMerge "Make ImportWrappedKey work with real hardware: Get unwrapping params from...
Frank Salim [Fri, 18 May 2018 23:37:50 +0000 (16:37 -0700)]
Merge "Make ImportWrappedKey work with real hardware:   Get unwrapping params from WrappedKeyEntry" into pi-dev am: a7eba8d412
am: caad2c83d3

Change-Id: I0b373e3d3d473e50b08111a893ad5344f3617736

6 years agoMerge changes Id4feeefa,Ie0a501b8 into pi-dev
Beverly [Fri, 18 May 2018 23:33:20 +0000 (16:33 -0700)]
Merge changes Id4feeefa,Ie0a501b8 into pi-dev
am: 45a250a2be

Change-Id: Id58b92f3400f17fedb30524cc851fa3c1304af61

6 years agoMerge "Merge "Autofill: fix missing focus/ripple effect for authentication view"...
Android Build Merger (Role) [Fri, 18 May 2018 23:32:40 +0000 (23:32 +0000)]
Merge "Merge "Autofill: fix missing focus/ripple effect for authentication view" into pi-dev am: 1df8af7f24 am: 0bbb9c1666"

6 years agoMerge "Autofill: fix missing focus/ripple effect for authentication view" into pi...
Dake Gu [Fri, 18 May 2018 23:32:08 +0000 (16:32 -0700)]
Merge "Autofill: fix missing focus/ripple effect for authentication view" into pi-dev am: 1df8af7f24
am: 0bbb9c1666

Change-Id: I63ddcbb0949d927b4494317c5bfcc9951e593f22

6 years agoMerge "Un-@hide Handler.hasCallbacks."
TreeHugger Robot [Fri, 18 May 2018 23:31:16 +0000 (23:31 +0000)]
Merge "Un-@hide Handler.hasCallbacks."

6 years ago[automerger skipped] Merge "Add carrier config for partial sms raw message expiration...
Xiangyu/Malcolm Chen [Fri, 18 May 2018 23:21:51 +0000 (16:21 -0700)]
[automerger skipped] Merge "Add carrier config for partial sms raw message expiration." am: 54bd56d6c5
am: dc8a57472c  -s ours

Change-Id: Ice7e925b1eb9f25f4b0d44e7a7838c46d0764553

6 years agoMerge "Add carrier config for partial sms raw message expiration."
Xiangyu/Malcolm Chen [Fri, 18 May 2018 23:10:47 +0000 (16:10 -0700)]
Merge "Add carrier config for partial sms raw message expiration."
am: 54bd56d6c5

Change-Id: I23978e4efee3c25027f126b724946227cb6870a2

6 years agoMerge changes Id4feeefa,Ie0a501b8 into pi-dev
TreeHugger Robot [Fri, 18 May 2018 23:08:19 +0000 (23:08 +0000)]
Merge changes Id4feeefa,Ie0a501b8 into pi-dev

* changes:
  Add counter for predictive info for hush gesture
  Update DND strings

6 years agoMerge "Make ImportWrappedKey work with real hardware: Get unwrapping params from...
Frank Salim [Fri, 18 May 2018 23:04:15 +0000 (16:04 -0700)]
Merge "Make ImportWrappedKey work with real hardware:   Get unwrapping params from WrappedKeyEntry" into pi-dev
am: a7eba8d412

Change-Id: I1bc3e0d42506882eebad6d59d0a9f0d53104f9f3

6 years agoMerge "Autofill: fix missing focus/ripple effect for authentication view" into pi-dev
Dake Gu [Fri, 18 May 2018 22:58:09 +0000 (15:58 -0700)]
Merge "Autofill: fix missing focus/ripple effect for authentication view" into pi-dev
am: 1df8af7f24

Change-Id: Icb4b518fd1430aa4d6fd7e4a6ebfbfc3e1d27952

6 years agoMerge "Make ImportWrappedKey work with real hardware: Get unwrapping params from...
Frank Salim [Fri, 18 May 2018 22:49:00 +0000 (22:49 +0000)]
Merge "Make ImportWrappedKey work with real hardware:   Get unwrapping params from WrappedKeyEntry" into pi-dev

6 years agoUpdate auto-rotate and print icons
Antony Sargent [Fri, 18 May 2018 22:47:26 +0000 (15:47 -0700)]
Update auto-rotate and print icons

Bug: 77982107
Test: manual
Change-Id: I7c5183c7e12819204ce5ecda1017b968ef4a9957

6 years agoWrapping native methods under HdmiCecController for testing injection.
Amy [Fri, 18 May 2018 00:57:33 +0000 (17:57 -0700)]
Wrapping native methods under HdmiCecController for testing injection.

Test: make -j20
Change-Id: I4c74d8efa195e229ab08124914f15a07c80b4f94

6 years agoMerge "Autofill: fix missing focus/ripple effect for authentication view" into pi-dev
Dake Gu [Fri, 18 May 2018 22:44:25 +0000 (22:44 +0000)]
Merge "Autofill: fix missing focus/ripple effect for authentication view" into pi-dev

6 years agoMerge "Merge "Fixed an issue where a notification could become empty" into pi-dev...
Selim Cinek [Fri, 18 May 2018 22:44:13 +0000 (15:44 -0700)]
Merge "Merge "Fixed an issue where a notification could become empty" into pi-dev am: 68b0bb40c6" into pi-dev-plus-aosp
am: 1172fbffa9

Change-Id: Ia33277e76491510cead65ec54b87db7741a34cc9

6 years ago[automerger skipped] Merge "Fix UiccSlotInfo equals method." am: 147dc32b0b am: dc7e4...
Xiangyu/Malcolm Chen [Fri, 18 May 2018 22:36:02 +0000 (15:36 -0700)]
[automerger skipped] Merge "Fix UiccSlotInfo equals method." am: 147dc32b0b am: dc7e45e1f3  -s ours
am: 317865a4a2  -s ours

Change-Id: Ie263983e83bb4a78ddf3975d6ee8721492ce2a58

6 years agoReset wallpaper state during startup
Lucas Dupin [Fri, 18 May 2018 22:35:36 +0000 (15:35 -0700)]
Reset wallpaper state during startup

Test: adb shell am crash com.android.systemui
Change-Id: Ia8a75bfe9384f088efc23f12336404ece05eb885
Fixes: 79343585

6 years agoMerge "Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout" into...
Adrian Roos [Fri, 18 May 2018 22:27:56 +0000 (15:27 -0700)]
Merge "Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout" into pi-dev am: 177ee3d7a1
am: 6098f6db68

Change-Id: Idf260e2dd6e0bbfdcaefc1d3f85ac82dadf31050

6 years agoMerge "Merge "Fixed an issue where a notification could become empty" into pi-dev...
Android Build Merger (Role) [Fri, 18 May 2018 22:26:04 +0000 (22:26 +0000)]
Merge "Merge "Fixed an issue where a notification could become empty" into pi-dev am: 68b0bb40c6" into pi-dev-plus-aosp

6 years agoMerge "Fixed an issue where a notification could become empty" into pi-dev
Selim Cinek [Fri, 18 May 2018 22:25:40 +0000 (15:25 -0700)]
Merge "Fixed an issue where a notification could become empty" into pi-dev
am: 68b0bb40c6

Change-Id: Ic93c2ff78325ae417f2543b898828a063a6ffbc3

6 years ago[automerger skipped] Merge "Fix UiccSlotInfo equals method." am: 147dc32b0b
Xiangyu/Malcolm Chen [Fri, 18 May 2018 22:24:46 +0000 (15:24 -0700)]
[automerger skipped] Merge "Fix UiccSlotInfo equals method." am: 147dc32b0b
am: dc7e45e1f3  -s ours

Change-Id: Ifdfe9bf545aff5b97ab0d696c0fc954b3d3af9c5

6 years agoMerge "Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout" into...
Adrian Roos [Fri, 18 May 2018 22:20:26 +0000 (15:20 -0700)]
Merge "Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout" into pi-dev
am: 177ee3d7a1

Change-Id: I2b08c79df17084c3037eb44f988096bcb518d43d

6 years agoMerge "Fix UiccSlotInfo equals method."
Xiangyu/Malcolm Chen [Fri, 18 May 2018 22:15:52 +0000 (15:15 -0700)]
Merge "Fix UiccSlotInfo equals method."
am: 147dc32b0b

Change-Id: I29992b5d61f70086d15464cb7d5692cae31604cc

6 years agoMerge "Fixed an issue where a notification could become empty" into pi-dev
TreeHugger Robot [Fri, 18 May 2018 22:13:22 +0000 (22:13 +0000)]
Merge "Fixed an issue where a notification could become empty" into pi-dev

6 years agoMerge changes I281c748a,Ia5b68d59 into pi-dev am: 9335f1e363
Chavi Weingarten [Fri, 18 May 2018 22:13:16 +0000 (15:13 -0700)]
Merge changes I281c748a,Ia5b68d59 into pi-dev am: 9335f1e363
am: a65eba0132

Change-Id: I8347e473ff8d02ecfb63964d65a662ed2c5f584e

6 years agoMerge "Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout" into...
TreeHugger Robot [Fri, 18 May 2018 22:12:30 +0000 (22:12 +0000)]
Merge "Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout" into pi-dev

6 years agoMerge changes I281c748a,Ia5b68d59 into pi-dev
Chavi Weingarten [Fri, 18 May 2018 22:04:27 +0000 (15:04 -0700)]
Merge changes I281c748a,Ia5b68d59 into pi-dev
am: 9335f1e363

Change-Id: Ie9562fa69fe9dc52f0464d208e1153420bb7c872

6 years agoMerge changes I281c748a,Ia5b68d59 into pi-dev
Chavi Weingarten [Fri, 18 May 2018 21:48:54 +0000 (21:48 +0000)]
Merge changes I281c748a,Ia5b68d59 into pi-dev

* changes:
  Remove preserve surface block when detaching children.
  Reparent children when hiding preserved surface.

6 years agoAdd counter for predictive info for hush gesture
Beverly [Fri, 18 May 2018 21:33:40 +0000 (17:33 -0400)]
Add counter for predictive info for hush gesture

Test: adb shell settings get secure hush_gesture_used
Test: adb shell settings get secure manual_ringer_toggle_count
Change-Id: Id4feeefa03a5951c03b09ab466a6c399d8aadd0e
Fixes: 79537757

6 years agoRequire READ_CALL_LOG permission to see phone numbers in phone state.
Tyler Gunn [Thu, 26 Apr 2018 21:43:31 +0000 (14:43 -0700)]
Require READ_CALL_LOG permission to see phone numbers in phone state.

Incoming and outgoing call phone numbers are visible in the phone state
broadcast and via the PhoneStateListener.  To enhance user privacy, change
to require the READ_CALL_LOG permission in order to receive the call
phone numbers.

This means to see phone numbers:
1. android.intent.action.PHONE_STATE - requires READ_PHONE_STATE and
READ_CALL_LOG permission.
2. PhoneStateListener#onCallStateChanged - now required READ_CALL_LOG
permission.

To support this new behavior, added sendBroadcastAsUserMultiplePermissions
method to context to allow sending the broadcast to all users while
requiring the two permissions.

Bug: 78650469
Test: Created PHONE_STATE broadcast receiver in test app and verified that
when no permissions are granted, the phone number is empty for incoming
and outgoing calls.
Test: Granted Phone state permission to test app and verified that phone
number is not populated.
Test: Granted test app read call log permission and verified that phone
number is populated.
Test: Created PhoneStateListener in test app and verified that when no
permissions are granted, phone number is empty for incoming and outgoing.
calls.
Test: Granted read call log permission to test app and verified that both
the incoming and outgoing numbers are populated.

Change-Id: I857ea00cc58a0abbb77960643f361dd6dd9c8b56

6 years agoMerge "(Behind flag) Wireless charging vibration feedback" into pi-dev am: fedf04f3df
Beverly [Fri, 18 May 2018 21:31:48 +0000 (14:31 -0700)]
Merge "(Behind flag) Wireless charging vibration feedback" into pi-dev am: fedf04f3df
am: 89876010f1

Change-Id: I6fe46cdd470ba706e5ceb5d334703d9e168ef0d1

6 years agoMerge "(Behind flag) Wireless charging vibration feedback" into pi-dev
Beverly [Fri, 18 May 2018 21:25:45 +0000 (14:25 -0700)]
Merge "(Behind flag) Wireless charging vibration feedback" into pi-dev
am: fedf04f3df

Change-Id: Ib7ee0e91da5d475bc2fa989b7e0a152c50f9f886

6 years agoMerge "Avoid binder calls when unlocking" into pi-dev am: 664956a5a2
Lucas Dupin [Fri, 18 May 2018 21:24:56 +0000 (14:24 -0700)]
Merge "Avoid binder calls when unlocking" into pi-dev am: 664956a5a2
am: 160674fe8f

Change-Id: Ice6ceae8c32a2bb0d8fb0a74dc053f82762e7c22

6 years agoMerge "Avoid binder calls when unlocking" into pi-dev
Lucas Dupin [Fri, 18 May 2018 21:19:05 +0000 (14:19 -0700)]
Merge "Avoid binder calls when unlocking" into pi-dev
am: 664956a5a2

Change-Id: Ib3405ef035e18e482a0ddea632bf1af5701c3820

6 years agoMerge "Add 195dp bucket for Wear device support." into pi-dev am: 0565590ec1
Andrew Zeng [Fri, 18 May 2018 21:14:22 +0000 (14:14 -0700)]
Merge "Add 195dp bucket for Wear device support." into pi-dev am: 0565590ec1
am: 2c586725d0

Change-Id: I3ddbe15efd6272534c7f5f73ec6aca15344ef41c

6 years agoUpdate DND strings
Beverly [Fri, 18 May 2018 21:09:45 +0000 (17:09 -0400)]
Update DND strings

Test: manual
Bug: 79525632
Change-Id: Ie0a501b8bec964b760c7f686d93ee83ec3454897

6 years agoAutofill: fix missing focus/ripple effect for authentication view
Dake Gu [Fri, 18 May 2018 16:34:46 +0000 (09:34 -0700)]
Autofill: fix missing focus/ripple effect for authentication view

When there is authentication view, autofill does not use ListView, so
it's missing the focus/ripple effect. This CL let the parent of
authentication view use the same ripple drawable as ListView.

Test: manual test on phone and TV
      atest CtsAutoFillServiceTestCases
Bug: b/79980365
Change-Id: Ief15304a3e533dbd6f45b7925db0b0c39977fd04

6 years agoMerge "Add carrier config for partial sms raw message expiration."
Xiangyu/Malcolm Chen [Fri, 18 May 2018 21:05:55 +0000 (21:05 +0000)]
Merge "Add carrier config for partial sms raw message expiration."

6 years agoMerge "Fix UiccSlotInfo equals method."
Xiangyu/Malcolm Chen [Fri, 18 May 2018 21:05:43 +0000 (21:05 +0000)]
Merge "Fix UiccSlotInfo equals method."

6 years agoMerge "Remap PS key to BUTTON_MODE on DS4 joystick" into pi-dev am: 796fa51c8a
Siarhei Vishniakou [Fri, 18 May 2018 21:04:14 +0000 (14:04 -0700)]
Merge "Remap PS key to BUTTON_MODE on DS4 joystick" into pi-dev am: 796fa51c8a
am: dbca93d55a

Change-Id: Ib04a7f55a2f994a389276f8c3f6f32c20710312a

6 years agoMerge "Add 195dp bucket for Wear device support." into pi-dev
Andrew Zeng [Fri, 18 May 2018 21:04:03 +0000 (14:04 -0700)]
Merge "Add 195dp bucket for Wear device support." into pi-dev
am: 0565590ec1

Change-Id: Icc260ad3f2d60adfcdc9200ac2ed7e295ec5d847

6 years agoMerge "Remap PS key to BUTTON_MODE on DS4 joystick" into pi-dev
Siarhei Vishniakou [Fri, 18 May 2018 20:59:49 +0000 (13:59 -0700)]
Merge "Remap PS key to BUTTON_MODE on DS4 joystick" into pi-dev
am: 796fa51c8a

Change-Id: Ie056ae5cfbce7f61fb96bc2fec8cce3efe2c97ed

6 years agoMerge "MediaFormat: fix javadoc for AAC-related keys" into pi-dev am: 1b3ef3cb7d
Jean-Michel Trivi [Fri, 18 May 2018 20:59:22 +0000 (13:59 -0700)]
Merge "MediaFormat: fix javadoc for AAC-related keys" into pi-dev am: 1b3ef3cb7d
am: 6a59e737fc

Change-Id: If6819e397dbb927974ee8ef380865d10b11114a1

6 years agoDisplay Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout
Adrian Roos [Wed, 22 Nov 2017 13:21:01 +0000 (14:21 +0100)]
Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout

ActionBarOverlayLayout used to drop WindowInsets, extract the content insets
as a rect, and then dispatch a modified rect to the content view; this because
there was no way to retarget the WindowInsets to the content view, and the
WindowInsets were not truly immutable. That means however, that other kinds of
insets than the content insets do not get dispatched, such as the display cutout.

To fix this, we add APIs to inset WindowInsets, make them immutable. Note that
a similar change is needed for the support lib.

Bug: 79733300
Test: atest ActionBarOverlayLayoutTest
Change-Id: I6a69d8462163ca5e66fdb53f83def6bc4063f8aa

6 years agoMerge "(Behind flag) Wireless charging vibration feedback" into pi-dev
TreeHugger Robot [Fri, 18 May 2018 20:57:21 +0000 (20:57 +0000)]
Merge "(Behind flag) Wireless charging vibration feedback" into pi-dev

6 years agoMerge "Avoid binder calls when unlocking" into pi-dev
TreeHugger Robot [Fri, 18 May 2018 20:51:22 +0000 (20:51 +0000)]
Merge "Avoid binder calls when unlocking" into pi-dev

6 years agoMerge "Add 195dp bucket for Wear device support." into pi-dev
TreeHugger Robot [Fri, 18 May 2018 20:50:50 +0000 (20:50 +0000)]
Merge "Add 195dp bucket for Wear device support." into pi-dev

6 years agoMerge "MediaFormat: fix javadoc for AAC-related keys" into pi-dev
Jean-Michel Trivi [Fri, 18 May 2018 20:49:34 +0000 (13:49 -0700)]
Merge "MediaFormat: fix javadoc for AAC-related keys" into pi-dev
am: 1b3ef3cb7d

Change-Id: I75f8fffea0bcc873e0b7aed257c30d8a03f97f29

6 years agoMerge "Remap PS key to BUTTON_MODE on DS4 joystick" into pi-dev
TreeHugger Robot [Fri, 18 May 2018 20:44:13 +0000 (20:44 +0000)]
Merge "Remap PS key to BUTTON_MODE on DS4 joystick" into pi-dev

6 years agoMerge "Zen radio button is width 48dp" into pi-dev am: 24f3d3aba8
Beverly [Fri, 18 May 2018 20:37:55 +0000 (13:37 -0700)]
Merge "Zen radio button is width 48dp" into pi-dev am: 24f3d3aba8
am: 8d28303afc

Change-Id: I92c4c782d145f8af04377733be20204f57d5a5a8

6 years agoMerge "MediaFormat: fix javadoc for AAC-related keys" into pi-dev
Jean-Michel Trivi [Fri, 18 May 2018 20:34:47 +0000 (20:34 +0000)]
Merge "MediaFormat: fix javadoc for AAC-related keys" into pi-dev

6 years agoMerge "Zen radio button is width 48dp" into pi-dev
Beverly [Fri, 18 May 2018 20:30:19 +0000 (13:30 -0700)]
Merge "Zen radio button is width 48dp" into pi-dev
am: 24f3d3aba8

Change-Id: I535ab0a2b8127e35f437cac877ad3a5be34df8f4

6 years agoMerge "Zen radio button is width 48dp" into pi-dev
TreeHugger Robot [Fri, 18 May 2018 20:19:00 +0000 (20:19 +0000)]
Merge "Zen radio button is width 48dp" into pi-dev