OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Allow 3 variants of icon size in TwoTargetPreference." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 19:04:22 +0000 (19:04 +0000)]
Merge "Allow 3 variants of icon size in TwoTargetPreference." into pi-dev

6 years agoMerge "Remove focus highlight from scrims" into pi-dev
Lucas Dupin [Mon, 9 Apr 2018 18:58:38 +0000 (18:58 +0000)]
Merge "Remove focus highlight from scrims" into pi-dev

6 years agoMerge "Helper methods for settings screen" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 18:52:25 +0000 (18:52 +0000)]
Merge "Helper methods for settings screen" into pi-dev

6 years agoMerge "Disable ContentService.DEBUG" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 18:34:13 +0000 (18:34 +0000)]
Merge "Disable ContentService.DEBUG" into pi-dev

6 years agoAdds entries for Swipe Up Enable in Settings.Secure
Mehdi Alizadeh [Wed, 4 Apr 2018 01:38:34 +0000 (18:38 -0700)]
Adds entries for Swipe Up Enable in Settings.Secure

Bug: 77549883
Test: None
Change-Id: Ie346c4f527fa014eadbfaa1d81d7f8a5f37f653f

6 years agoMerge "Update PreferenceCategory headers to use headline font." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:55:48 +0000 (17:55 +0000)]
Merge "Update PreferenceCategory headers to use headline font." into pi-dev

6 years agoMerge "Animate shade expansion when bouncer" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:34:33 +0000 (17:34 +0000)]
Merge "Animate shade expansion when bouncer" into pi-dev

6 years agoMerge "Use config_headlineFontFamilyMedium for actionBar/toolbar." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:33:21 +0000 (17:33 +0000)]
Merge "Use config_headlineFontFamilyMedium for actionBar/toolbar." into pi-dev

6 years agoMerge "More knobs for connectivity experiments." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 17:33:15 +0000 (17:33 +0000)]
Merge "More knobs for connectivity experiments." into pi-dev

6 years agoMerge "Add config to allow start activities on long press." into pi-dev
Michael Kwan [Mon, 9 Apr 2018 16:58:51 +0000 (16:58 +0000)]
Merge "Add config to allow start activities on long press." into pi-dev

6 years agoMerge "Tighten up pending animations list." into pi-dev
Winson Chung [Mon, 9 Apr 2018 16:53:55 +0000 (16:53 +0000)]
Merge "Tighten up pending animations list." into pi-dev

6 years agoMerge "PlaybackParams: Add @TestApi annotation to access stretch mode" into pi-dev
Andy Hung [Mon, 9 Apr 2018 16:49:52 +0000 (16:49 +0000)]
Merge "PlaybackParams: Add @TestApi annotation to access stretch mode" into pi-dev

6 years agoMerge "Add common weight name to the API description" into pi-dev
Seigo Nonaka [Mon, 9 Apr 2018 16:46:26 +0000 (16:46 +0000)]
Merge "Add common weight name to the API description" into pi-dev

6 years agoAnimate shade expansion when bouncer
Lucas Dupin [Mon, 9 Apr 2018 06:17:40 +0000 (23:17 -0700)]
Animate shade expansion when bouncer

Change-Id: Ia1b303766379cb9d917c8b60ed70730fe3c4f5b4
Fixes: 76228574
Test: Swipe up, hit back
Test: Double tap on notification, hit back
Test: Launch camera, request bouncer, hit back
Test: Repeat for PIN and password

6 years agoDisable ContentService.DEBUG
Makoto Onuki [Mon, 9 Apr 2018 15:59:01 +0000 (08:59 -0700)]
Disable ContentService.DEBUG

Bug: 77778401
Test: boot
Change-Id: I4fb5ff3555736bd92eb25a25219d35b8ade19708

6 years agoMerge "Expose TestAPIs needed by GtsOsTestCases" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 15:57:42 +0000 (15:57 +0000)]
Merge "Expose TestAPIs needed by GtsOsTestCases" into pi-dev

6 years agoMerge "Update more dialog themes to use medium headline font." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 15:42:37 +0000 (15:42 +0000)]
Merge "Update more dialog themes to use medium headline font." into pi-dev

6 years agoMerge "Support bluetooth not using MultinetworkPolicyTracker" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 14:35:51 +0000 (14:35 +0000)]
Merge "Support bluetooth not using MultinetworkPolicyTracker" into pi-dev

6 years agoMerge "NO PARTIAL RERUN: Do not return recycled bitmaps" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 14:32:41 +0000 (14:32 +0000)]
Merge "NO PARTIAL RERUN: Do not return recycled bitmaps" into pi-dev

6 years agoAdd common weight name to the API description
Seigo Nonaka [Mon, 2 Apr 2018 18:45:34 +0000 (11:45 -0700)]
Add common weight name to the API description

Bug: 76448718
Test: m docs
Change-Id: Id0ce0b2bcbf4f6b0cf1aa97c4d2c3c5117dc62c2

6 years agoMerge "Update Javadoc of setLockTaskEnabled to reflect known issue" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 13:39:31 +0000 (13:39 +0000)]
Merge "Update Javadoc of setLockTaskEnabled to reflect known issue" into pi-dev

6 years agoMerge "DisplayContentTests: Mark and improve flaky test" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 13:16:11 +0000 (13:16 +0000)]
Merge "DisplayContentTests: Mark and improve flaky test" into pi-dev

6 years agoMerge "Permission Check For DPM.getPermittedAccessibilityServices" into pi-dev
Eric Sandness [Mon, 9 Apr 2018 13:10:59 +0000 (13:10 +0000)]
Merge "Permission Check For DPM.getPermittedAccessibilityServices" into pi-dev

6 years agoMerge "Fixing broken logging of OTHER events" into pi-dev
Jan Althaus [Mon, 9 Apr 2018 13:09:55 +0000 (13:09 +0000)]
Merge "Fixing broken logging of OTHER events" into pi-dev

6 years agoMerge "Only match addresses without zip codes if at the end." into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 13:02:13 +0000 (13:02 +0000)]
Merge "Only match addresses without zip codes if at the end." into pi-dev

6 years agoHelper methods for settings screen
Julia Reynolds [Mon, 9 Apr 2018 12:47:39 +0000 (08:47 -0400)]
Helper methods for settings screen

Bug: 77657376
Test: make -j RunSettingsRoboTests
Change-Id: I2002cf98f26312e074c40c085044c60f7ce52ff7

6 years agoMerge "Fallback added for HEAVY_CLICK effect" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 11:26:20 +0000 (11:26 +0000)]
Merge "Fallback added for HEAVY_CLICK effect" into pi-dev

6 years agoMerge "Mapping of haptic constants updated" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 11:26:20 +0000 (11:26 +0000)]
Merge "Mapping of haptic constants updated" into pi-dev

6 years agoMerge "Add haptic constants" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 11:26:20 +0000 (11:26 +0000)]
Merge "Add haptic constants" into pi-dev

6 years agoSupport bluetooth not using MultinetworkPolicyTracker
Erik Kline [Mon, 12 Mar 2018 14:18:58 +0000 (23:18 +0900)]
Support bluetooth not using MultinetworkPolicyTracker

This required advancing the IpManager to IpClient refactoring
(Bluetooth used IpManager and friends). Most importantly, the
Bluetooth code used WaitForProvisioningCallback, so this is
moved into IpClient proper now. Also: some more renaming
cleanup.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 62476366
Bug: 72663849

Merged-In: I5e5b2c59ad3ea9ad574e8e683bcab3b09cfe0791
Merged-In: I89b45310181d952129fb2294db63654da9b4057f
Change-Id: I9eee2a9d5c31cdd48a054a7edc3403584efb1864
(cherry picked from commit 8d1fe54be1b605846cca9dfe4a966b3c5e739caa)

6 years agoMerge "Don't backup/restore screen brightness" into pi-dev
Annie Meng [Mon, 9 Apr 2018 09:53:48 +0000 (09:53 +0000)]
Merge "Don't backup/restore screen brightness" into pi-dev

6 years agoMerge "Fix crash when modifying Selection" into pi-dev
TreeHugger Robot [Mon, 9 Apr 2018 09:26:42 +0000 (09:26 +0000)]
Merge "Fix crash when modifying Selection" into pi-dev

6 years agoPermission Check For DPM.getPermittedAccessibilityServices
Eric Sandness [Tue, 3 Apr 2018 17:12:39 +0000 (18:12 +0100)]
Permission Check For DPM.getPermittedAccessibilityServices

Require the callers of DPM.getPermittedAccessibilityServices(userId) to
hold the MANAGE_USERS permission.  The only known callers of this API
are settings apps that already hold this permission.

Bug: 62343414
Test: com.android.server.devicepolicy.DevicePolicyManagerTest
Test: com.google.android.gts.devicepolicy.DeviceOwnerTest
Test: Manually checked accessibility settings in DO and PO modes
Change-Id: I8ee3f876fcaffa63636645f0f59709cd147254ef

6 years agoMerge "Add setting/experiment to send keycode sleep for ungaze when Home is the foreg...
Robin Bennett [Mon, 9 Apr 2018 07:41:20 +0000 (07:41 +0000)]
Merge "Add setting/experiment to send keycode sleep for ungaze when Home is the foreground activity." into pi-dev

6 years agoMerge "Fix the background of lockscreen showing the art work of removed media notific...
Shawn Lin [Mon, 9 Apr 2018 03:58:49 +0000 (03:58 +0000)]
Merge "Fix the background of lockscreen showing the art work of removed media notification" into pi-dev

6 years agoUpdate more dialog themes to use medium headline font.
Andrew Sapperstein [Sun, 8 Apr 2018 22:29:22 +0000 (15:29 -0700)]
Update more dialog themes to use medium headline font.

Updates more of the DeviceDefault Dialog themes to use
DialogWindowTitle.DeviceDefault and other related styles.

Also updates DialogWindowTitle.DeviceDefault to use the medium headline
font config for its fontFamily to enable OEM customization.

Bug: 70296667
Test: visual inspection
Change-Id: I77adba91d62caf327f96e237d1dd30126ef555c6

6 years agoUpdate PreferenceCategory headers to use headline font.
Andrew Sapperstein [Sun, 8 Apr 2018 18:56:29 +0000 (11:56 -0700)]
Update PreferenceCategory headers to use headline font.

Medium weight.

Bug: 70296667
Test: visual
Change-Id: I879f5524920050e0a12b094d8ad0e9bcf72fd24c

6 years agoUse config_headlineFontFamilyMedium for actionBar/toolbar.
Andrew Sapperstein [Wed, 24 Jan 2018 01:31:29 +0000 (17:31 -0800)]
Use config_headlineFontFamilyMedium for actionBar/toolbar.

Updates the fontFamily used for Theme.DeviceDefault.Settings's
actionBarStyle's titleTextStyle to be config_headlineFontFamilyMedium.

Also updates the toolbarStyle for DeviceDefault themes to use a new
DeviceDefault version that sets titleTextAppearance to a DeviceDefault
version that picks up the fontFamily change made above.

This allows greater customization of system surfaces for OEMs.

Bug: 69314526
Test: visual inspection
Change-Id: Ida9bfaba1e136f29ae80715d1648f13f7b2f2126

6 years agoDisplayContentTests: Mark and improve flaky test
Adrian Roos [Sun, 8 Apr 2018 17:59:08 +0000 (10:59 -0700)]
DisplayContentTests: Mark and improve flaky test

Marks testForAllWindows as flaky. Also improves assertForAllWindowsOrder
to output the actual vs expected output in case the test fails.

Bug: 77772044
Test: atest DisplayContentTests
Change-Id: I975a02621ffb968af24b962fccbe998ded651715

6 years agoNO PARTIAL RERUN: Do not return recycled bitmaps
Lucas Dupin [Sat, 7 Apr 2018 18:08:15 +0000 (11:08 -0700)]
NO PARTIAL RERUN: Do not return recycled bitmaps

There's also no need to offload WallpaperManager#forgetLoadedBitmap
because Bitmap#recycle is asynchronous - and the whole method is
synchronized.

Fixes 77597550
Test: atest cts/tests/framework/base/activitymanager/src/android/server/am/ActivityManagerMultiDisplayTests.java

Change-Id: I88014e21bd05e10c2f524393bb637596708e4e63

6 years agoRemove focus highlight from scrims
Lucas Dupin [Sat, 7 Apr 2018 17:50:25 +0000 (10:50 -0700)]
Remove focus highlight from scrims

Change-Id: Ib51d8b1c6964716ac120f3567a8919decc513fbe
Fixes: 77591096
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java

6 years agoMerge "Remove legacy logger" into pi-dev
Jan Althaus [Sat, 7 Apr 2018 12:06:12 +0000 (12:06 +0000)]
Merge "Remove legacy logger" into pi-dev

6 years agoRemove legacy logger
Jan Althaus [Wed, 4 Apr 2018 17:40:38 +0000 (19:40 +0200)]
Remove legacy logger

Migrate DefaultLogger implementation to SelectionSessionLogger.
This cleans up after the API refactor and fixes two bugs:
- All events are currently logged twice.
- Interfaces accept a null signature, but it currently crashes the legacy logger.

Bug: 73392698
Bug: 77659305
Test: atest FrameworksCoreTests:TextClassificationManagerTest
Test: atest FrameworksCoreTests:TextClassificationTest
Test: atest CtsViewTestCases:TextClassificationManagerTest
Test: atest CtsViewTestCases:TextClassifierValueObjectsTest
Test: atest CtsWidgetTestCases:TextViewTest
Test: atest CtsWidgetTestCases:EditTextTest
Test: Manually examined logs
Change-Id: I0d2b925abf5cab12d71fc2cc0fa527530c86ab10

6 years agoMerge "Fixing incomplete RemoteAction clone" into pi-dev
Jan Althaus [Sat, 7 Apr 2018 08:16:28 +0000 (08:16 +0000)]
Merge "Fixing incomplete RemoteAction clone" into pi-dev

6 years agoFixing broken logging of OTHER events
Jan Althaus [Sat, 7 Apr 2018 07:37:36 +0000 (09:37 +0200)]
Fixing broken logging of OTHER events

This bug means we never received logs for events like 'Web Search'

Bug: 77659305
Test: atest FrameworksCoreTests:SelectionEventTest
Change-Id: I6f79897f548d0d19710578e309e0b645bb78e1e3

6 years agoMerge "Register NetworkRequest callbacks with a handler" into pi-dev
TreeHugger Robot [Sat, 7 Apr 2018 05:06:52 +0000 (05:06 +0000)]
Merge "Register NetworkRequest callbacks with a handler" into pi-dev

6 years agoMerge "Autofill should clear the UI filter when a value is updated to null." into...
TreeHugger Robot [Sat, 7 Apr 2018 03:59:34 +0000 (03:59 +0000)]
Merge "Autofill should clear the UI filter when a value is updated to null." into pi-dev

6 years agoMerge changes from topic "unwanted" into pi-dev
Lorenzo Colitti [Sat, 7 Apr 2018 02:41:40 +0000 (02:41 +0000)]
Merge changes from topic "unwanted" into pi-dev

* changes:
  Add @param tag for state in queryDetailsForUidTagState.
  Remove unwanted capability code per API council feedback.

6 years agoPlaybackParams: Add @TestApi annotation to access stretch mode
Andy Hung [Fri, 6 Apr 2018 22:37:56 +0000 (15:37 -0700)]
PlaybackParams: Add @TestApi annotation to access stretch mode

Required due to CTS access restrictions in P.

Test: CTS ParamsTest
Bug: 77723867
Change-Id: I68b5fbc2096d5d1cb01c60fe1028def5ecfe2959

6 years agoMerge "AudioFocusRequest: getOnAudioFocusChangeListener in test API" into pi-dev
TreeHugger Robot [Sat, 7 Apr 2018 02:00:01 +0000 (02:00 +0000)]
Merge "AudioFocusRequest: getOnAudioFocusChangeListener in test API" into pi-dev

6 years agoAutofill should clear the UI filter when a value is updated to null.
Felipe Leme [Thu, 5 Apr 2018 20:43:41 +0000 (13:43 -0700)]
Autofill should clear the UI filter when a value is updated to null.

Test: VirtualContainerActivityCompatModeTest:testDatasetFiltering
Fixes: 77652152

Change-Id: Ifc7b8f759684fe35d1aa9218dd39b8dcf7ac4e4f

6 years agoMerge "Don't request accessibility focus in volume dialog" into pi-dev
Phil Weaver [Sat, 7 Apr 2018 00:47:34 +0000 (00:47 +0000)]
Merge "Don't request accessibility focus in volume dialog" into pi-dev

6 years agoMerge "UI modifications for user picker Test: tested on Mojave bug: 75023449" into...
TreeHugger Robot [Sat, 7 Apr 2018 00:40:28 +0000 (00:40 +0000)]
Merge "UI modifications for user picker Test: tested on Mojave bug: 75023449" into pi-dev

6 years agoMerge "Fix regression in recent task list replacement" into pi-dev
TreeHugger Robot [Sat, 7 Apr 2018 00:34:54 +0000 (00:34 +0000)]
Merge "Fix regression in recent task list replacement" into pi-dev

6 years agoAllow 3 variants of icon size in TwoTargetPreference.
Fan Zhang [Fri, 6 Apr 2018 22:55:12 +0000 (15:55 -0700)]
Allow 3 variants of icon size in TwoTargetPreference.

Bug: 77726902
Test: robotests
Change-Id: I2770e78827227edff28fcf7e9429c916780588b4

6 years agoAudioFocusRequest: getOnAudioFocusChangeListener in test API
Jean-Michel Trivi [Thu, 5 Apr 2018 22:46:06 +0000 (15:46 -0700)]
AudioFocusRequest: getOnAudioFocusChangeListener in test API

Bug: 77651038
Test: CTS AudioFocusTest
Change-Id: I071057f1ed0ed6c56c16182a48191d763d408ae1

6 years agoMerge "Do not animate scrim when ColorFade" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 23:18:27 +0000 (23:18 +0000)]
Merge "Do not animate scrim when ColorFade" into pi-dev

6 years agoMerge "AudioPresentation: Replace @VisibleForTesting with @TestApi" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:52:43 +0000 (22:52 +0000)]
Merge "AudioPresentation: Replace @VisibleForTesting with @TestApi" into pi-dev

6 years agoDon't request accessibility focus in volume dialog
Phil Weaver [Fri, 6 Apr 2018 22:17:17 +0000 (15:17 -0700)]
Don't request accessibility focus in volume dialog

Bug: 72824733
Test: Manually verify that TalkBack no longer announces
the entire contents of the dialog when pressing a volume
key.

Change-Id: I33162ecef8b9ef5e872a0291c5f3188c0c9d3dc1

6 years agoMerge "Adds a start flag to set FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:35:56 +0000 (22:35 +0000)]
Merge "Adds a start flag to set FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev

6 years agoMerge changes from topic "hid-device-app-name" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:23:39 +0000 (22:23 +0000)]
Merge changes from topic "hid-device-app-name" into pi-dev

* changes:
  Show Bluetooth HID Device connection status in Settings
  Bluetooth: Add hidden API to get current user of HID Device (1/3)

6 years agoMerge "Added nullability annotations to API" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 22:06:04 +0000 (22:06 +0000)]
Merge "Added nullability annotations to API" into pi-dev

6 years agoExpose TestAPIs needed by GtsOsTestCases
Philip P. Moltmann [Wed, 4 Apr 2018 18:20:44 +0000 (11:20 -0700)]
Expose TestAPIs needed by GtsOsTestCases

Test: atest GtsOsTestCases on pi-dev:taimen and oc-mr1:sailfish
Bug: 77497338
Change-Id: I5de976991a857bfbed2faa943822af542601fa8b

6 years agoMerge "Run layout when exiting window" into pi-dev
Jorim Jaggi [Fri, 6 Apr 2018 21:45:50 +0000 (21:45 +0000)]
Merge "Run layout when exiting window" into pi-dev

6 years agoMerge "Early wake-up for transitions (2/2)" into pi-dev
Jorim Jaggi [Fri, 6 Apr 2018 21:44:28 +0000 (21:44 +0000)]
Merge "Early wake-up for transitions (2/2)" into pi-dev

6 years agoAdds a start flag to set FLAG_ACTIVITY_MATCH_EXTERNAL
Patrick Baumann [Fri, 6 Apr 2018 20:53:25 +0000 (13:53 -0700)]
Adds a start flag to set FLAG_ACTIVITY_MATCH_EXTERNAL

Test: manual - launch installed instant app from command line
Change-Id: I0e8532a683e3a68d2c81df222aab673d09c286ed
Fixes: 75967669

6 years agoMerge "Remove clip to padding on the home button parent parent layout" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 21:13:44 +0000 (21:13 +0000)]
Merge "Remove clip to padding on the home button parent parent layout" into pi-dev

6 years agoFix regression in recent task list replacement
Winson Chung [Fri, 6 Apr 2018 17:18:39 +0000 (10:18 -0700)]
Fix regression in recent task list replacement

- Accidentally removed a user check in ag/3762067 when adding the check for
  compatible activity types :(. Added it back and a test to ensure that we
  don't remove tasks that are otherwise identical except belong to
  different users.

Bug: 77661783
Test: atest FrameworksServicesTests:RecentTasksTest
Change-Id: I9a0ec8f62e85e89f97dce615252b4c7635f505f8

6 years agoMerge "Improving jank tests diagnostics" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:57:25 +0000 (20:57 +0000)]
Merge "Improving jank tests diagnostics" into pi-dev

6 years agoMerge "Watch all networks for job invalidation signals." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:52:22 +0000 (20:52 +0000)]
Merge "Watch all networks for job invalidation signals." into pi-dev

6 years agoMerge "Hearing Aid: change get/set active device (3/3)" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:45:21 +0000 (20:45 +0000)]
Merge "Hearing Aid: change get/set active device (3/3)" into pi-dev

6 years agoMerge "Fix another animation leak" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:43:40 +0000 (20:43 +0000)]
Merge "Fix another animation leak" into pi-dev

6 years agoMerge "Add proto output of statsd stats in adb" into pi-dev
Tej Singh [Fri, 6 Apr 2018 20:42:22 +0000 (20:42 +0000)]
Merge "Add proto output of statsd stats in adb" into pi-dev

6 years agoMerge "Turning on proto dumping for stack traces." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:41:01 +0000 (20:41 +0000)]
Merge "Turning on proto dumping for stack traces." into pi-dev

6 years agoMerge "Removed call to setWillNotCacheDrawing and deprecated it as well as willNotCac...
Nader Jawad [Fri, 6 Apr 2018 20:40:46 +0000 (20:40 +0000)]
Merge "Removed call to setWillNotCacheDrawing and deprecated it as well as willNotCacheDrawing as intermediate caching layers are obsolete since hardware accelerated rendering was introduced in API 11" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 20:40:31 +0000 (20:40 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoAdded nullability annotations to API
Selim Cinek [Fri, 6 Apr 2018 19:56:09 +0000 (12:56 -0700)]
Added nullability annotations to API

Certain methods where left out in the new APIs

Change-Id: Ide1e2f387a4918f2134254d862eeff06bfd3a730
Fixes: 74409592
Test: only non-semantic changes

6 years agoAudioPresentation: Replace @VisibleForTesting with @TestApi
Mikhail Naganov [Fri, 6 Apr 2018 20:04:14 +0000 (13:04 -0700)]
AudioPresentation: Replace @VisibleForTesting with @TestApi

This is to fix CTS tests failures.

Bug: 77715867
Test: make
Change-Id: I99a5ff8fab208a0e1f2e889cb7ad256e6ba08437

6 years agoMerge changes Ic0515cec,If547bd96 into pi-dev
Oscar Shu [Fri, 6 Apr 2018 20:17:40 +0000 (20:17 +0000)]
Merge changes Ic0515cec,If547bd96 into pi-dev

* changes:
  metrics: identifying dfs from non dfs scans
  metrics: watchdog connection delay field

6 years agoRegister NetworkRequest callbacks with a handler
Erik Kline [Fri, 6 Apr 2018 06:28:00 +0000 (23:28 -0700)]
Register NetworkRequest callbacks with a handler

Test: as follows
    - builds, flashes, boots
    - settings changes that cause the "x" to appear and disappear
      from the wifi icon don't crash
    - runtest frameworks-net passes (kinda no related)
Bug: 64133961
Bug: 77285360
Change-Id: I8af34d623ce265545a2ec42b56c5e87b4d077f58

6 years agoMerge "WifiConfiguration: Remove a bunch of unused fields" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 19:54:20 +0000 (19:54 +0000)]
Merge "WifiConfiguration: Remove a bunch of unused fields" into pi-dev

6 years agoMerge "Update NetworkScoreService to use SystemService" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 19:44:52 +0000 (19:44 +0000)]
Merge "Update NetworkScoreService to use SystemService" into pi-dev

6 years agoUI modifications for user picker
Aarthi Balachander [Fri, 30 Mar 2018 18:15:59 +0000 (11:15 -0700)]
UI modifications for user picker
Test: tested on Mojave
bug: 75023449

Change-Id: Ia991ca9ed9424d0008ca2328f28c0900e8d5653a

6 years agoMerge "Fix ambient display time unit error" into pi-dev
Mike Ma [Fri, 6 Apr 2018 19:32:20 +0000 (19:32 +0000)]
Merge "Fix ambient display time unit error" into pi-dev

6 years agoOnly match addresses without zip codes if at the end.
Torne (Richard Coles) [Fri, 6 Apr 2018 19:17:55 +0000 (15:17 -0400)]
Only match addresses without zip codes if at the end.

The old native implementation of findAddress only accepted addresses
without zip codes if they appeared at the end of the string. This was
probably a bug as the documentation implies this should work in all
cases, but fixing this bug has caused a lot of false positives while not
fixing very many false negatives and this functionality is being
deprecated anyway, so change it back.

Fixes: 75409267
Test: tested upstream in chromium; direct copy of that code
Change-Id: I3f3c300035cf02a23284737431bc6f94f542cbe7

6 years agoImproving jank tests diagnostics
Vadim Tryshev [Thu, 5 Apr 2018 20:50:38 +0000 (13:50 -0700)]
Improving jank tests diagnostics

When there were 0 total frames, ProfileData generates something like:
Janky frames: 0 (nan%)

Then the test fails to parse it, and ends up with a mysterious
"Failed to parse NUM_JANKY" diag (see the bug).

Making the case 0/0 a 0%.

Bug: 77528721
Test: atest google/perf/jank/SystemUI/UbSystemUIJankTests:android.platform.systemui.tests.jank.LauncherJankTests#testOpenAllAppsContainer
Change-Id: Ib65b80dc689f7b6ee06b108114ffd7de9d739721

6 years agoMerge "Fix support for rendering status icons" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 19:02:41 +0000 (19:02 +0000)]
Merge "Fix support for rendering status icons" into pi-dev

6 years agoMerge "Add new WifiWake metrics" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 18:48:27 +0000 (18:48 +0000)]
Merge "Add new WifiWake metrics" into pi-dev

6 years agoMerge "Marking some hidden API as TestApi." into pi-dev
Xiangyu/Malcolm Chen [Fri, 6 Apr 2018 18:32:12 +0000 (18:32 +0000)]
Merge "Marking some hidden API as TestApi." into pi-dev

6 years agoMerge "Add TestApi annotation to AudioEffect, AudioFormat, VolumeShaper" into pi-dev
Andy Hung [Fri, 6 Apr 2018 18:19:48 +0000 (18:19 +0000)]
Merge "Add TestApi annotation to AudioEffect, AudioFormat, VolumeShaper" into pi-dev

6 years agoMerge "Update battery strings to respect user 24 hour setting" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 18:17:11 +0000 (18:17 +0000)]
Merge "Update battery strings to respect user 24 hour setting" into pi-dev

6 years agoMerge "WifiConfiguration: Modify time display in toString" into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 18:16:36 +0000 (18:16 +0000)]
Merge "WifiConfiguration: Modify time display in toString" into pi-dev

6 years agoMerge "Added dontSendToRestrictedApps broadcast option" into pi-dev
Fyodor Kupolov [Fri, 6 Apr 2018 17:57:10 +0000 (17:57 +0000)]
Merge "Added dontSendToRestrictedApps broadcast option" into pi-dev

6 years agoMerge changes Idca52b94,I82ae308d into pi-dev
David Brazdil [Fri, 6 Apr 2018 17:42:05 +0000 (17:42 +0000)]
Merge changes Idca52b94,I82ae308d into pi-dev

* changes:
  Sort hidden API light grey
  Add more hidden API to light grey

6 years agoFix support for rendering status icons
Brad Stenning [Fri, 6 Apr 2018 17:28:08 +0000 (10:28 -0700)]
Fix support for rendering status icons

Bug: 77698170

Test: Manual on big dog
Change-Id: Ibabc56408cfa8cbd48baac40ada63c976631170b

6 years agoMerge "Hide app if it shares uid with whitelisted app" into pi-dev
Lei Yu [Fri, 6 Apr 2018 17:19:19 +0000 (17:19 +0000)]
Merge "Hide app if it shares uid with whitelisted app" into pi-dev

6 years agoMerge "Move the alarm status icon to the first position." into pi-dev
TreeHugger Robot [Fri, 6 Apr 2018 17:17:39 +0000 (17:17 +0000)]
Merge "Move the alarm status icon to the first position." into pi-dev

6 years agoMerge "Switch to Saturated color mode when Accessibility transforms are active" into...
TreeHugger Robot [Fri, 6 Apr 2018 17:12:01 +0000 (17:12 +0000)]
Merge "Switch to Saturated color mode when Accessibility transforms are active" into pi-dev

6 years agoRemoved call to setWillNotCacheDrawing and deprecated it as well as
Nader Jawad [Thu, 5 Apr 2018 23:34:47 +0000 (16:34 -0700)]
Removed call to setWillNotCacheDrawing and deprecated it as well as
willNotCacheDrawing as intermediate caching layers are obsolete since
hardware accelerated rendering was introduced in API 11

ImageView's current implementation of setScaleType would manually
disable it's cache if the ScaleType provided was CENTER. This was end up
not drawing the ImageView if View.LAYER_TYPE_SOFTWARE was configured on
the ImageView as the cache no longer existed. Removed the logic to
conditionally disable the drawing cache and marked
setWillNotCacheDrawing/willNotCacheDrawing as hardware accelerated
rendering makes these facilities obsolete

Fixes: 77653694
Fixes: 72139649
Test: Created a test application with an ImageView and manually set a
ScaleType of CENTER and forced the ImageView to render in a software
layer to confirm that it would render properly with a drawable of the
test application's launcher icon

Change-Id: Ie73b1e0708a265e3cc2cc74ed13539f4219dbd7d
(cherry picked from commit 2ac86880d6888b0508cdb7d6b2f22a1329a66560)

6 years agoUpdate NetworkScoreService to use SystemService
Mehdi Alizadeh [Thu, 29 Mar 2018 00:34:24 +0000 (17:34 -0700)]
Update NetworkScoreService to use SystemService

Bug: 29118511
Test: runtests.sh
Test: Ran integration tests
Test: Verified wifi assistant still works (Uses NetworkScorer).
Change-Id: I50a6bd5ab59fc69fcb331102ad80ec4bb0988c70