OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Handle logd reconnect." into pi-dev am: 2e0f45f087
Yao Chen [Wed, 11 Apr 2018 17:33:56 +0000 (10:33 -0700)]
Merge "Handle logd reconnect." into pi-dev am: 2e0f45f087
am: 808582230d

Change-Id: I27755cf706e3fe4d131d372173b4ffe78deb821b

6 years agoMerge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev am: 2370f...
Adrian Roos [Wed, 11 Apr 2018 17:28:59 +0000 (10:28 -0700)]
Merge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev am: 2370f368d4
am: 0c4b2b7f63

Change-Id: I57baa3022ea2228aae19b88bd9524b59690463e9

6 years agoMerge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev am: 441ef0b94b
Phil Weaver [Wed, 11 Apr 2018 17:23:46 +0000 (10:23 -0700)]
Merge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev am: 441ef0b94b
am: ca312e6c9f

Change-Id: Ic779890b6d645bf70ed72b25c9d185e0ed602b99

6 years agoMerge "Fix null running task info in SysUI tests" into pi-dev am: 997e7b7ea4
Mike Digman [Wed, 11 Apr 2018 17:14:27 +0000 (10:14 -0700)]
Merge "Fix null running task info in SysUI tests" into pi-dev am: 997e7b7ea4
am: 1a78073397

Change-Id: I3dc53c8a0a5a6bca8b69f8e5b30002adc7042849

6 years agoMerge "Handle logd reconnect." into pi-dev
Yao Chen [Wed, 11 Apr 2018 17:10:46 +0000 (10:10 -0700)]
Merge "Handle logd reconnect." into pi-dev
am: 2e0f45f087

Change-Id: I15cdb063331da9b1e6479d598314fb1cf05ab9f1

6 years agoMerge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
Adrian Roos [Wed, 11 Apr 2018 17:06:56 +0000 (10:06 -0700)]
Merge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
am: 2370f368d4

Change-Id: Ifae0d5e2c5bc226eaaf4462dd9b9cb044c8340b8

6 years agoMerge "Revert "Check permissions only against packagesettings"" into pi-dev am: 61aeb...
Patrick Baumann [Wed, 11 Apr 2018 17:01:45 +0000 (10:01 -0700)]
Merge "Revert "Check permissions only against packagesettings"" into pi-dev am: 61aebf6d39
am: 364100b737

Change-Id: I8bfcbb451463e1265f43e7d9b3405b328873c5f9

6 years agoMerge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
Phil Weaver [Wed, 11 Apr 2018 17:01:04 +0000 (10:01 -0700)]
Merge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
am: 441ef0b94b

Change-Id: I41f5d4b21754b11be1ef7b0613598cd56e999ece

6 years agoMerge "Fix null running task info in SysUI tests" into pi-dev
Mike Digman [Wed, 11 Apr 2018 16:47:37 +0000 (09:47 -0700)]
Merge "Fix null running task info in SysUI tests" into pi-dev
am: 997e7b7ea4

Change-Id: I6fb0654d6fe06f23cc1bac282f5005693e523bf7

6 years agoMerge "Handle logd reconnect." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:45:11 +0000 (16:45 +0000)]
Merge "Handle logd reconnect." into pi-dev

6 years agoMerge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:44:32 +0000 (16:44 +0000)]
Merge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev

6 years agoMerge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev am: 239d9d86d9
Siyamed Sinir [Wed, 11 Apr 2018 16:43:03 +0000 (09:43 -0700)]
Merge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev am: 239d9d86d9
am: eba4e64bfe

Change-Id: Ibc9d84fd16c66de07a4807245d58d4f98830d988

6 years agoMerge "Revert "Check permissions only against packagesettings"" into pi-dev
Patrick Baumann [Wed, 11 Apr 2018 16:41:34 +0000 (09:41 -0700)]
Merge "Revert "Check permissions only against packagesettings"" into pi-dev
am: 61aebf6d39

Change-Id: Idfe77e93a7dd1f3e87e58c1f323c080ed615a57a

6 years agoMerge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
Phil Weaver [Wed, 11 Apr 2018 16:38:28 +0000 (16:38 +0000)]
Merge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev

6 years agoMerge "Add an API to check whether the recoverable keystore is enabled" into pi-dev...
Bo Zhu [Wed, 11 Apr 2018 16:36:14 +0000 (09:36 -0700)]
Merge "Add an API to check whether the recoverable keystore is enabled" into pi-dev am: 4d1b57dad3
am: 4e7fbda633

Change-Id: If8c6f98bc40afd40428888c9d01665e59749660e

6 years agoMerge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev
Siyamed Sinir [Wed, 11 Apr 2018 16:31:45 +0000 (09:31 -0700)]
Merge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev
am: 239d9d86d9

Change-Id: I3fd36707aa0eb6011caf647f7ea03043e5f53961

6 years agoMerge "Allow shared users to rotate signing certs in an OTA" into pi-dev am: c826eec11f
Chad Brubaker [Wed, 11 Apr 2018 16:24:30 +0000 (09:24 -0700)]
Merge "Allow shared users to rotate signing certs in an OTA" into pi-dev am: c826eec11f
am: 52e9e9787d

Change-Id: If9d77ffe534d8b7af7c5d6c17ad9f84ee76fd5b3

6 years agoMerge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
Bo Zhu [Wed, 11 Apr 2018 16:21:14 +0000 (09:21 -0700)]
Merge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
am: 4d1b57dad3

Change-Id: I07106b9b06f290d6d464a8d5bfbf82d90e95e000

6 years agoMerge "Fix null running task info in SysUI tests" into pi-dev
Mike Digman [Wed, 11 Apr 2018 16:12:47 +0000 (16:12 +0000)]
Merge "Fix null running task info in SysUI tests" into pi-dev

6 years agoDisplayCutout: Draw anti-aliased bounds in soft overlay
Adrian Roos [Tue, 10 Apr 2018 22:17:08 +0000 (15:17 -0700)]
DisplayCutout: Draw anti-aliased bounds in soft overlay

To do so, we cannot use the Region from DisplayCutout, because it is conceptionally
a binary Bitmap. Instead, we need the exact curve as a Path.

Also fixes a theoretical bug where the DisplayCutout
was cached even though the display height changed.

Change-Id: I9356f4589186fedc5dc95010c7bd1a1fa20edf5e
Fixes: 77868940
Test: Enable display cutout in developer options, verify the edges look smoth and not jagged.
Test: atest DisplayCutoutTest

6 years agoMerge "Allow shared users to rotate signing certs in an OTA" into pi-dev
Chad Brubaker [Wed, 11 Apr 2018 16:12:27 +0000 (09:12 -0700)]
Merge "Allow shared users to rotate signing certs in an OTA" into pi-dev
am: c826eec11f

Change-Id: I0bbb0a9ab3c60fdf71b69dbda2ef02508fa07eb4

6 years agoMerge "Fix mic enumeration CTS fail on marlin." into pi-dev am: 0b5dd8e560
jiabin [Wed, 11 Apr 2018 16:12:10 +0000 (09:12 -0700)]
Merge "Fix mic enumeration CTS fail on marlin." into pi-dev am: 0b5dd8e560
am: 76e69b0812

Change-Id: Id7580ece4bc0da834424f4e21fcae99ac5ae53c1

6 years agoMerge "Revert "Check permissions only against packagesettings"" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:05:39 +0000 (16:05 +0000)]
Merge "Revert "Check permissions only against packagesettings"" into pi-dev

6 years agoMerge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev
Siyamed Sinir [Wed, 11 Apr 2018 16:04:52 +0000 (16:04 +0000)]
Merge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev

6 years agoMerge "Fix mic enumeration CTS fail on marlin." into pi-dev
jiabin [Wed, 11 Apr 2018 16:00:10 +0000 (09:00 -0700)]
Merge "Fix mic enumeration CTS fail on marlin." into pi-dev
am: 0b5dd8e560

Change-Id: I681eb47ec1577ad6c2b35d0e739c249bf61f0f26

6 years agoMerge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
Bo Zhu [Wed, 11 Apr 2018 15:58:27 +0000 (15:58 +0000)]
Merge "Add an API to check whether the recoverable keystore is enabled" into pi-dev

6 years agoMerge "Allow shared users to rotate signing certs in an OTA" into pi-dev
Chad Brubaker [Wed, 11 Apr 2018 15:57:21 +0000 (15:57 +0000)]
Merge "Allow shared users to rotate signing certs in an OTA" into pi-dev

6 years agoMerge "Ensure we do not set seInfoTargetSdkVersion to 0."
TreeHugger Robot [Wed, 11 Apr 2018 15:49:42 +0000 (15:49 +0000)]
Merge "Ensure we do not set seInfoTargetSdkVersion to 0."

6 years agoMerge "Fix mic enumeration CTS fail on marlin." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 15:46:49 +0000 (15:46 +0000)]
Merge "Fix mic enumeration CTS fail on marlin." into pi-dev

6 years agoMerge "Added gamma correction tests." into pi-dev am: 02fea072ab
Dan Gittik [Wed, 11 Apr 2018 15:29:30 +0000 (08:29 -0700)]
Merge "Added gamma correction tests." into pi-dev am: 02fea072ab
am: 01f36332ef

Change-Id: I8f55e07728e4d89b9045f6db5c3590426a73e26d

6 years agoMerge "[WebView Tracing API] documentation fixes." into pi-dev am: 4800d9a9e7
Tim Volodine [Wed, 11 Apr 2018 15:14:03 +0000 (08:14 -0700)]
Merge "[WebView Tracing API] documentation fixes." into pi-dev am: 4800d9a9e7
am: 234d296360

Change-Id: I69f1e212c2727bf81e40ab239013c977c2f1e3ff

6 years agoMerge "Added gamma correction tests." into pi-dev
Dan Gittik [Wed, 11 Apr 2018 15:11:14 +0000 (08:11 -0700)]
Merge "Added gamma correction tests." into pi-dev
am: 02fea072ab

Change-Id: I84f4e961128888cf9a3b01b3584221dd60609a10

6 years agoMerge "Deprecate InputMethodUtils#isSystemIme() part 3"
TreeHugger Robot [Wed, 11 Apr 2018 15:03:46 +0000 (15:03 +0000)]
Merge "Deprecate InputMethodUtils#isSystemIme() part 3"

6 years agoMerge "[WebView Tracing API] documentation fixes." into pi-dev
Tim Volodine [Wed, 11 Apr 2018 14:56:25 +0000 (07:56 -0700)]
Merge "[WebView Tracing API] documentation fixes." into pi-dev
am: 4800d9a9e7

Change-Id: I226ef118f27661a94502e990ba89ad662f63f583

6 years agoRevert "Check permissions only against packagesettings"
Patrick Baumann [Wed, 11 Apr 2018 14:51:30 +0000 (14:51 +0000)]
Revert "Check permissions only against packagesettings"

This reverts commit b00eb6459127018ec7641f407d5873a0c417416d.

Reason for revert: Boot issues after OTA
Bug: 76228188
Fixes: 77888575
Change-Id: I5ca2605cb6befea46ce50198bc72bdd4b6e84f1a

6 years agoMerge "Added gamma correction tests." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 14:48:17 +0000 (14:48 +0000)]
Merge "Added gamma correction tests." into pi-dev

6 years agoMerge "Move container focusability logic to ActivityStackSupervisor." into pi-dev...
Bryce Lee [Wed, 11 Apr 2018 14:47:10 +0000 (07:47 -0700)]
Merge "Move container focusability logic to ActivityStackSupervisor." into pi-dev am: 90d388aebd
am: e42716ec39

Change-Id: I0016cd9308418eb4661b3b7baa630a7e6c103e49

6 years agoMerge "[WebView Tracing API] documentation fixes." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 14:38:02 +0000 (14:38 +0000)]
Merge "[WebView Tracing API] documentation fixes." into pi-dev

6 years agoMerge "Move container focusability logic to ActivityStackSupervisor." into pi-dev
Bryce Lee [Wed, 11 Apr 2018 14:34:43 +0000 (07:34 -0700)]
Merge "Move container focusability logic to ActivityStackSupervisor." into pi-dev
am: 90d388aebd

Change-Id: I12bd4346131b03d3032e5cd357b332b792132282

6 years agoMerge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev am: f1657...
Florian Mayer [Wed, 11 Apr 2018 14:29:37 +0000 (07:29 -0700)]
Merge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev am: f1657a827f
am: 3975415df5

Change-Id: Ic02215baf0f945d7fe1700e7ba8baf1ef1fd8f60

6 years agoMerge "Move container focusability logic to ActivityStackSupervisor." into pi-dev
Bryce Lee [Wed, 11 Apr 2018 14:23:39 +0000 (14:23 +0000)]
Merge "Move container focusability logic to ActivityStackSupervisor." into pi-dev

6 years agoMerge "Update docs to match encryption requirements" into pi-dev am: bfa13fe76f
Robert Berry [Wed, 11 Apr 2018 14:18:23 +0000 (07:18 -0700)]
Merge "Update docs to match encryption requirements" into pi-dev am: bfa13fe76f
am: ed11ba6182

Change-Id: I04f1c3d166c8c4cc243608b6bcffddb734dc482a

6 years agoMerge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev
Florian Mayer [Wed, 11 Apr 2018 14:15:16 +0000 (07:15 -0700)]
Merge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev
am: f1657a827f

Change-Id: Ic7356df8144ca41a89bfbf194155bc41058a200d

6 years agoMerge "Fix spacing between signal and text on qs footer." into pi-dev am: 782ee5a7e0
Amin Shaikh [Wed, 11 Apr 2018 14:11:47 +0000 (07:11 -0700)]
Merge "Fix spacing between signal and text on qs footer." into pi-dev am: 782ee5a7e0
am: 2e3cc06ae9

Change-Id: Ieb6edc2c8e0d742256a29888f57129700249df08

6 years agoMerge "Update docs to match encryption requirements" into pi-dev
Robert Berry [Wed, 11 Apr 2018 14:10:28 +0000 (07:10 -0700)]
Merge "Update docs to match encryption requirements" into pi-dev
am: bfa13fe76f

Change-Id: I81f6a613bc8ef123ce33f53bfc6a44092d72a7a9

6 years agoMerge "Don't show dev warning toast if notifs for app off" into pi-dev am: de2e5ce108
Beverly Tai [Wed, 11 Apr 2018 14:06:18 +0000 (07:06 -0700)]
Merge "Don't show dev warning toast if notifs for app off" into pi-dev am: de2e5ce108
am: 7b275f89d0

Change-Id: Id42db44220e8fb12492b63e8a824604ee0d101fe

6 years agoMerge "Fix spacing between signal and text on qs footer." into pi-dev
Amin Shaikh [Wed, 11 Apr 2018 14:00:26 +0000 (07:00 -0700)]
Merge "Fix spacing between signal and text on qs footer." into pi-dev
am: 782ee5a7e0

Change-Id: Icabd558931b28dad1353f7e38756f2afc8451893

6 years agoMerge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev
Florian Mayer [Wed, 11 Apr 2018 13:55:51 +0000 (13:55 +0000)]
Merge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev

6 years agoMerge "Don't show dev warning toast if notifs for app off" into pi-dev
Beverly Tai [Wed, 11 Apr 2018 13:54:56 +0000 (06:54 -0700)]
Merge "Don't show dev warning toast if notifs for app off" into pi-dev
am: de2e5ce108

Change-Id: I446b950b06ba3c598852eb9f33470d7d773eaa25

6 years agoMerge "Update docs to match encryption requirements" into pi-dev
Robert Berry [Wed, 11 Apr 2018 13:49:45 +0000 (13:49 +0000)]
Merge "Update docs to match encryption requirements" into pi-dev

6 years agoMerge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev am...
timhypeng [Wed, 11 Apr 2018 13:47:35 +0000 (06:47 -0700)]
Merge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev am: d7b5c6ff7e
am: 17b3a80e10

Change-Id: I202496c09c6021b170d0d6e348dfd868adf60314

6 years agoMerge "Fix spacing between signal and text on qs footer." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 13:39:47 +0000 (13:39 +0000)]
Merge "Fix spacing between signal and text on qs footer." into pi-dev

6 years agoMerge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev
timhypeng [Wed, 11 Apr 2018 13:36:10 +0000 (06:36 -0700)]
Merge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev
am: d7b5c6ff7e

Change-Id: Ic0b9f042115ced233599427e768c057835cd1a18

6 years agoMerge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev am: ff25b5f118
Anton Philippov [Wed, 11 Apr 2018 13:34:51 +0000 (06:34 -0700)]
Merge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev am: ff25b5f118
am: 44b32fa5ee

Change-Id: I8f0a16f62ad27c53dd143567c02fc006adeab3f8

6 years agoMerge "Don't show dev warning toast if notifs for app off" into pi-dev
Beverly Tai [Wed, 11 Apr 2018 13:30:30 +0000 (13:30 +0000)]
Merge "Don't show dev warning toast if notifs for app off" into pi-dev

6 years agoMerge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev
Anton Philippov [Wed, 11 Apr 2018 13:22:30 +0000 (06:22 -0700)]
Merge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev
am: ff25b5f118

Change-Id: Icb3885d3f43874c10769664cd76032582df52cf6

6 years agoMerge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 13:17:26 +0000 (13:17 +0000)]
Merge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev

6 years agoMerge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev
Anton Philippov [Wed, 11 Apr 2018 13:08:44 +0000 (13:08 +0000)]
Merge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev

6 years agoMerge "Minor TextClassifier fixes" into pi-dev am: b6bba33399
Jan Althaus [Wed, 11 Apr 2018 12:44:20 +0000 (05:44 -0700)]
Merge "Minor TextClassifier fixes" into pi-dev am: b6bba33399
am: 796df0800b

Change-Id: I891b94b7bb0862068eab649e9a2f9987e9d58e63

6 years agoMerge "Minor TextClassifier fixes" into pi-dev
Jan Althaus [Wed, 11 Apr 2018 12:33:46 +0000 (05:33 -0700)]
Merge "Minor TextClassifier fixes" into pi-dev
am: b6bba33399

Change-Id: Ie054c977d952b9ed9a256c99ef6721a7c0f6c306

6 years agoMerge "Hide mandatory backup's API." into pi-dev am: a9431996c3
Lenka Trochtova [Wed, 11 Apr 2018 12:28:09 +0000 (05:28 -0700)]
Merge "Hide mandatory backup's API." into pi-dev am: a9431996c3
am: 99aac99341

Change-Id: I53df6d238cae1e4cf529bb6bbc6fb60c5040fedf

6 years agoMerge "Minor TextClassifier fixes" into pi-dev
Jan Althaus [Wed, 11 Apr 2018 12:19:43 +0000 (12:19 +0000)]
Merge "Minor TextClassifier fixes" into pi-dev

6 years agoMerge "Hide mandatory backup's API." into pi-dev
Lenka Trochtova [Wed, 11 Apr 2018 12:16:18 +0000 (05:16 -0700)]
Merge "Hide mandatory backup's API." into pi-dev
am: a9431996c3

Change-Id: Iba9983509efc0e4e6dbe0d7c0665547f6fec5be0

6 years agoMerge "Hide mandatory backup's API." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 12:02:20 +0000 (12:02 +0000)]
Merge "Hide mandatory backup's API." into pi-dev

6 years agoAdd logging for smart replies in notifications. am: 23991105bd
Kenny Guy [Wed, 11 Apr 2018 11:45:28 +0000 (04:45 -0700)]
Add logging for smart replies in notifications. am: 23991105bd
am: 8f1810645f

Change-Id: I80db2ab8ddb846aa6df4d057cd7bbc0af33a34f6

6 years agoAdd logging for smart replies in notifications.
Kenny Guy [Wed, 11 Apr 2018 11:37:40 +0000 (04:37 -0700)]
Add logging for smart replies in notifications.
am: 23991105bd

Change-Id: I620d25bed9849b1114d529abfbf424ec59c1069b

6 years agoMinor TextClassifier fixes
Jan Althaus [Mon, 9 Apr 2018 14:14:36 +0000 (16:14 +0200)]
Minor TextClassifier fixes

- Fix incorrect nullable annotation (usage/APIs already correct)
- Fix outdated doc reference
- Fixed visibility of TextClassification fields

Bug: 74461129
Test: N/A
Change-Id: I107cc978c9385ac2ad706fa8e0a8a3ecb215cf36

6 years agoHide mandatory backup's API.
Lenka Trochtova [Tue, 10 Apr 2018 09:01:58 +0000 (11:01 +0200)]
Hide mandatory backup's API.

Bug: 77801801
Bug: 73750212
Bug: 64012357

Test: make RunFrameworksServicesRoboTests
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.DeviceOwnerTes
cts-tradefed run cts -m CtsBackupHostTestCase

Change-Id: I7699755309b3fbff7c3fec2a06a0f409fd4087de

6 years agoAddress API comments on NetworkStats#getDefaultNetwork.
Lorenzo Colitti [Mon, 2 Apr 2018 10:29:26 +0000 (19:29 +0900)]
Address API comments on NetworkStats#getDefaultNetwork.

Bug: 76449091
Test: android.app.usage.cts.NetworkUsageStatsTest passes
Change-Id: I7f21e0bd7bc4b726058fc2e25542ff2c3173fabe

6 years agoAdd logging for smart replies in notifications.
Kenny Guy [Thu, 5 Apr 2018 20:18:38 +0000 (21:18 +0100)]
Add logging for smart replies in notifications.

Log the first time a notification with smart
replies is visible.
Log each click on a smart reply.

Test: atest SystemUITests
Bug: 72153458
Change-Id: I6dc498871000dbb9af978567db3d258b20978781

6 years agoRename onProfileAudioStateChanged() to onAudioModeChanged()
timhypeng [Sun, 8 Apr 2018 05:55:08 +0000 (13:55 +0800)]
Rename onProfileAudioStateChanged() to onAudioModeChanged()

* While receiving BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED
  and TelephonyManager.ACTION_PHONE_STATE_CHANGED intent dispath
  onAudioModeChanged() callback.
* Rename onProfileAudioStateChanged() to onAudioModeChanged()

Bug: 74134939
Test: Build
Change-Id: Iaf037110adba907721f7342eeef360e65cb1da34

6 years agoMerge "Add more API to light greylist" into pi-dev am: 8b0b733a2b
David Brazdil [Wed, 11 Apr 2018 08:24:56 +0000 (01:24 -0700)]
Merge "Add more API to light greylist" into pi-dev am: 8b0b733a2b
am: 19407ef659

Change-Id: I845335106d3052020c18143c29f5630d0c107717

6 years agoMerge "Add more API to light greylist" into pi-dev
David Brazdil [Wed, 11 Apr 2018 08:13:49 +0000 (01:13 -0700)]
Merge "Add more API to light greylist" into pi-dev
am: 8b0b733a2b

Change-Id: I968728a492e47e77b4b99b7decd28ee51cabd1e4

6 years agoMerge "Review of suspend/unsuspend APIs" into pi-dev am: 2188383b8a
Suprabh Shukla [Wed, 11 Apr 2018 08:08:11 +0000 (01:08 -0700)]
Merge "Review of suspend/unsuspend APIs" into pi-dev am: 2188383b8a
am: 03026cb894

Change-Id: Ifd15ef4d5db195b862cf800cf0d2fff11b26745d

6 years agoMerge "Add more API to light greylist" into pi-dev
David Brazdil [Wed, 11 Apr 2018 08:02:11 +0000 (08:02 +0000)]
Merge "Add more API to light greylist" into pi-dev

6 years agoMerge "Review of suspend/unsuspend APIs" into pi-dev
Suprabh Shukla [Wed, 11 Apr 2018 07:55:38 +0000 (00:55 -0700)]
Merge "Review of suspend/unsuspend APIs" into pi-dev
am: 2188383b8a

Change-Id: Ied0b92474f80760f084fd749587fce0953c8469b

6 years agoMerge "Review of suspend/unsuspend APIs" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 07:36:38 +0000 (07:36 +0000)]
Merge "Review of suspend/unsuspend APIs" into pi-dev

6 years agoMerge "Flush the bucket when creating the metric producer. Use int64 for value field...
Yangster-mac [Wed, 11 Apr 2018 05:24:49 +0000 (22:24 -0700)]
Merge "Flush the bucket when creating the metric producer. Use int64 for value field. E2e test for gauge/value metric." into pi-dev am: 5f91d5ee94
am: f0134aad37

Change-Id: I53df91d8ce95ef92a4e05cf4d0dec4893ed85611

6 years agoMerge "Flush the bucket when creating the metric producer. Use int64 for value field...
Yangster-mac [Wed, 11 Apr 2018 05:09:18 +0000 (22:09 -0700)]
Merge "Flush the bucket when creating the metric producer. Use int64 for value field. E2e test for gauge/value metric." into pi-dev
am: 5f91d5ee94

Change-Id: I3d3e040504ad8978f535fac2d62cfb8262c2e386

6 years agoHandle logd reconnect.
Yao Chen [Tue, 10 Apr 2018 17:39:53 +0000 (10:39 -0700)]
Handle logd reconnect.

When statsd reconnects to logd, statsd will read all logs from buffer again. To prevent us from
reprocessing old events, we do the following:

1. At any given moment, record the largest timestamp(T_max) and last timestamp (check point) that
   we've seen before.
2. When reconnection happens, we look for the check point until we see a new log with a timestamp
   larger than T_max.
   -> If we found the CP, resume after the CP. Success
   -> If we can't find CP, there is definitely log loss. We reset all configs.

Note:
1. Logd has an API to read logs after a certain timestamp. But this api is vulnerable to
time changes from Settings. So we cannot rely on it.

2. If logd inserts a new log (with older timestamp) before CP, we cannot detect it. It's not
   possible to detect it without record all timestamps we have seen.

Test: statsd_test
Bug: 77813113

Change-Id: Ic3fdb47230807606ab11dc994cb162194adb8448

6 years agoDeprecate InputMethodUtils#isSystemIme() part 3
Yohei Yukawa [Wed, 11 Apr 2018 04:52:03 +0000 (21:52 -0700)]
Deprecate InputMethodUtils#isSystemIme() part 3

With my previous two CLs [1][2], InputMethodUtils#isSystemIme() is
used nowhere. Hence we can safely remove this unused method.

 [1]: I9c8518988787b748ebb35fc86fe6beee1d6c633d
      fd70fe8fe122560541eb4261357d8edc92dc55dc
 [2]: I33a8489c0597bd881dd8b68b28fc0d99109c11a5
      a3401f2cb0222d058f452885109071e9fd70a6be

Bug: 77730201
Test: compile
Change-Id: I959209c5fef7e9653e09333e860e763f0d4c262c

6 years agoMerge "Flush the bucket when creating the metric producer. Use int64 for value field...
TreeHugger Robot [Wed, 11 Apr 2018 04:49:02 +0000 (04:49 +0000)]
Merge "Flush the bucket when creating the metric producer. Use int64 for value field. E2e test for gauge/value metric." into pi-dev

6 years agoMerge "Remove unwanted capabilitiy from the java-doc" into pi-dev am: 1856d61f9a
Pavel Maltsev [Wed, 11 Apr 2018 04:18:47 +0000 (21:18 -0700)]
Merge "Remove unwanted capabilitiy from the java-doc" into pi-dev am: 1856d61f9a
am: 1b8c42d15f

Change-Id: Ib02988daf44dabfaef7a0b788385b7f7c655b8b2

6 years agoMerge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev am: 788f87dab6
Remi NGUYEN VAN [Wed, 11 Apr 2018 04:12:47 +0000 (21:12 -0700)]
Merge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev am: 788f87dab6
am: 448cf3b116

Change-Id: Iba57f84546fe1720c39adfe6bdf7ad70fcd803e7

6 years agoMerge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev am: 4df92ef6f1
Lorenzo Colitti [Wed, 11 Apr 2018 04:04:10 +0000 (21:04 -0700)]
Merge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev am: 4df92ef6f1
am: 85eac92ecb

Change-Id: I288093a1d76566e72d4889d92c7aedafc318c8b6

6 years agoMerge "Added tests for MultipathPolicyTracker." into pi-dev am: cf54c0451a
Remi NGUYEN VAN [Wed, 11 Apr 2018 03:59:46 +0000 (20:59 -0700)]
Merge "Added tests for MultipathPolicyTracker." into pi-dev am: cf54c0451a
am: 86c747dfa0

Change-Id: Ibe2d6c78f0c673761c3cdb69cd1e8e9187df6335

6 years agoMerge "Remove unwanted capabilitiy from the java-doc" into pi-dev
Pavel Maltsev [Wed, 11 Apr 2018 03:58:01 +0000 (20:58 -0700)]
Merge "Remove unwanted capabilitiy from the java-doc" into pi-dev
am: 1856d61f9a

Change-Id: I7fef43cce3cfe17dae6a5e4f564ad8857371502a

6 years agoMerge "Fix the TalkBack say wrong sentence after sim unlock" into pi-dev am: c7292ffae3
Sanry Huang [Wed, 11 Apr 2018 03:51:30 +0000 (20:51 -0700)]
Merge "Fix the TalkBack say wrong sentence after sim unlock" into pi-dev am: c7292ffae3
am: 96788ce1d8

Change-Id: I52681f9474fbe5f44681faa1515fb2c0d45676ac

6 years agoMerge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 03:46:55 +0000 (20:46 -0700)]
Merge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev
am: 788f87dab6

Change-Id: I7aab9434ab9b11fe588c057a4c2b774b09ad71d2

6 years agoMerge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev
Lorenzo Colitti [Wed, 11 Apr 2018 03:42:03 +0000 (20:42 -0700)]
Merge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev
am: 4df92ef6f1

Change-Id: If254326e892b78ef9daf620f829c1def136d695c

6 years agoMerge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev am...
Amith Yamasani [Wed, 11 Apr 2018 03:41:03 +0000 (20:41 -0700)]
Merge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev am: 555767b616
am: 5cca011bd1

Change-Id: I9f94bbb867d3d55e3f03f6af4e89bb00216e4b97

6 years agoMerge "Added tests for MultipathPolicyTracker." into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 03:37:06 +0000 (20:37 -0700)]
Merge "Added tests for MultipathPolicyTracker." into pi-dev
am: cf54c0451a

Change-Id: I2f47dd30f44722a0611967ce5375aa164f40c718

6 years agoMerge "Prevent extraneous saving of pinned snap fraction." into pi-dev am: 95f2937499
Winson Chung [Wed, 11 Apr 2018 03:32:32 +0000 (20:32 -0700)]
Merge "Prevent extraneous saving of pinned snap fraction." into pi-dev am: 95f2937499
am: ed49025e98

Change-Id: Ibd96e3624955ae16982cc67b6c69e9f64bd4b080

6 years agoMerge "Fix the TalkBack say wrong sentence after sim unlock" into pi-dev
Sanry Huang [Wed, 11 Apr 2018 03:30:22 +0000 (20:30 -0700)]
Merge "Fix the TalkBack say wrong sentence after sim unlock" into pi-dev
am: c7292ffae3

Change-Id: Ica624b35cfcfd11211cb14dc12ffab4990d1c833

6 years agoMerge "Show media stream with remote streams" into pi-dev am: aeb22ce3c3
Julia Reynolds [Wed, 11 Apr 2018 03:27:20 +0000 (20:27 -0700)]
Merge "Show media stream with remote streams" into pi-dev am: aeb22ce3c3
am: a34134c991

Change-Id: I5f58d720e04bb8991ccbc629c1f7899d122524f5

6 years agoMerge "Remove unwanted capabilitiy from the java-doc" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 03:26:22 +0000 (03:26 +0000)]
Merge "Remove unwanted capabilitiy from the java-doc" into pi-dev

6 years agoFlush the bucket when creating the metric producer.
Yangster-mac [Sun, 8 Apr 2018 18:52:26 +0000 (11:52 -0700)]
Flush the bucket when creating the metric producer.
Use int64 for value field.
E2e test for gauge/value metric.

BUG: b/74445671

Test: statsd test.
Change-Id: I823a0bade8f89834bdfb9cf48864852a47d7b63b

6 years agoMerge "Ensure colors for active permission icons" into pi-dev am: 46d03c2914
Julia Reynolds [Wed, 11 Apr 2018 03:22:17 +0000 (20:22 -0700)]
Merge "Ensure colors for active permission icons" into pi-dev am: 46d03c2914
am: f4bf387e9d

Change-Id: Ifb8cb9e73a6ec2f72a3e83e9202f7f672d8463ee

6 years agoMerge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 03:18:57 +0000 (03:18 +0000)]
Merge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev

6 years agoMerge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev
Amith Yamasani [Wed, 11 Apr 2018 03:12:47 +0000 (20:12 -0700)]
Merge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev
am: 555767b616

Change-Id: Ifb257e127e028c2edfaf16ed2785cb92e60e7705