OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Distinguish between createSurface error codes." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:40:19 +0000 (00:40 +0000)]
Merge "Distinguish between createSurface error codes." into pi-dev

6 years agoMerge "Move the trusted root CA certs for RecoverableKeyStore to our own folder"...
TreeHugger Robot [Wed, 21 Mar 2018 00:38:35 +0000 (00:38 +0000)]
Merge "Move the trusted root CA certs for RecoverableKeyStore to our own folder" into pi-dev

6 years agoMerge "Fix recovery of stats data from previous input while using ProtoOutputStream...
Howard Ro [Wed, 21 Mar 2018 00:31:23 +0000 (00:31 +0000)]
Merge "Fix recovery of stats data from previous input while using ProtoOutputStream" into pi-dev

6 years agoMerge "API Review: Documentation improvement for standby buckets" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:08:28 +0000 (00:08 +0000)]
Merge "API Review: Documentation improvement for standby buckets" into pi-dev

6 years agoMerge "GPS metrics collection" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:07:03 +0000 (00:07 +0000)]
Merge "GPS metrics collection" into pi-dev

6 years agoMerge "Introduce new constructor for not copying NoCopySpan" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:06:40 +0000 (00:06 +0000)]
Merge "Introduce new constructor for not copying NoCopySpan" into pi-dev

6 years agoMerge "Fingerprint vibrate doesn't change based on DND" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:54:01 +0000 (23:54 +0000)]
Merge "Fingerprint vibrate doesn't change based on DND" into pi-dev

6 years agoMerge "Fingerprint navigation settings is a secure setting" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:46:06 +0000 (23:46 +0000)]
Merge "Fingerprint navigation settings is a secure setting" into pi-dev

6 years agoMerge "Ability to hide/unhide suspended app notifications" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:38:36 +0000 (23:38 +0000)]
Merge "Ability to hide/unhide suspended app notifications" into pi-dev

6 years agoMerge "Better javadoc and rename several methods in ApnSetting." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:38:10 +0000 (23:38 +0000)]
Merge "Better javadoc and rename several methods in ApnSetting." into pi-dev

6 years agoMerge "Check if the given user is unlocked when unlock by token" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:36:37 +0000 (23:36 +0000)]
Merge "Check if the given user is unlocked when unlock by token" into pi-dev

6 years agoMerge "Add alpha Strings to CellIdentityTdscdma" into pi-dev
Nathan Harold [Tue, 20 Mar 2018 23:35:58 +0000 (23:35 +0000)]
Merge "Add alpha Strings to CellIdentityTdscdma" into pi-dev

6 years agoMerge "Fix pulling interval may become 0 in cts" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:31:24 +0000 (23:31 +0000)]
Merge "Fix pulling interval may become 0 in cts" into pi-dev

6 years agoMerge "Revert "Dispatch global settings changes to all users."" into pi-dev
Makoto Onuki [Tue, 20 Mar 2018 23:31:02 +0000 (23:31 +0000)]
Merge "Revert "Dispatch global settings changes to all users."" into pi-dev

6 years agoRevert "Dispatch global settings changes to all users."
Makoto Onuki [Tue, 20 Mar 2018 23:27:47 +0000 (23:27 +0000)]
Revert "Dispatch global settings changes to all users."

This reverts commit 989157e1a6ae6049769a6d02af518cf9cd21bd79.

Reason for revert: Crashing stuff -- http://b/76031092

Bug: 76031092
Change-Id: I190280b4f7bd2c6fda5d88fe25fd609d1cf6d7fb

6 years agoMerge "Prevent callbacks after onStop is called." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:00:45 +0000 (23:00 +0000)]
Merge "Prevent callbacks after onStop is called." into pi-dev

6 years agoMerge "Mark eraseSubscriptions as @SystemApi." into pi-dev
Jiuyu Sun [Tue, 20 Mar 2018 22:53:31 +0000 (22:53 +0000)]
Merge "Mark eraseSubscriptions as @SystemApi." into pi-dev

6 years agoMerge "Use transaction for local activity relaunch" into pi-dev
Andrii Kulian [Tue, 20 Mar 2018 22:42:21 +0000 (22:42 +0000)]
Merge "Use transaction for local activity relaunch" into pi-dev

6 years agoMerge "Ensure QS contains at least 6 tiles." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 22:40:53 +0000 (22:40 +0000)]
Merge "Ensure QS contains at least 6 tiles." into pi-dev

6 years agoAdd alpha Strings to CellIdentityTdscdma
Nathan Harold [Mon, 19 Mar 2018 23:59:40 +0000 (16:59 -0700)]
Add alpha Strings to CellIdentityTdscdma

Add equivalent alphaLong and alphaShort to
TD-SCDMA so that it's equivalent to LTE, WCDMA,
GSM, etc.

Bug: 75980473
Test: compilation
Change-Id: Ibaa8a7daafb44f7fc94f0fd6aaa193b67793eea4

6 years agoMerge "[DO NOT MERGE] Make TCMS multi-user-aware" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 22:20:22 +0000 (22:20 +0000)]
Merge "[DO NOT MERGE] Make TCMS multi-user-aware" into pi-dev

6 years agoMove the trusted root CA certs for RecoverableKeyStore to our own folder
Bo Zhu [Tue, 20 Mar 2018 21:27:07 +0000 (14:27 -0700)]
Move the trusted root CA certs for RecoverableKeyStore to our own folder

Bug: 74621071
Test: runtest frameworks-core -p android.security.keystore.recovery
Change-Id: I3668594b29f56832f2a1fe78b01f585c897bf952

6 years agoMerge "Don't set override display info for ActivityView" into pi-dev
Andrii Kulian [Tue, 20 Mar 2018 22:01:27 +0000 (22:01 +0000)]
Merge "Don't set override display info for ActivityView" into pi-dev

6 years agoMerge "Wait with reparenting back until all app animations are done" into pi-dev
Jorim Jaggi [Tue, 20 Mar 2018 22:01:10 +0000 (22:01 +0000)]
Merge "Wait with reparenting back until all app animations are done" into pi-dev

6 years agoFix recovery of stats data from previous input while using
yro [Fri, 16 Mar 2018 02:42:05 +0000 (19:42 -0700)]
Fix recovery of stats data from previous input while using
ProtoOutputStream

- Specify the length of message to avoid libprotoutil from thinking that
we are trying to write bool
- We only attach the previous dump file to the upload file where config
key matches
- Store ConfigMetricsReport (instead of ConfigMetricsReportList) onto
disk
- Stop use stack after scope in StorageManager
- Migrate UidMap to use ProtoOutputStream and renaming variables to
prevent confusion

Bug: 74021554
Bug: 75968524
Test: manual test, statsd_test, CTS tests
Change-Id: Iedf52633d7f5b985f5a934a3fb5a0c3c3b2e7fd1

6 years agoWait with reparenting back until all app animations are done
Jorim Jaggi [Mon, 19 Mar 2018 13:53:23 +0000 (14:53 +0100)]
Wait with reparenting back until all app animations are done

An activity A that has a shorter animation that is above another
activity B with a longer animation in the same task, the animation
layer would put the B on top of A, but from the hierarchy, A needs
to be on top of B. Thus, we defer reparenting A to the original
hierarchy such that it stays on top of B until B finishes
animating.

Test: Above scenario
Test: AnimatingAppWindowTokenRegistryTest
Fixes: 75246892
Change-Id: I73796376c1cbeb8327262a304911ce2abfbbb0b6

6 years agoMerge "Camera2: Deprecate LENS_RADIAL_DISTORTION, add LENS_DISTORTION" into pi-dev
Eino-Ville Talvala [Tue, 20 Mar 2018 21:58:15 +0000 (21:58 +0000)]
Merge "Camera2: Deprecate LENS_RADIAL_DISTORTION, add LENS_DISTORTION" into pi-dev

6 years agoMerge "Fix cutoff g in "Restarting"/"Shutting down" messages." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 21:58:01 +0000 (21:58 +0000)]
Merge "Fix cutoff g in "Restarting"/"Shutting down" messages." into pi-dev

6 years agoMerge "Revert "Revert "Add setting for enabling CPU frequency scaling.""" into pi-dev
Alice Sheng [Tue, 20 Mar 2018 21:56:40 +0000 (21:56 +0000)]
Merge "Revert "Revert "Add setting for enabling CPU frequency scaling.""" into pi-dev

6 years agoMerge "[DO NOT MERGE] Eliminate duplicate layers in A11yService#getWindows()" into...
TreeHugger Robot [Tue, 20 Mar 2018 21:46:40 +0000 (21:46 +0000)]
Merge "[DO NOT MERGE] Eliminate duplicate layers in A11yService#getWindows()" into pi-dev

6 years agoFingerprint navigation settings is a secure setting
Kevin Chyn [Tue, 20 Mar 2018 21:42:39 +0000 (14:42 -0700)]
Fingerprint navigation settings is a secure setting

Fixes: 76025501

Test: turning on/off the navigation setting actually turns on/off
      the ability to swipe the notification panel

Change-Id: I465fcebfc1e248bd37a609f404462ae8a45cf31b

6 years agoAbility to hide/unhide suspended app notifications
Beverly [Tue, 6 Mar 2018 20:02:44 +0000 (15:02 -0500)]
Ability to hide/unhide suspended app notifications

Test: NotificationListenerVerifierActivity.java
Test: atest NotificationDataTest NotificationListenerServiceTest NotificationManagerServiceTest
Bug: 73965645
Change-Id: I49a02e9fd84dfaa1891437a5d8fc52109a43cded

6 years agoMerge "[DO NOT MERGE] Magnify status bar" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 21:39:52 +0000 (21:39 +0000)]
Merge "[DO NOT MERGE] Magnify status bar" into pi-dev

6 years agoMerge "Log visual interruptions to usagestats." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 21:34:01 +0000 (21:34 +0000)]
Merge "Log visual interruptions to usagestats." into pi-dev

6 years agoIntroduce new constructor for not copying NoCopySpan
Seigo Nonaka [Tue, 20 Mar 2018 02:02:39 +0000 (19:02 -0700)]
Introduce new constructor for not copying NoCopySpan

To hold the original text in PrecomputedText, need to create
SpannableString, but copying NoCopySpan causes some side effect.
This CL introduces a way of copying SpannableString/SpannedString
with all spans other than NoCopySpan.

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

Change-Id: I20dea2114ccaa54b16ff679c97682a5003f9a4c1

6 years agoMerge "Make SYSTEM_INTERACTION a SystemApi" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 21:31:58 +0000 (21:31 +0000)]
Merge "Make SYSTEM_INTERACTION a SystemApi" into pi-dev

6 years agoFingerprint vibrate doesn't change based on DND
Beverly [Tue, 20 Mar 2018 21:19:07 +0000 (17:19 -0400)]
Fingerprint vibrate doesn't change based on DND

Add sonification audio attributes to fingerprint vibration,
so it doesn't get 'muted' by DND.
Bug: 76016723
Test: manual

Change-Id: Ib0ccab2003853ced01d3be97032d261bdc1b6430

6 years agoMerge "Fixed Save logic so it's not triggered when field was not autofilled." into...
TreeHugger Robot [Tue, 20 Mar 2018 21:20:52 +0000 (21:20 +0000)]
Merge "Fixed Save logic so it's not triggered when field was not autofilled." into pi-dev

6 years agoGPS metrics collection
Siddharth Ray [Fri, 16 Mar 2018 19:01:52 +0000 (12:01 -0700)]
GPS metrics collection

GPS metrics will be collected only when in navigating state.

BUG:74983572
Change-Id: Ib4133bb1017370840c26ab1b5886c5d0ef9f7f84

6 years agoMerge "Add empty CdmaSmsSubaddress to CDMA PDU parsing" into pi-dev
Brad Ebinger [Tue, 20 Mar 2018 21:16:31 +0000 (21:16 +0000)]
Merge "Add empty CdmaSmsSubaddress to CDMA PDU parsing" into pi-dev

6 years agoMerge "Minor changes to the API to align the choice of password hashing algorithm...
TreeHugger Robot [Tue, 20 Mar 2018 21:13:26 +0000 (21:13 +0000)]
Merge "Minor changes to the API to align the choice of password hashing algorithm" into pi-dev

6 years agoMerge "Update lockdown icon color" into pi-dev
Chad Brubaker [Tue, 20 Mar 2018 21:11:11 +0000 (21:11 +0000)]
Merge "Update lockdown icon color" into pi-dev

6 years agoMerge "Don't throw exception for duplicate stop" into pi-dev
Andrii Kulian [Tue, 20 Mar 2018 21:11:09 +0000 (21:11 +0000)]
Merge "Don't throw exception for duplicate stop" into pi-dev

6 years agoMerge "Fix default permission granting for system TextClassifier." into pi-dev
Ye Wen [Tue, 20 Mar 2018 21:09:26 +0000 (21:09 +0000)]
Merge "Fix default permission granting for system TextClassifier." into pi-dev

6 years agoUse transaction for local activity relaunch
Andrii Kulian [Tue, 20 Mar 2018 04:51:53 +0000 (21:51 -0700)]
Use transaction for local activity relaunch

To know that onPostCreate callback should be executed we should use
TransactionExecutor for the entire transaction. It will fill
PendingActions object during the launch and the callback will be
triggered after onStart.
This CL changes local activity relaunch to use Lifecycler
infrastructure.

Bug: 72029061
Bug: 64610483
Fixes: 73747058
Test: ActivityLifecycleTests
Change-Id: I7d3fa6339fa6fe2634d0d1635f76e4d6ba03beb2

6 years agoMerge "Remove unused string." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 21:01:11 +0000 (21:01 +0000)]
Merge "Remove unused string." into pi-dev

6 years agoEnsure QS contains at least 6 tiles.
Amin Shaikh [Tue, 20 Mar 2018 20:01:47 +0000 (16:01 -0400)]
Ensure QS contains at least 6 tiles.

Do not allow users to remove QS tiles in the customizer if they
currently have 6 or fewer tiles.

Bug: 72511412
Test: visual
Change-Id: I02be1ee330a81db3d3af6a371187294d71f4db65

6 years agoMerge "Add @Nullable annotations to getOperatorAlphaLong and getOperatorAlphaShort...
Xi Han [Tue, 20 Mar 2018 20:49:13 +0000 (20:49 +0000)]
Merge "Add @Nullable annotations to getOperatorAlphaLong and getOperatorAlphaShort to CellIdentity." into pi-dev

6 years agoMerge "Moves the settings changed logging for statsd." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 20:30:31 +0000 (20:30 +0000)]
Merge "Moves the settings changed logging for statsd." into pi-dev

6 years agoMerge "Expose if running a11y service has crashed" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 20:16:08 +0000 (20:16 +0000)]
Merge "Expose if running a11y service has crashed" into pi-dev

6 years agoMerge "Handle PDFium API change" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 20:07:11 +0000 (20:07 +0000)]
Merge "Handle PDFium API change" into pi-dev

6 years agoMerge "Updating javadoc for updateAppWidgetProviderInfo API" into pi-dev
Sunny Goyal [Tue, 20 Mar 2018 20:03:47 +0000 (20:03 +0000)]
Merge "Updating javadoc for updateAppWidgetProviderInfo API" into pi-dev

6 years agoMerge "Move the setActiveDevice logic from Settings to SettingsLib (1/2)" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 19:56:51 +0000 (19:56 +0000)]
Merge "Move the setActiveDevice logic from Settings to SettingsLib (1/2)" into pi-dev

6 years agoDon't set override display info for ActivityView
Andrii Kulian [Wed, 14 Mar 2018 23:24:07 +0000 (16:24 -0700)]
Don't set override display info for ActivityView

ActivityView content should never be letter- or pillar-boxed
and it doesn't have overscan areas, so we can skip setting
display override info for a virtual display that backs it.

Bug: 72220802
Test: Manually resize with ActivityView demo app
Change-Id: I211449eaea50ec5d3214d63e7eb93a1d2ed2c0fd

6 years ago[DO NOT MERGE] Make TCMS multi-user-aware
Eugene Susla [Fri, 16 Mar 2018 21:33:31 +0000 (14:33 -0700)]
[DO NOT MERGE] Make TCMS multi-user-aware

Bug: 74392619
Fixes: 72481438
Test: presubmit
Change-Id: I1a04fe59216ac94ade8db0c2f56b83ca648db1e7
(cherry picked from commit 835c8b3962854a70b977bb7dbfe240321f8daebd)

6 years ago[DO NOT MERGE] Eliminate duplicate layers in A11yService#getWindows()
Eugene Susla [Fri, 16 Mar 2018 21:35:31 +0000 (14:35 -0700)]
[DO NOT MERGE] Eliminate duplicate layers in A11yService#getWindows()

Fixes: 73904014
Test: using TestBack, ensure the attached bug is fixed
Change-Id: I097ca47563420d658cea083a3b6f8d5e7d02991c
(cherry picked from commit 8f0124190ac0386a9429724b5fdf8f491b8cad05)

6 years ago[DO NOT MERGE] Magnify status bar
Eugene Susla [Tue, 13 Mar 2018 19:24:50 +0000 (12:24 -0700)]
[DO NOT MERGE] Magnify status bar

This regressed with the recent z-ordering wm refactoring
Changing it back to old behabvior

Fixes: 74463331
Test: ensure attached bug is fixed
Change-Id: I7938a4b32a237e2fdf2e9f7bb64bab17366cb174
(cherry picked from commit 9552b26ad73bf8b2a4d4caf185ebbf94e638add3)

6 years agoMerge "Revert "TelephonyManager System APIs process"" into pi-dev
Amit Mahajan [Tue, 20 Mar 2018 19:27:10 +0000 (19:27 +0000)]
Merge "Revert "TelephonyManager System APIs process"" into pi-dev

6 years agoLog visual interruptions to usagestats.
Julia Reynolds [Wed, 7 Mar 2018 17:12:09 +0000 (12:12 -0500)]
Log visual interruptions to usagestats.

Test: runtest systemui-notification, cts
Bug: 74318867
Change-Id: I6233240c2a7940225cadde0258b5d7ba88b86aaf

6 years agoMerge "Allow the shell to start task overlay activities." into pi-dev
Winson Chung [Tue, 20 Mar 2018 19:06:26 +0000 (19:06 +0000)]
Merge "Allow the shell to start task overlay activities." into pi-dev

6 years agoRemove unused string.
Amin Shaikh [Mon, 19 Mar 2018 18:59:18 +0000 (14:59 -0400)]
Remove unused string.

Bug: 74486080
Test: make
Change-Id: Ibe21b9b5c8c9a19b6bd3b73faa65f572159347d0

6 years agoAPI Review: Documentation improvement for standby buckets
Amith Yamasani [Fri, 16 Mar 2018 23:08:57 +0000 (16:08 -0700)]
API Review: Documentation improvement for standby buckets

Specify how to compare with bucket constants since new
bucket constants could be introduced later.

Fixes: 73790511
Test: builds

Change-Id: Ib99ec5fe208bc612869df8bfc69a26ee6be31fa5

6 years agoMerge "Dispatch global settings changes to all users." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 18:56:27 +0000 (18:56 +0000)]
Merge "Dispatch global settings changes to all users." into pi-dev

6 years agoMerge "Set Hearing Aid volume after connection" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 18:54:46 +0000 (18:54 +0000)]
Merge "Set Hearing Aid volume after connection" into pi-dev

6 years agoMerge "Update work notifivation settings on upgrade." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 18:41:13 +0000 (18:41 +0000)]
Merge "Update work notifivation settings on upgrade." into pi-dev

6 years agoMerge "Cleaning up notification proto." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 18:32:41 +0000 (18:32 +0000)]
Merge "Cleaning up notification proto." into pi-dev

6 years agoMerge "Adding a empty constructor so that the class can be emulated" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 18:17:15 +0000 (18:17 +0000)]
Merge "Adding a empty constructor so that the class can be emulated" into pi-dev

6 years agoMerge changes I09f58bdc,Iaf6cee33 into pi-dev
Lucas Dupin [Tue, 20 Mar 2018 18:16:02 +0000 (18:16 +0000)]
Merge changes I09f58bdc,Iaf6cee33 into pi-dev

* changes:
  Hide SHOW_WHEN_LOCKED activity under scrim
  Temporarily show wallpaper when pulsing

6 years agoBetter javadoc and rename several methods in ApnSetting.
yuemingw [Thu, 1 Mar 2018 14:42:57 +0000 (14:42 +0000)]
Better javadoc and rename several methods in ApnSetting.

Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
run cts --module CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testOverrideApn

Bug: 73087996
Change-Id: I5232c92a44ab505946956f81965a205f170aa52b

6 years agoAdd @Nullable annotations to getOperatorAlphaLong and
Cassie [Tue, 20 Mar 2018 17:15:50 +0000 (10:15 -0700)]
Add @Nullable annotations to getOperatorAlphaLong and
getOperatorAlphaShort to CellIdentity.

Bug: 75984192
Test: Unit test
Change-Id: I71feb20075559c7b28d4aa346a603f0d11ca69da

6 years agoMerge "support framework logging for slices" into pi-dev
Chris Wren [Tue, 20 Mar 2018 17:33:40 +0000 (17:33 +0000)]
Merge "support framework logging for slices" into pi-dev

6 years agoMerge "DO NOT MERGE Add scan background mode to Settings.Global." into pi-dev
Anthony Stange [Tue, 20 Mar 2018 17:29:42 +0000 (17:29 +0000)]
Merge "DO NOT MERGE Add scan background mode to Settings.Global." into pi-dev

6 years agoMerge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 17:23:59 +0000 (17:23 +0000)]
Merge "NfcAdapter.EXTRA_SE_NAME -> NfcAdapter.EXTRA_SECURE_ELEMENT_NAME" into pi-dev

6 years agoMerge "Add a null check in case the display is missing." into pi-dev
Garfield Tan [Tue, 20 Mar 2018 17:20:05 +0000 (17:20 +0000)]
Merge "Add a null check in case the display is missing." into pi-dev

6 years agoMerge "Revert "Revert "Break down jank between frame drops vs. triple buffered""...
TreeHugger Robot [Tue, 20 Mar 2018 17:19:56 +0000 (17:19 +0000)]
Merge "Revert "Revert "Break down jank between frame drops vs. triple buffered""" into pi-dev

6 years agoFix cutoff g in "Restarting"/"Shutting down" messages.
Alison Cichowlas [Tue, 20 Mar 2018 17:17:17 +0000 (13:17 -0400)]
Fix cutoff g in "Restarting"/"Shutting down" messages.

Bug: 68792536
Test: Manually, with font size and display size dialed to 11.
Change-Id: I00e5ea16f3d396c54cb61574e6a8f4da4ab601e2

6 years agoMerge "Remove unused ScanSettings and WifiChannel classes" into pi-dev
Oscar Shu [Tue, 20 Mar 2018 17:16:27 +0000 (17:16 +0000)]
Merge "Remove unused ScanSettings and WifiChannel classes" into pi-dev

6 years agoMerge "Add uid field annotation in atoms.proto and statd memory usage optimization...
TreeHugger Robot [Tue, 20 Mar 2018 17:12:25 +0000 (17:12 +0000)]
Merge "Add uid field annotation in atoms.proto and statd memory usage optimization." into pi-dev

6 years agoSet Hearing Aid volume after connection
Jakub Pawlowski [Mon, 19 Mar 2018 19:23:59 +0000 (12:23 -0700)]
Set Hearing Aid volume after connection

Hearing Aid don't remember last volume level, they must be reminded what
the volume was right after connection.

Bug: 69623109
Test: connect Hearing Aid, play music
Change-Id: Ifa0bd31a49950a14837a6d1a26d5eb6a8ec554f5

6 years agoUpdating javadoc for updateAppWidgetProviderInfo API
Sunny Goyal [Tue, 20 Mar 2018 17:02:06 +0000 (10:02 -0700)]
Updating javadoc for updateAppWidgetProviderInfo API

Bug: 74838920
Test: N/A
Change-Id: I531676900fbf8d60ef7050c86a570112ff1ad476

6 years agoCheck if the given user is unlocked when unlock by token
Hongwei Wang [Mon, 19 Mar 2018 17:56:44 +0000 (10:56 -0700)]
Check if the given user is unlocked when unlock by token

Bug: 76010226
Test: None

Change-Id: I2ceea0f185c5e54a9c2a529a9cf8db78587c4072

6 years agoDispatch global settings changes to all users.
Svet Ganov [Mon, 19 Mar 2018 17:29:44 +0000 (10:29 -0700)]
Dispatch global settings changes to all users.

Test: manual

Bug: 74547258

Change-Id: Ia42381e8a74ff70b21d511764dd71f6107807060

6 years agoMerge "Auto zen rules reset for some upgrading users" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 16:51:10 +0000 (16:51 +0000)]
Merge "Auto zen rules reset for some upgrading users" into pi-dev

6 years agoMerge "Scale up in ImageDecoder based on API level" into pi-dev
Leon Scroggins [Tue, 20 Mar 2018 16:44:44 +0000 (16:44 +0000)]
Merge "Scale up in ImageDecoder based on API level" into pi-dev

6 years agoMerge "Make carrier text size in footer match qs label." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 16:41:59 +0000 (16:41 +0000)]
Merge "Make carrier text size in footer match qs label." into pi-dev

6 years agoRevert "TelephonyManager System APIs process"
Amit Mahajan [Tue, 20 Mar 2018 16:18:36 +0000 (16:18 +0000)]
Revert "TelephonyManager System APIs process"

This reverts commit 2f398567532dee2764d85496f9f56cbce287c96d.

Reason for revert: b/75998747

Bug: 75998747
Merged-in: I4a98388c732249ce2aaf05a57c3a98c15f4bd4b3
Change-Id: I35569102bc311162c3d3550fadb6b4307dbe3af1

6 years agoUpdate lockdown icon color
Chad Brubaker [Mon, 19 Mar 2018 19:24:11 +0000 (12:24 -0700)]
Update lockdown icon color

Test: new colors
Bug: 75001345
Change-Id: I20f4cf1327c87a2fa649882eea2b6681206898a8

6 years agoUpdate work notifivation settings on upgrade.
Pavel Grafov [Mon, 19 Mar 2018 13:37:15 +0000 (13:37 +0000)]
Update work notifivation settings on upgrade.

Work notifications settings should only allows the user to cause
notifications to be redacted, not hidden alltogehter. If some user
had it hidden, change it to redacted on upgrade.

Bug: 64829587
Test: manual
Change-Id: Iff88638b2536481fb7ff66ac8a29512c95fbada6

6 years agoMerge "DisplayCutout: Properly letterbox bottom-only cutouts" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 16:13:17 +0000 (16:13 +0000)]
Merge "DisplayCutout: Properly letterbox bottom-only cutouts" into pi-dev

6 years agoFix default permission granting for system TextClassifier.
Ye Wen [Wed, 14 Mar 2018 18:48:24 +0000 (11:48 -0700)]
Fix default permission granting for system TextClassifier.

The original code calls TCS.getServiceComponentName to get the package
name of the configured system TextClassifier, which does not work before
user logs in. This fixes the problem by using the package name from the
configuration directly.

Test: Manually tested to confirm permissions were granted. Permission
section of the app info are gray.

Bug: 74779259

Change-Id: I6bff7119e174c0e0b17d9736d69075f6df2bc882

6 years agoAdding a empty constructor so that the class can be emulated
Sunny Goyal [Mon, 19 Mar 2018 23:11:50 +0000 (16:11 -0700)]
Adding a empty constructor so that the class can be emulated

Test: N/A
Bug: 75979063
Change-Id: I21f168e25d1d4f3ef6fea9d13df3bc74bbe4e6f8

6 years agoMerge "Fix QSTileImpl NPE on startup." into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 15:40:28 +0000 (15:40 +0000)]
Merge "Fix QSTileImpl NPE on startup." into pi-dev

6 years agoMerge "Add an asset source for ImageDecoder" into pi-dev
Leon Scroggins [Tue, 20 Mar 2018 14:33:43 +0000 (14:33 +0000)]
Merge "Add an asset source for ImageDecoder" into pi-dev

6 years agoScale up in ImageDecoder based on API level
Leon Scroggins III [Mon, 19 Mar 2018 14:51:44 +0000 (10:51 -0400)]
Scale up in ImageDecoder based on API level

Bug: 74061412
Bug: 73893665
Test: Manual, I5669a97c70d726826c5c00bc1413c2f97d95d88c

ImageDecoder typically does not scale a Bitmap up to handle density.
This saves memory, and we already handle the density by scaling at
draw time. But some apps rely on the size of the Bitmap without taking
density into account. For backwards compatibility, on apps that are
built for a pre-P version of Android, scale up in ImageDecoder.

Change-Id: I9991d1286e386b47fc57bcfbf0c6652beb1a53ef

6 years agoAdd missing "android:" prefix to some app op constants.
Peter Visontay [Fri, 16 Mar 2018 16:06:57 +0000 (16:06 +0000)]
Add missing "android:" prefix to some app op constants.

Bug: 75253734
Test: none
Change-Id: Ie91b4bee938b9c834c2cb3c831e3473fab0f534c

6 years agoDisplayCutout: Properly letterbox bottom-only cutouts
Adrian Roos [Mon, 19 Mar 2018 16:01:05 +0000 (17:01 +0100)]
DisplayCutout: Properly letterbox bottom-only cutouts

Fixes an issue where bottom cutouts where not
letterboxed if there is no need to letterbox the top

Instead, the need to letterbox is derived from the
bounds.

Change-Id: I6053053066473bd78f21df978e6704043a85e80b
Fixes: 75024814
Test: Receive incoming call in double cutout mode, verify bottom of dialer is letterboxed.

6 years agoFix QSTileImpl NPE on startup.
Amin Shaikh [Tue, 20 Mar 2018 13:09:17 +0000 (09:09 -0400)]
Fix QSTileImpl NPE on startup.

Do not call protected methods before the object is fully instantiated.
Remove paranoid null check for private final nonnull fields for
sublasses of QSTileImpl.

Fixes: 75995708
Test: runtest systemui
Change-Id: I0a11131d796e08d598d696babdf3d7db30e02149

6 years agoAuto zen rules reset for some upgrading users
Beverly [Fri, 16 Mar 2018 19:43:49 +0000 (15:43 -0400)]
Auto zen rules reset for some upgrading users

Automatic zen rules will be set to the undeletable,
default rules for for fresh P devices and for upgrading users
who didn't have any zen automatic rules enabled on upgrade

Bug: 74381638
Test: atest ZenModeHelperTest
Change-Id: Icfa7dfe6c99cb9d67821df0034d5e9a3457b2ef4

6 years agoOnly animate text on wired charging, not wireless
Beverly [Mon, 19 Mar 2018 15:18:51 +0000 (11:18 -0400)]
Only animate text on wired charging, not wireless

Test: manual
Change-Id: I8369914f198aab6711ca8aac39acd8e7216877f7
Fixes: 75849709

6 years agoMerge "Update system notification channels" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 13:13:36 +0000 (13:13 +0000)]
Merge "Update system notification channels" into pi-dev