OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "MediaSession2: Implement fastForward() / rewind()" into pi-dev
Jaewan Kim [Mon, 19 Mar 2018 10:59:39 +0000 (10:59 +0000)]
Merge "MediaSession2: Implement fastForward() / rewind()" into pi-dev
am: d65bb20283

Change-Id: Id01780a8074428de178b49e8c7dbf3000bfdee71

6 years agoMerge "MediaSession2: Implement fastForward() / rewind()" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 10:45:03 +0000 (10:45 +0000)]
Merge "MediaSession2: Implement fastForward() / rewind()" into pi-dev

6 years agoMediaSession2: Implement fastForward() / rewind()
Jaewan Kim [Thu, 15 Mar 2018 11:31:06 +0000 (20:31 +0900)]
MediaSession2: Implement fastForward() / rewind()

Bug: 74724709
Test: Run CTS with MediaComponents/runcts.sh
Change-Id: Ibd313dc6eed82a5d7cc9fc156f7851aba13f9e29

6 years agoMerge "Delete TODO about renumbering statd atoms" into pi-dev
Bookatz [Mon, 19 Mar 2018 06:19:11 +0000 (06:19 +0000)]
Merge "Delete TODO about renumbering statd atoms" into pi-dev
am: 790befca1d

Change-Id: I0d57aa401f5389be5f8c5a0cea617c12cb5f316d

6 years agoMerge changes I3ffb6e97,I689df136,Ia67a8eb6 into pi-dev
Bookatz [Mon, 19 Mar 2018 06:12:38 +0000 (06:12 +0000)]
Merge changes I3ffb6e97,I689df136,Ia67a8eb6 into pi-dev
am: ad121b9fdc

Change-Id: I2891370252221fce86e911d7193f22433ed3c6be

6 years agoMerge "Delete TODO about renumbering statd atoms" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 05:54:22 +0000 (05:54 +0000)]
Merge "Delete TODO about renumbering statd atoms" into pi-dev

6 years agoMerge changes I3ffb6e97,I689df136,Ia67a8eb6 into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 05:49:27 +0000 (05:49 +0000)]
Merge changes I3ffb6e97,I689df136,Ia67a8eb6 into pi-dev

* changes:
  Statsd: remove DurationAnomalyTracker.resetStorage
  Statsd AnomalyDetection stopAlarm also checks old
  Statsd AnomalyDetection improvements

6 years agoMerge "Disable scrim focus on AOD" into pi-dev
Lucas Dupin [Mon, 19 Mar 2018 05:22:05 +0000 (05:22 +0000)]
Merge "Disable scrim focus on AOD" into pi-dev
am: 0487601e57

Change-Id: I1800a1de9842e52188fe6b40ce5da6f9a96b19ea

6 years agoMerge "Disable scrim focus on AOD" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 05:03:50 +0000 (05:03 +0000)]
Merge "Disable scrim focus on AOD" into pi-dev

6 years agoMerge "Remove Context requirement from updatable" into pi-dev
Christofer Åkersten [Mon, 19 Mar 2018 04:15:10 +0000 (04:15 +0000)]
Merge "Remove Context requirement from updatable" into pi-dev
am: ac16fb5d41

Change-Id: I28b4e0afef99e607a8e56528d9249b6db325b1b1

6 years agoMerge "Remove Context requirement from updatable" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 04:02:29 +0000 (04:02 +0000)]
Merge "Remove Context requirement from updatable" into pi-dev

6 years agoMerge changes Ia438f4a2,I356c2d57 into pi-dev
Lucas Dupin [Mon, 19 Mar 2018 03:33:45 +0000 (03:33 +0000)]
Merge changes Ia438f4a2,I356c2d57 into pi-dev
am: f5d216cc7c

Change-Id: I9d5b266c1ebe8f72fea98516add59a3abe434fbb

6 years agoMerge changes Ia438f4a2,I356c2d57 into pi-dev
Lucas Dupin [Mon, 19 Mar 2018 03:11:51 +0000 (03:11 +0000)]
Merge changes Ia438f4a2,I356c2d57 into pi-dev

* changes:
  Bouncer notification and QS scrim
  Fix bouncer not showing on top of QS or notif

6 years agoMerge "SystemUI: Temporarily disable test" into pi-dev
Andreas Gampe [Mon, 19 Mar 2018 01:32:21 +0000 (01:32 +0000)]
Merge "SystemUI: Temporarily disable test" into pi-dev
am: 28e22c4ae1

Change-Id: I5a8658a5c141133017c776174b893435e8bd6ea3

6 years agoMerge "SystemUI: Temporarily disable test" into pi-dev
TreeHugger Robot [Mon, 19 Mar 2018 01:18:22 +0000 (01:18 +0000)]
Merge "SystemUI: Temporarily disable test" into pi-dev

6 years agoMerge "Writes the resource table proto out when writing a LoadedApk." into pi-dev
Cory Smith [Sun, 18 Mar 2018 23:19:40 +0000 (23:19 +0000)]
Merge "Writes the resource table proto out when writing a LoadedApk." into pi-dev
am: 449be81065

Change-Id: If6e57967cc36a1c69c709a7aee60730aca967d2e

6 years agoMerge "Writes the resource table proto out when writing a LoadedApk." into pi-dev
Cory Smith [Sun, 18 Mar 2018 22:59:27 +0000 (22:59 +0000)]
Merge "Writes the resource table proto out when writing a LoadedApk." into pi-dev

6 years agoSystemUI: Temporarily disable test
Andreas Gampe [Sun, 18 Mar 2018 22:35:39 +0000 (15:35 -0700)]
SystemUI: Temporarily disable test

Bug: 75329085
Test: none
Exempt-From-Owner-Approval: Let TH pass while investigating
Change-Id: I4c007e5162502f0064b65a89408882e4c348e0db

6 years agoWrites the resource table proto out when writing a LoadedApk.
corysmith@google.com [Tue, 13 Mar 2018 16:04:10 +0000 (12:04 -0400)]
Writes the resource table proto out when writing a LoadedApk.

Small fixes for consistancy to use constants instead of strings.

Change-Id: I33439c376e1634b7957730ce16e241b0f5bb92f8
Fixes: 74594854
Test: Manual, tested against blaze test //javatests/com/google/devtools/build/android:UnitTests

6 years agoBouncer notification and QS scrim
Lucas Dupin [Tue, 13 Mar 2018 21:00:24 +0000 (14:00 -0700)]
Bouncer notification and QS scrim

Show front scrim when the notification panel is expanded,
otherwise pin would be overlayed on top of notifications.

Change-Id: Ia438f4a2794eb9510ec05ad86cc8c19e2e716358
Fixes: 74550013
Test: double tap on notification when locked
Test: tap on QS edit button when locked
Test: unlock by swipping up
Test: fling quickly on keyguard

6 years agoMerge "Modify time only mode flag into set of values instead of just one." into pi-dev
Michael Kwan [Sat, 17 Mar 2018 22:22:33 +0000 (22:22 +0000)]
Merge "Modify time only mode flag into set of values instead of just one." into pi-dev
am: c5d0ed9f3c

Change-Id: I4721197b1329a14aa51f1b49a05bdade1fb71ef8

6 years agoMerge "Modify time only mode flag into set of values instead of just one." into pi-dev
Michael Kwan [Sat, 17 Mar 2018 22:05:38 +0000 (22:05 +0000)]
Merge "Modify time only mode flag into set of values instead of just one." into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Sat, 17 Mar 2018 15:36:11 +0000 (15:36 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
am: 9331af7220  -s ours

Change-Id: Ib91e7e1c4c5a066c2191c29ad1f6df7ca7a0f14f

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Sat, 17 Mar 2018 15:22:58 +0000 (15:22 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Add placeholder on DND settings screen." into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 14:40:46 +0000 (14:40 +0000)]
Merge "Add placeholder on DND settings screen." into pi-dev
am: d7f32a1a7f

Change-Id: Ie41b7e7d2a13941512ef1590c013d2e3e4523d83

6 years agoMerge "Add placeholder on DND settings screen." into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 14:28:41 +0000 (14:28 +0000)]
Merge "Add placeholder on DND settings screen." into pi-dev

6 years agoRemove Context requirement from updatable
Christofer Åkersten [Thu, 15 Mar 2018 11:24:39 +0000 (20:24 +0900)]
Remove Context requirement from updatable

Bug: 74843539
Test: runtest-cts-MediaComponents && atest VideoView2Test
Change-Id: Iba5422f8d092205316ec3fa2c10da6d3f983fde6

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Mar 2018 06:33:48 +0000 (23:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4f0cac1ca19646cb5e45c5d84814883a3c11c1d6

6 years agoMerge "Docstring Updates for applyTransportModeTransform" into pi-dev
Nathan Harold [Sat, 17 Mar 2018 03:59:36 +0000 (03:59 +0000)]
Merge "Docstring Updates for applyTransportModeTransform" into pi-dev
am: 685288127d  -s ours

Change-Id: I98698ebd0a3aa97250274830dadb4c70e41a7e3e

6 years agoMerge "Docstring Updates for applyTransportModeTransform" into pi-dev
TreeHugger Robot [Sat, 17 Mar 2018 03:44:46 +0000 (03:44 +0000)]
Merge "Docstring Updates for applyTransportModeTransform" into pi-dev

6 years agoMerge "Docstring Updates for applyTransportModeTransform" am: 00ef20e853
nharold [Sat, 17 Mar 2018 02:16:38 +0000 (02:16 +0000)]
Merge "Docstring Updates for applyTransportModeTransform" am: 00ef20e853
am: e3a6b678c3

Change-Id: I58ab2b451ef1d0c20efe80d30a679e8870a39a8e

6 years agoMerge "Don't truncate empty text on low density" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 02:01:36 +0000 (02:01 +0000)]
Merge "Don't truncate empty text on low density" into pi-dev
am: 731514eb88

Change-Id: I90f1a56e4e976aafa04d6ed8f664ba2468d2f00e

6 years agoMerge "Docstring Updates for applyTransportModeTransform"
nharold [Sat, 17 Mar 2018 02:00:57 +0000 (02:00 +0000)]
Merge "Docstring Updates for applyTransportModeTransform"
am: 00ef20e853

Change-Id: I2b59ebf0b751f7f404d175ad394a4dfdbf7169ff

6 years agoMerge "Add new semantic Person fields" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 01:50:45 +0000 (01:50 +0000)]
Merge "Add new semantic Person fields" into pi-dev
am: 6389e7bc44

Change-Id: I316ff063efbe3c36a34e3e9e00a463ae4364c4bd

6 years agoMerge "Don't truncate empty text on low density" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 01:36:04 +0000 (01:36 +0000)]
Merge "Don't truncate empty text on low density" into pi-dev

6 years agoMerge "Add new semantic Person fields" into pi-dev
Julia Reynolds [Sat, 17 Mar 2018 01:35:20 +0000 (01:35 +0000)]
Merge "Add new semantic Person fields" into pi-dev

6 years agoAdd placeholder on DND settings screen.
Julia Reynolds [Thu, 15 Mar 2018 13:27:31 +0000 (09:27 -0400)]
Add placeholder on DND settings screen.

Test: make
Bug: 74321426
Change-Id: Ie457b3c994a0d851d835a56a01c28a0acbf102e3

6 years agoMerge "Add cycle-clean option in AppLaunch" into pi-dev
Gopinath Elanchezhian [Sat, 17 Mar 2018 01:07:58 +0000 (01:07 +0000)]
Merge "Add cycle-clean option in AppLaunch" into pi-dev
am: e588d6145d

Change-Id: Iae1ebd4f544992dbdfccb27b06bd5ff66c8b4be5

6 years agoMerge "Add cycle-clean option in AppLaunch" into pi-dev
Gopinath Elanchezhian [Sat, 17 Mar 2018 00:55:05 +0000 (00:55 +0000)]
Merge "Add cycle-clean option in AppLaunch" into pi-dev

6 years agoDocstring Updates for applyTransportModeTransform
Nathan Harold [Tue, 6 Mar 2018 21:22:22 +0000 (13:22 -0800)]
Docstring Updates for applyTransportModeTransform

-Add anotations to usages of PolicyDirection for
 apply...() methods.
-Update the comments on DIRECTION_IN and DIRECTION_OUT
 to better reflect their current usage.
-Add a better explanation to the rekey procedure doc.
-Remove disused createTunnelInterface() stub.

Bug: 73751066
Test: make docs
Merged-In: I9f2ec864466148a18899f1e952c74a525902ccbc
Change-Id: I9f2ec864466148a18899f1e952c74a525902ccbc
(cherry picked from commit f4cdf25a906d0f52ffd76508d660b843b13b3ff8)

6 years agoMerge "Hide notifications when in Lockdown mode" into pi-dev
Chad Brubaker [Sat, 17 Mar 2018 00:39:12 +0000 (00:39 +0000)]
Merge "Hide notifications when in Lockdown mode" into pi-dev
am: 36b0b60e40

Change-Id: I693e95915f60638ae769433e778c2b11bb11e82e

6 years agoMerge "Docstring Updates for applyTransportModeTransform"
nharold [Sat, 17 Mar 2018 00:33:10 +0000 (00:33 +0000)]
Merge "Docstring Updates for applyTransportModeTransform"

6 years agoDocstring Updates for applyTransportModeTransform
Nathan Harold [Tue, 6 Mar 2018 21:22:22 +0000 (13:22 -0800)]
Docstring Updates for applyTransportModeTransform

-Add anotations to usages of PolicyDirection for
 apply...() methods.
-Update the comments on DIRECTION_IN and DIRECTION_OUT
 to better reflect their current usage.
-Add a better explanation to the rekey procedure doc.
-Remove disused createTunnelInterface() stub.

Bug: 73751066
Test: make docs
Change-Id: I9f2ec864466148a18899f1e952c74a525902ccbc

6 years agoMerge "Add null check to RecentTasks.java" into pi-dev
Wale Ogunwale [Sat, 17 Mar 2018 00:26:02 +0000 (00:26 +0000)]
Merge "Add null check to RecentTasks.java" into pi-dev
am: ad5d8175da

Change-Id: I6da61f3b5b33a38f03ebe15ee6c7b3d5f3c983b0

6 years agoMerge "Allow carrier-privileged apps to register telephony listeners." into pi-dev
Jeff Davidson [Sat, 17 Mar 2018 00:19:14 +0000 (00:19 +0000)]
Merge "Allow carrier-privileged apps to register telephony listeners." into pi-dev
am: 03c07f859d  -s ours

Change-Id: Iaf3f401f46a8c1be27662bba0581f2bad154118d

6 years agoMerge "Hide notifications when in Lockdown mode" into pi-dev
Chad Brubaker [Sat, 17 Mar 2018 00:16:34 +0000 (00:16 +0000)]
Merge "Hide notifications when in Lockdown mode" into pi-dev

6 years agoAllow carrier-privileged apps to register telephony listeners.
Jeff Davidson [Sat, 17 Mar 2018 00:13:02 +0000 (00:13 +0000)]
Allow carrier-privileged apps to register telephony listeners.
am: 29da89ffbf  -s ours

Change-Id: Ida390a6230eedec75b179538f777aa84bfc9f485

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 16 Mar 2018 23:56:42 +0000 (23:56 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
am: bc14009d66  -s ours

Change-Id: Ia68e6c8d36fa6831912b7d8a8685c8e5bf50d79b

6 years agoMerge "Add null check to RecentTasks.java" into pi-dev
Wale Ogunwale [Fri, 16 Mar 2018 23:53:29 +0000 (23:53 +0000)]
Merge "Add null check to RecentTasks.java" into pi-dev

6 years agoMerge "Allow carrier-privileged apps to register telephony listeners." into pi-dev
Jeff Davidson [Fri, 16 Mar 2018 23:48:51 +0000 (23:48 +0000)]
Merge "Allow carrier-privileged apps to register telephony listeners." into pi-dev

6 years agoMerge "Allow carrier-privileged apps to register telephony listeners." into pi-dev...
Jeff Davidson [Fri, 16 Mar 2018 23:48:29 +0000 (23:48 +0000)]
Merge "Allow carrier-privileged apps to register telephony listeners." into pi-dev-plus-aosp

6 years agoMerge "Merge "Renamed getNetworkId and getSystemId" am: 5b7103ab97 am: be8199d177...
Android Build Merger (Role) [Fri, 16 Mar 2018 23:46:52 +0000 (23:46 +0000)]
Merge "Merge "Renamed getNetworkId and getSystemId" am: 5b7103ab97 am: be8199d177  -s ours" into pi-dev-plus-aosp

6 years agoMerge "Renamed getNetworkId and getSystemId" am: 5b7103ab97
Jack Yu [Fri, 16 Mar 2018 23:45:12 +0000 (23:45 +0000)]
Merge "Renamed getNetworkId and getSystemId" am: 5b7103ab97
am: be8199d177  -s ours

Change-Id: Ib9c5a52dce4bf546de0fac0c79595773fd3f09d9

6 years agoMerge "Create snapshot even if no PendingIntent is registered" into pi-dev
Robert Berry [Fri, 16 Mar 2018 23:42:48 +0000 (23:42 +0000)]
Merge "Create snapshot even if no PendingIntent is registered" into pi-dev
am: 6b73b2317f

Change-Id: I910b3b42d7a7e1419fac28ee246e31e2a748e8ee

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Fri, 16 Mar 2018 23:33:43 +0000 (23:33 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
am: 9531b70cae  -s ours

Change-Id: I89c25d4ebd8375c02bc9ebb2a16a0c372f236246

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 23:30:49 +0000 (23:30 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Create snapshot even if no PendingIntent is registered" into pi-dev
Robert Berry [Fri, 16 Mar 2018 23:13:53 +0000 (23:13 +0000)]
Merge "Create snapshot even if no PendingIntent is registered" into pi-dev

6 years agoMerge "App Time Limits API in UsageStats" into pi-dev
Amith Yamasani [Fri, 16 Mar 2018 23:08:42 +0000 (23:08 +0000)]
Merge "App Time Limits API in UsageStats" into pi-dev
am: a8bb9d255f

Change-Id: I77b6656d38701b76444c64be1d75c7b86e70e3bb

6 years agoMerge "Renamed getNetworkId and getSystemId"
Jack Yu [Fri, 16 Mar 2018 23:07:24 +0000 (23:07 +0000)]
Merge "Renamed getNetworkId and getSystemId"
am: 5b7103ab97

Change-Id: Ica71497d03bf2752cac6a4af7bc9890a0bb3596f

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 22:59:32 +0000 (22:59 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Unhide getKey() and importKey() and the whole class of RecoveryController...
Aseem Kumar [Fri, 16 Mar 2018 22:51:56 +0000 (22:51 +0000)]
Merge "Unhide getKey() and importKey() and the whole class of RecoveryController. Added @RequiresPermission(android.permission.RECOVER_KEYSTORE) on all public APIs of RecoveryController." into pi-dev
am: 3b0450d4a9

Change-Id: I650b80562b8e19d5264ec897f30145b5b393e77b

6 years agoDelete TODO about renumbering statd atoms
Bookatz [Fri, 16 Mar 2018 22:47:57 +0000 (15:47 -0700)]
Delete TODO about renumbering statd atoms

Test: none
Bug: 72553942
Change-Id: If59ee407dffaed713a3a2f7543314aef3e70ef2c

6 years agoMerge "App Time Limits API in UsageStats" into pi-dev
TreeHugger Robot [Fri, 16 Mar 2018 22:40:46 +0000 (22:40 +0000)]
Merge "App Time Limits API in UsageStats" into pi-dev

6 years agoMerge "Unhide getKey() and importKey() and the whole class of RecoveryController...
Aseem Kumar [Fri, 16 Mar 2018 22:27:37 +0000 (22:27 +0000)]
Merge "Unhide getKey() and importKey() and the whole class of RecoveryController. Added @RequiresPermission(android.permission.RECOVER_KEYSTORE) on all public APIs of RecoveryController." into pi-dev

6 years agoStatsd: remove DurationAnomalyTracker.resetStorage
Bookatz [Fri, 16 Mar 2018 22:25:49 +0000 (15:25 -0700)]
Statsd: remove DurationAnomalyTracker.resetStorage

The explicit resetStorage function in the subclass isn't needed.
It does exactly what its superclass does.
The previous check for !mAlarms.empty() was actually not needed, since
there can be legit cases where !mAlarms.empty() (namely, when the
mMostRecentBucket is moved forward initially - we may call reset, but we
still want the old alarms to remain).

Test: still pass
Change-Id: I3ffb6e97c02b75170c246f57d55ccf59cd368b9c
Fixes: 74607818

6 years agoMerge "Also show "last BS off time" in dumpsys power" into pi-dev
Makoto Onuki [Fri, 16 Mar 2018 22:15:30 +0000 (22:15 +0000)]
Merge "Also show "last BS off time" in dumpsys power" into pi-dev
am: 6344ffd4c9

Change-Id: I66ab8df4dfee72a131f46d5396c0b720de36e566

6 years agometrics constant for volume gesture.
Julia Reynolds [Fri, 16 Mar 2018 22:04:32 +0000 (22:04 +0000)]
metrics constant for volume gesture.
am: b998c8eee2

Change-Id: I3bf0690ea3648ca065de1b28aef109938c1b9e3f

6 years agoMerge "Renamed getNetworkId and getSystemId"
Jack Yu [Fri, 16 Mar 2018 21:50:19 +0000 (21:50 +0000)]
Merge "Renamed getNetworkId and getSystemId"

6 years agoMerge "Also show "last BS off time" in dumpsys power" into pi-dev
Makoto Onuki [Fri, 16 Mar 2018 21:48:20 +0000 (21:48 +0000)]
Merge "Also show "last BS off time" in dumpsys power" into pi-dev

6 years agoMerge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME" am: 01cef932c8
Ruchi Kandoi [Fri, 16 Mar 2018 21:43:04 +0000 (21:43 +0000)]
Merge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME" am: 01cef932c8
am: 7ad52283ab

Change-Id: I4cdeed1b3b55de95e58c8784e379ccfe9da7e4d8

6 years agoMerge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME"
Ruchi Kandoi [Fri, 16 Mar 2018 21:28:18 +0000 (21:28 +0000)]
Merge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME"
am: 01cef932c8

Change-Id: Ic8c8b5566a4278af7ecf745d4b3c8d18a1d848b7

6 years agoDon't truncate empty text on low density
Julia Reynolds [Thu, 15 Mar 2018 19:20:16 +0000 (15:20 -0400)]
Don't truncate empty text on low density

Test: manual inspection
Change-Id: I0c94d23cf0a2b14bc855f5ef39687ece783739c1
Fixes: 74980883

6 years agoMerge "Define phone process as a constant" am: 465fdc2b25
Brad Ebinger [Fri, 16 Mar 2018 21:16:08 +0000 (21:16 +0000)]
Merge "Define phone process as a constant" am: 465fdc2b25
am: 6c54d8509a

Change-Id: I8086e4efa15d74bd61c55b72c7b14be4705fcd58

6 years agoMerge "Added Locking for MmTelFeature" am: d273dea10b
Brad Ebinger [Fri, 16 Mar 2018 20:54:10 +0000 (20:54 +0000)]
Merge "Added Locking for MmTelFeature" am: d273dea10b
am: 3a92430622

Change-Id: I347c5afb39326e3177667b94db593e76a1c766f9

6 years agoMerge "Define phone process as a constant"
Brad Ebinger [Fri, 16 Mar 2018 20:49:52 +0000 (20:49 +0000)]
Merge "Define phone process as a constant"
am: 465fdc2b25

Change-Id: I4414b2e40dcaa459d8c9209082f66c9656013e50

6 years agoCreate snapshot even if no PendingIntent is registered
Robert Berry [Thu, 15 Mar 2018 15:28:05 +0000 (15:28 +0000)]
Create snapshot even if no PendingIntent is registered

When the user first unlocks the phone after booting, the system
app has not yet started. As such, it will not have had a chance to
register a PendingIntent. But if it has ever previously initialized,
the framework can still create a snapshot, and should. Otherwise, it
may be up to 72 hours before the user unlocks their phone again using
the primary method, which adds delay to the key sync.

Bug: 73921897
Test: runtest frameworks-services -p \
      com.android.server.locksettings.recoverablekeystore

Change-Id: Idfaf53194e6a2f5d5ce0123d72f46197392d2c99

6 years agometrics constant for volume gesture.
Julia Reynolds [Fri, 16 Mar 2018 13:09:45 +0000 (09:09 -0400)]
metrics constant for volume gesture.

Test: make
Bug: 75252670
Change-Id: Ifa4412d8e440d2259c534f5ad7a9914ef4239a6c

6 years agoMerge "Added CTS test cases for getNetworkId() and getSystemId()" am: a9c0419010
Jack Yu [Fri, 16 Mar 2018 20:37:22 +0000 (20:37 +0000)]
Merge "Added CTS test cases for getNetworkId() and getSystemId()" am: a9c0419010
am: bd95fa3c21  -s ours

Change-Id: If3965ae16a7fa34e5011eca05560704fd86507e6

6 years agoMerge "Added Locking for MmTelFeature"
Brad Ebinger [Fri, 16 Mar 2018 20:33:57 +0000 (20:33 +0000)]
Merge "Added Locking for MmTelFeature"
am: d273dea10b

Change-Id: Iec9f34bb85d4f04349690799b6d69b4061950bb0

6 years agoStatsd AnomalyDetection stopAlarm also checks old
Bookatz [Fri, 16 Mar 2018 17:09:59 +0000 (10:09 -0700)]
Statsd AnomalyDetection stopAlarm also checks old

Every time stopAlarm() is called, it should also,
right then, check to see if the alarm should actually
have already fired (but didn't due to AlarmManager lag).
Right now, the client needs to do this check separately,
but they always go together. Indeed, MaxDurationTracker
forgot to do the check, which is a bug. It would make
much more sense if the stopAlarm takes care of it for
them, to prevent such mistakes.

Bug: 75273733
Test: make statsd_test && adb sync data && adb shell data/nativetest64/statsd_test/statsd_test
Test: cts-tradefed run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.alert
Change-Id: I689df13690df822090ac34b1171e948be1ad0d9f

6 years agoMerge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME"
Treehugger Robot [Fri, 16 Mar 2018 20:12:04 +0000 (20:12 +0000)]
Merge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME"

6 years agoUnhide getKey() and importKey() and the whole class of RecoveryController.
Aseem Kumar [Mon, 12 Mar 2018 21:34:58 +0000 (14:34 -0700)]
Unhide getKey() and importKey() and the whole class of RecoveryController.
Added @RequiresPermission(android.permission.RECOVER_KEYSTORE) on all
public APIs of RecoveryController.

Bug: 73900159
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I1047c038603869307d7a2462a2e5635fcd1c94c2

6 years agoMerge "Use AsyncTask.SERIAL_EXECUTOR as the default executor for scan" am: cdbf930883
yinxu [Fri, 16 Mar 2018 19:52:11 +0000 (19:52 +0000)]
Merge "Use AsyncTask.SERIAL_EXECUTOR as the default executor for scan" am: cdbf930883
am: a93e4124b5

Change-Id: I0f67a737f418d105658763e21974dc60216aee1a

6 years agoMerge "Do not sleep activities in focused stack when keyguard is going away" into...
Bryce Lee [Fri, 16 Mar 2018 19:47:49 +0000 (19:47 +0000)]
Merge "Do not sleep activities in focused stack when keyguard is going away" into pi-dev
am: 3912a7f544

Change-Id: I7d547cf1ca947f83357ac0d8c7cc773d5a9b8662

6 years agoMerge "Add scan background mode to Settings.Global." am: 3aa064897e
Anthony Stange [Fri, 16 Mar 2018 19:40:08 +0000 (19:40 +0000)]
Merge "Add scan background mode to Settings.Global." am: 3aa064897e
am: 4061a9f348

Change-Id: Iac4d39cc4fcf0f0c8273cee7fbe9822251764068

6 years agoMerge "Added CTS test cases for getNetworkId() and getSystemId()"
Jack Yu [Fri, 16 Mar 2018 19:36:31 +0000 (19:36 +0000)]
Merge "Added CTS test cases for getNetworkId() and getSystemId()"
am: a9c0419010

Change-Id: I6bc4d056458e7c57729c0b37b7867ad08fe8d637

6 years agoModify time only mode flag into set of values instead of just one.
Michael Kwan [Fri, 16 Mar 2018 19:25:50 +0000 (12:25 -0700)]
Modify time only mode flag into set of values instead of just one.

The time only mode flag has not been used yet, so the change should
be low impact.

Bug: 38259902
Test: m -j32
Change-Id: Ie01870633dbaaf51989a148f105a995f58f0da4e

6 years agoMerge "Use AsyncTask.SERIAL_EXECUTOR as the default executor for scan"
yinxu [Fri, 16 Mar 2018 19:31:26 +0000 (19:31 +0000)]
Merge "Use AsyncTask.SERIAL_EXECUTOR as the default executor for scan"
am: cdbf930883

Change-Id: Icd89a86250d28c271f0a3ba2dc1553b313ace646

6 years agoDisable scrim focus on AOD
Lucas Dupin [Wed, 14 Mar 2018 19:41:39 +0000 (12:41 -0700)]
Disable scrim focus on AOD

Test: tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Change-Id: I5ca941454fe7d0d058970323838b1f3e94fa5f33
Fixes: 74726963

6 years agoMerge "Add scan background mode to Settings.Global."
Anthony Stange [Fri, 16 Mar 2018 19:29:03 +0000 (19:29 +0000)]
Merge "Add scan background mode to Settings.Global."
am: 3aa064897e

Change-Id: I2993a751fbf17b561f770307f199ab1c1d4469b8

6 years agoMerge "Deleting Visibility from WifiConfiguration" into pi-dev
Oscar Shu [Fri, 16 Mar 2018 19:24:34 +0000 (19:24 +0000)]
Merge "Deleting Visibility from WifiConfiguration" into pi-dev
am: 6604af68c5

Change-Id: Ic68d76399aca1a5ca1a248c38ac8aba3be63fbf1

6 years agoAdd new semantic Person fields
Julia Reynolds [Thu, 15 Mar 2018 12:37:10 +0000 (08:37 -0400)]
Add new semantic Person fields

Bug: 74431200
Test: cts
Change-Id: I9eda447ae371ef635e9044a13ba7973bd69520ce

6 years agoMerge "Do not sleep activities in focused stack when keyguard is going away" into...
Bryce Lee [Fri, 16 Mar 2018 19:11:56 +0000 (19:11 +0000)]
Merge "Do not sleep activities in focused stack when keyguard is going away" into pi-dev

6 years agoAdd cycle-clean option in AppLaunch
gopinath [Fri, 16 Mar 2018 02:24:38 +0000 (19:24 -0700)]
Add cycle-clean option in AppLaunch

If cycle-clean is enabled then all the apps will be
killed at the end of the cycle and cache will dropped.

Cycle time is also enabled to measure the sum of launch times
during each cycle.

Above two options will enable use to measure app launch time under
memeory pressue by not killing the app between the launches and
by killing all the apps and dropping the cache before each cycle
and measuring the cycle time.

Bug: b/73091210

Tested : Tested with nodropcache, no force stop between launches
and cycle clean option and the cycle time avg,min and max
is printed as expected.

Change-Id: I8fb22439a9fe191104ce024c8a85a2688068cd60

6 years agoMerge "Fix privacy tags based on PWG review meeting." into pi-dev
Yi Jin [Fri, 16 Mar 2018 18:49:15 +0000 (18:49 +0000)]
Merge "Fix privacy tags based on PWG review meeting." into pi-dev
am: 7d17dd7184

Change-Id: Iedbd95f7a0c4cc0a42e5ebc38e79d684657c708d

6 years agoMerge "Deleting Visibility from WifiConfiguration" into pi-dev
Oscar Shu [Fri, 16 Mar 2018 18:45:27 +0000 (18:45 +0000)]
Merge "Deleting Visibility from WifiConfiguration" into pi-dev

6 years agoMerge "Clear calling UID before resolving intent types." into pi-dev
Bryce Lee [Fri, 16 Mar 2018 18:42:34 +0000 (18:42 +0000)]
Merge "Clear calling UID before resolving intent types." into pi-dev
am: c16de0565b

Change-Id: Idf837123922d43c612d24eadc08cfaa7a307e408

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 16 Mar 2018 18:42:12 +0000 (11:42 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I510439c0816ad0b800b0eae982024b580a686333

6 years agoMerge "Define phone process as a constant"
Brad Ebinger [Fri, 16 Mar 2018 18:38:30 +0000 (18:38 +0000)]
Merge "Define phone process as a constant"

6 years agoStatsd AnomalyDetection improvements
Bookatz [Wed, 14 Mar 2018 17:44:24 +0000 (10:44 -0700)]
Statsd AnomalyDetection improvements

Various fixes and improvements to statsd's anomaly detection.

Bug: 74607818
Test: make statsd_test && adb sync data && adb shell data/nativetest64/statsd_test/statsd_test

Change-Id: Ia67a8eb6da0ea9293f698949e1565f7f024a7cb9