OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Tie FAS service-start to the same idleness state as O+ bg restrictions" into...
Chris Tate [Thu, 26 Apr 2018 23:33:37 +0000 (23:33 +0000)]
Merge "Tie FAS service-start to the same idleness state as O+ bg restrictions" into pi-dev

6 years agoMerge "Handle accessibility button state on user switch" into pi-dev
Phil Weaver [Thu, 26 Apr 2018 23:26:51 +0000 (23:26 +0000)]
Merge "Handle accessibility button state on user switch" into pi-dev

6 years agoMerge "Revert "WifiManager: Return status from startScan()"" into pi-dev
Doris Ling [Thu, 26 Apr 2018 23:26:09 +0000 (23:26 +0000)]
Merge "Revert "WifiManager: Return status from startScan()"" into pi-dev

6 years agoMerge "Added test API to refresh the UICC Profile" into pi-dev
Gil O'Neil [Thu, 26 Apr 2018 23:20:41 +0000 (23:20 +0000)]
Merge "Added test API to refresh the UICC Profile" into pi-dev

6 years agoMerge "Use Empty List for Default PhysicalChannelConfig" into pi-dev
Nathan Harold [Thu, 26 Apr 2018 23:03:45 +0000 (23:03 +0000)]
Merge "Use Empty List for Default PhysicalChannelConfig" into pi-dev

6 years agoMerge "Using a list to store usage events" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 22:58:40 +0000 (22:58 +0000)]
Merge "Using a list to store usage events" into pi-dev

6 years agoMerge "Correct cropping of windows above decor layer." into pi-dev
Rob Carr [Thu, 26 Apr 2018 22:41:18 +0000 (22:41 +0000)]
Merge "Correct cropping of windows above decor layer." into pi-dev

6 years agoMerge "Use view order when iterating icons in a slot" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 22:37:46 +0000 (22:37 +0000)]
Merge "Use view order when iterating icons in a slot" into pi-dev

6 years agoMerge "Start recents animation to the target task in the stack" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 22:32:59 +0000 (22:32 +0000)]
Merge "Start recents animation to the target task in the stack" into pi-dev

6 years agoRevert "WifiManager: Return status from startScan()"
Doris Ling [Thu, 26 Apr 2018 22:28:27 +0000 (22:28 +0000)]
Revert "WifiManager: Return status from startScan()"

This reverts commit b81c3d5f9a86e4e1f90be2ffaa81ea5df8fce684.

Bug: 77297012
Change-Id: Ie8727343650b549d4f438643d50a10fe50ab52b1
Reason: this change is breaking the build

6 years agoMerge "Add A2dp.disconnect() hidden API to the greylist" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 21:39:49 +0000 (21:39 +0000)]
Merge "Add A2dp.disconnect() hidden API to the greylist" into pi-dev

6 years agoMerge "Allow using reserved package IDs" into pi-dev
Todd Kennedy [Thu, 26 Apr 2018 21:29:17 +0000 (21:29 +0000)]
Merge "Allow using reserved package IDs" into pi-dev

6 years agoMerge "AndroidManifest.xml: Add new network permission for setup wizard" into pi-dev
Roshan Pius [Thu, 26 Apr 2018 21:22:32 +0000 (21:22 +0000)]
Merge "AndroidManifest.xml: Add new network permission for setup wizard" into pi-dev

6 years agoMerge "Add missing Insets#top/bottom fields to greylist" into pi-dev
John Reck [Thu, 26 Apr 2018 21:15:08 +0000 (21:15 +0000)]
Merge "Add missing Insets#top/bottom fields to greylist" into pi-dev

6 years agoMerge "WifiManager: Return status from startScan()" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 21:14:46 +0000 (21:14 +0000)]
Merge "WifiManager: Return status from startScan()" into pi-dev

6 years agoMerge "Fix broken resource definition." into pi-dev
Calvin On [Thu, 26 Apr 2018 21:10:49 +0000 (21:10 +0000)]
Merge "Fix broken resource definition." into pi-dev

6 years agoFix broken resource definition.
Calvin On [Thu, 26 Apr 2018 19:17:02 +0000 (12:17 -0700)]
Fix broken resource definition.

notification_right_icon_size_low_ram appears to have been
circularly defined. This reverts the change made to this
field in ag/3938119.

Since the original CL reduced dp value of icon sizes, this
fix also does a best effort/proportional change to the
dp value of the icon, to 38dp (from 40dp).

Test: Build and install on sawfish, crash no longer repros.
Bug: 78598699
Change-Id: I73309fb39cc7cbc286e5a0cec69900590d3f0f54

6 years agoMerge "Fix issue with recent task being replaced by task with another windowing mode...
TreeHugger Robot [Thu, 26 Apr 2018 20:49:53 +0000 (20:49 +0000)]
Merge "Fix issue with recent task being replaced by task with another windowing mode" into pi-dev

6 years agoMerge "Adjust vol dnd icon layout width" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 20:49:48 +0000 (20:49 +0000)]
Merge "Adjust vol dnd icon layout width" into pi-dev

6 years agoMerge "Compute correct rejected time" into pi-dev
Philip P. Moltmann [Thu, 26 Apr 2018 20:38:43 +0000 (20:38 +0000)]
Merge "Compute correct rejected time" into pi-dev

6 years agoAdd A2dp.disconnect() hidden API to the greylist
Pavlin Radoslavov [Thu, 26 Apr 2018 18:27:01 +0000 (11:27 -0700)]
Add A2dp.disconnect() hidden API to the greylist

Bug: 78635603
Test: Code compilation
Change-Id: Ic407e473f44626fd0b056078b3d9a5d648480cc3

6 years agoHandle accessibility button state on user switch
Phil Weaver [Thu, 26 Apr 2018 20:27:30 +0000 (13:27 -0700)]
Handle accessibility button state on user switch

Bug: 78196203
Test: Enable Magnification with button, switch to guest,
see accessibility button disappear

Change-Id: I4feda07243a6c17a5985f29dbea9d4ad0adcb0cf

6 years agoUse view order when iterating icons in a slot
Evan Laird [Thu, 26 Apr 2018 20:05:46 +0000 (16:05 -0400)]
Use view order when iterating icons in a slot

Before, slots handed out holders in the order they were added, meaning
you may try to insert the N+1th icon before the Nth

Change-Id: If993cf7233989ff22633f9b026aa3627bbc72d6b
Fixes: 69527817
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/StatusBarIconListTest.java

6 years agoMerge "Fixes null-ref when trying to start Guest session." into pi-dev
Jovana Knezevic [Thu, 26 Apr 2018 19:40:02 +0000 (19:40 +0000)]
Merge "Fixes null-ref when trying to start Guest session." into pi-dev

6 years agoMerge "Ignore dumpsys -a option" into pi-dev
Fyodor Kupolov [Thu, 26 Apr 2018 18:58:47 +0000 (18:58 +0000)]
Merge "Ignore dumpsys -a option" into pi-dev

6 years agoMerge "Use correct package when pinning a slice" into pi-dev
Jason Monk [Thu, 26 Apr 2018 18:40:37 +0000 (18:40 +0000)]
Merge "Use correct package when pinning a slice" into pi-dev

6 years agoCompute correct rejected time
Philip P. Moltmann [Thu, 26 Apr 2018 18:01:08 +0000 (11:01 -0700)]
Compute correct rejected time

Fixes: 78632929
Test: atest FrameworksServicesTests:AppOpsServiceTest
            CtsPermissionTestCases:AppOpsTest

Change-Id: I34e1de6658c89c40cae3a8bb6e9fdb4e7fd80795

6 years agoMerge "Makes static shared libs visible to installer" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 17:51:16 +0000 (17:51 +0000)]
Merge "Makes static shared libs visible to installer" into pi-dev

6 years agoFix issue with recent task being replaced by task with another windowing mode
Winson Chung [Thu, 19 Apr 2018 21:45:03 +0000 (14:45 -0700)]
Fix issue with recent task being replaced by task with another windowing mode

- ag/3762067 is not sufficient to fix the regression from stack id to
  activity type and windowing mode.  When finding a task in the recents
  list to remove and replace with a new task, we need to treat tasks with
  different windowing modes as separate tasks.

Bug: 78291664
Test: Launch play movies, enter PIP and ensure that the main activity task
      still shows in overview

Change-Id: Id1fddfe580bd6bfab8e618930cec82e1e4363ce0

6 years agoAdjust vol dnd icon layout width
Beverly [Thu, 26 Apr 2018 15:17:29 +0000 (11:17 -0400)]
Adjust vol dnd icon layout width

When only one volume row is visible, adjust the
width of the volume dnd icon FrameLayout so the
icon floats on the top right.  Icon was previously
inset by padding introcued by volume_dialog_rows minWidth
attribute.

Test: visual inspection (with 1+ streams)
Fixes: 78275139
Change-Id: I8f34ba21545823ac8431396696adb4e9347b40db

6 years agoAllow using reserved package IDs
Todd Kennedy [Wed, 25 Apr 2018 23:45:59 +0000 (16:45 -0700)]
Allow using reserved package IDs

Pre-O, the platform treats negative resource IDs [those with
a package ID of 0x80 or higher] as invalid.  In order to work
around this limitation, we allow the use of traditionally
reserved resource IDs [those between 0x02 and 0x7E].

Bug: 78041707
Test: ./out/host/linux-x86/nativetest64/aapt2_tests/aapt2_tests
Test: ./out/host/linux-x86/nativetest/libandroidfw_tests/libandroidfw_tests
Test: Manual. Create a feature split with a package ID of 0x7E and see it runs and can reference base resources.

Change-Id: I3d9782cc05d3a55e1a2467bf39566788847e1160

6 years agoMerge "Autofill: new UX for TV and support themes" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 16:40:40 +0000 (16:40 +0000)]
Merge "Autofill: new UX for TV and support themes" into pi-dev

6 years agoMerge "Default vibration amplitude resolution added" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 16:39:29 +0000 (16:39 +0000)]
Merge "Default vibration amplitude resolution added" into pi-dev

6 years agoMerge "Only ripple rotate btn if attached to window" into pi-dev
Mike Digman [Thu, 26 Apr 2018 16:07:18 +0000 (16:07 +0000)]
Merge "Only ripple rotate btn if attached to window" into pi-dev

6 years agoDefault vibration amplitude resolution added
Alexey Kuzmin [Tue, 24 Apr 2018 11:58:13 +0000 (12:58 +0100)]
Default vibration amplitude resolution added

Test: On sailfish, set vibration intensity to High, lock the phone and
unlock with FPS. Vibration should be played.
Bug: 76129874

Change-Id: I546341e55fa0e6de0af1d22c8e8e07d67670f0b9
Merged-In: I546341e55fa0e6de0af1d22c8e8e07d67670f0b9

6 years agoMerge "QQS visual fixes." into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 14:16:29 +0000 (14:16 +0000)]
Merge "QQS visual fixes." into pi-dev

6 years agoMerge "Add more API accesses from bugreports." into pi-dev
Mathew Inwood [Thu, 26 Apr 2018 14:04:44 +0000 (14:04 +0000)]
Merge "Add more API accesses from bugreports." into pi-dev

6 years agoMerge "Pipe the user restriction to the admin dialog" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 11:05:21 +0000 (11:05 +0000)]
Merge "Pipe the user restriction to the admin dialog" into pi-dev

6 years agoMerge "[Magnifier-40] Always child of main window" into pi-dev
Mihai Popa [Thu, 26 Apr 2018 10:48:23 +0000 (10:48 +0000)]
Merge "[Magnifier-40] Always child of main window" into pi-dev

6 years ago[Magnifier-40] Always child of main window
Mihai Popa [Mon, 16 Apr 2018 13:27:05 +0000 (14:27 +0100)]
[Magnifier-40] Always child of main window

Previously, we were making the magnifier surface a child of the main
window unless the magnified view was a SurfaceView, in which case we
were setting the SurfaceView to be the parent of the magnifier. In
Chrome, where the magnified views are usually SurfaceViews, this caused
the magnifier to be displayed underneath the omnibox, which was a
terrible user experience when trying to magnify the first lines of text
on a page. This was because the omnibox had a higher Z than the
SurfaceView, and therefore a higher Z than all children of the
SurfaceView (including the magnifier).

This CL sets the parent of the magnifier surface to be the main window's
surface when the magnified view is a SurfaceView as well. Therefore, the
magnifier becomes a sibling of the Chrome omnibox and, by giving the
magnifier a higher Z, it ends up being rendered on top.

Bug: 77926365
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ic5b5f6ca687db8b5d842f0ab20eac70f1fd2f85e

6 years agoMerge "Fix CaptivePortalLoginActivity probes to bypass Private DNS" into pi-dev
Erik Kline [Thu, 26 Apr 2018 07:29:45 +0000 (07:29 +0000)]
Merge "Fix CaptivePortalLoginActivity probes to bypass Private DNS" into pi-dev

6 years agoFix CaptivePortalLoginActivity probes to bypass Private DNS
Erik Kline [Wed, 25 Apr 2018 08:27:28 +0000 (17:27 +0900)]
Fix CaptivePortalLoginActivity probes to bypass Private DNS

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - manual testing on captive portal networks
Bug: 64133961
Bug: 77140445
Bug: 78548486

Merged-In: I749e8b5dba3b4af9ecb82bfb558c6f0e664531a4
Merged-In: Ic76d55861f385d1aecd360adda7f10142d083a47
Change-Id: Idbc4d90eeec257b36c5f374d61dea4600a0f8ebb
(cherry picked from commit 848d842a3ad94720e1d70db3337048e9568bb9d6)

6 years agoMerge "Do not magnify if surface control is not set" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 03:22:29 +0000 (03:22 +0000)]
Merge "Do not magnify if surface control is not set" into pi-dev

6 years agoUse Empty List for Default PhysicalChannelConfig
Nathan Harold [Wed, 25 Apr 2018 19:53:04 +0000 (12:53 -0700)]
Use Empty List for Default PhysicalChannelConfig

If a caller registers to listen() for a physical
channel config message, the beavior is to immediately
trigger an unsol. In the case that a list hasn't been
sent from the modem, we should send a default empty
list rather than a null. This is the preferred
approach for Android APIs because it reduces the
reliance on null checks by callers.

Bug: 78536847
Test: ¯\_(ツ)_/¯
Change-Id: I9e59195f5d64264ab473b2fd7e4f7eb6446c4829

6 years agoMerge "Refactor GnssMeasurementsProvider" into pi-dev
Yu-Han Yang [Thu, 26 Apr 2018 01:31:51 +0000 (01:31 +0000)]
Merge "Refactor GnssMeasurementsProvider" into pi-dev

6 years agoAdded test API to refresh the UICC Profile
goneil [Fri, 6 Apr 2018 22:22:54 +0000 (15:22 -0700)]
Added test API to refresh the UICC Profile

Bug: 74016670
Test: GTS tests - vendor/xts/gts-tests/hostsidetests/simappdialog
Change-Id: I8f8ffdad8666d523172b035d24b96278d4d1a1ee

6 years agoMerge "Fix WTF in PendingIntentRecord.unregisterCancelListenerLocked()" into pi-dev
TreeHugger Robot [Thu, 26 Apr 2018 00:50:56 +0000 (00:50 +0000)]
Merge "Fix WTF in PendingIntentRecord.unregisterCancelListenerLocked()" into pi-dev

6 years agoTie FAS service-start to the same idleness state as O+ bg restrictions
Christopher Tate [Wed, 25 Apr 2018 17:47:23 +0000 (10:47 -0700)]
Tie FAS service-start to the same idleness state as O+ bg restrictions

Change-Id: I5b80519f7006fcee63644235d91435f0a591ea50
Fixes: 78322423
Test: ApiDemos outside FAS with startService() in Activity#onStop()
Test: ApiDemos in FAS service exercises (checking regressions)
Test: Maps navigation (checking regressions)

6 years agoOnly ripple rotate btn if attached to window
Mike Digman [Wed, 25 Apr 2018 18:25:59 +0000 (11:25 -0700)]
Only ripple rotate btn if attached to window

Change-Id: I164ba4ed9166941fe5b8fb96539d4b8e70beb6f7
Fixes: 78532076
Fixes: 78568790
Test: boot test without crash

6 years agoMerge "Add ADAPTIVE_BATTERY_MANAGEMENT_ENABLED" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 23:37:43 +0000 (23:37 +0000)]
Merge "Add ADAPTIVE_BATTERY_MANAGEMENT_ENABLED" into pi-dev

6 years agoUsing a list to store usage events
Suprabh Shukla [Wed, 25 Apr 2018 01:52:46 +0000 (18:52 -0700)]
Using a list to store usage events

Moving UsageEvent.Event objects to an array list sorted on the event
timestamps as there can be multiple events with the same timestamps.

Test: atest android.app.usage.EventListTest
Existing tests:
atest android.app.usage.cts.UsageStatsTest

Bug: 74406113
Change-Id: Idc7f2a8db6e5a9499b3b0b74efbf014b17fa495f

6 years agoFix WTF in PendingIntentRecord.unregisterCancelListenerLocked()
Makoto Onuki [Wed, 25 Apr 2018 23:31:05 +0000 (16:31 -0700)]
Fix WTF in PendingIntentRecord.unregisterCancelListenerLocked()

It's possible that detachCancelListenersLocked() has just been called
when unregisterCancelListenerLocked() is called, so need a null check.

Change-Id: If4b18d713595b1cf1a29ba05a3736892b21931a4
Fixes: 78592185
Test: build

6 years agoMerge "Revert "Edit dnd icon in volume dialog"" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 23:31:25 +0000 (23:31 +0000)]
Merge "Revert "Edit dnd icon in volume dialog"" into pi-dev

6 years agoFixes null-ref when trying to start Guest session.
jovanak [Wed, 25 Apr 2018 21:45:18 +0000 (14:45 -0700)]
Fixes null-ref when trying to start Guest session.

CarUserSwitchingDialog threw null-ref because Guest didn't have
a default avatar.

1. Adds null guard in case default avatar is not set.
2. Populates default Guest avatar correctly.

Fixes:77546931
Fixes:78588087
Test: Manual, observing the default icon when starting a guest session.
       Manual, observing the switching dialog icon without a default icon.

Change-Id: Iacbfcc65147fdbc5515c0d96eb613fb17543f6b3

6 years agoMerge "Work on issue #78480444: Start tracking uid state in app ops" into pi-dev
Dianne Hackborn [Wed, 25 Apr 2018 20:59:04 +0000 (20:59 +0000)]
Merge "Work on issue #78480444: Start tracking uid state in app ops" into pi-dev

6 years agoQQS visual fixes.
Amin Shaikh [Wed, 25 Apr 2018 18:48:13 +0000 (14:48 -0400)]
QQS visual fixes.

- Allow QQS header status icon / date view header to expand with larger
font sizes.
- Ensure alarm icon in QQS header does not show without the
corresponding alarm text.
- Fix QQS status bar, icons and QS tile margins.

Change-Id: Icf11fc5c581cb6d3254f6223ba4bcac2879c7f16
Fixes: 78571967
Fixes: 78536526
Fixes: 77123524
Test: visual

6 years agoMerge "Fix floating toolbar menu item spacing." into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 20:13:37 +0000 (20:13 +0000)]
Merge "Fix floating toolbar menu item spacing." into pi-dev

6 years agoUse correct package when pinning a slice
Jason Monk [Tue, 24 Apr 2018 21:01:11 +0000 (17:01 -0400)]
Use correct package when pinning a slice

Test: manual
Bug: 78471335
Change-Id: I170ab553a0cbe9db530b62ba02d1095619efec79

6 years agoRevert "Edit dnd icon in volume dialog"
Beverly Tai [Wed, 25 Apr 2018 18:53:08 +0000 (18:53 +0000)]
Revert "Edit dnd icon in volume dialog"

This reverts commit b36ef4eb5779a03c25d2fbeb283944f93e273583.

Bug: 78554550
Bug: 78275139
Reason for revert: Adds unnecessary spacing when there are multiple volume rows

Change-Id: I8f858b152f92418dce8f1088e892b758baaa2299

6 years agoMerge "Rounded corners can be different on top/bottom" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 19:37:37 +0000 (19:37 +0000)]
Merge "Rounded corners can be different on top/bottom" into pi-dev

6 years agoMerge "Flip task animation direction" into pi-dev
Jorim Jaggi [Wed, 25 Apr 2018 19:20:58 +0000 (19:20 +0000)]
Merge "Flip task animation direction" into pi-dev

6 years agoMerge "Revert "Reset SIM state if the subscription is no longer active."" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 18:55:03 +0000 (18:55 +0000)]
Merge "Revert "Reset SIM state if the subscription is no longer active."" into pi-dev

6 years agoMerge "Always copy SignalIconState when keeping a reference" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 18:43:03 +0000 (18:43 +0000)]
Merge "Always copy SignalIconState when keeping a reference" into pi-dev

6 years agoMerge "Rework Exception Handling for IpSecManager" into pi-dev
Nathan Harold [Wed, 25 Apr 2018 18:34:10 +0000 (18:34 +0000)]
Merge "Rework Exception Handling for IpSecManager" into pi-dev

6 years agoMerge "Update comment for b/75318890 TODO" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 18:09:58 +0000 (18:09 +0000)]
Merge "Update comment for b/75318890 TODO" into pi-dev

6 years agoAutofill: new UX for TV and support themes
Dake Gu [Mon, 16 Apr 2018 19:49:30 +0000 (12:49 -0700)]
Autofill: new UX for TV and support themes

1. Define default Themes for autofill window and save dialog.
   (http://go/theme_autofill). Phone uses light themes, TV uses
   dark themes.
2. Apply autofill theme to RemoteViews passed from autofill service.
   So this can make sure the textColor of RemoteViews matches
   the background of autofill theme uses.
   Updated public javadoc that autofill service should not
   hardcode color values.
3. A new TV ux that occupies half screen height (go/autofill-for-tv).
   TV autofill now passes unhandled physical keyevent to app window
   in the same way phone/tablet does.
4. Fixed ATV autofill window to be SYSTEM_DIALOG, so it wont be
   clipped by app activity window (DialogLauncherActivityTest).

Bug: 71720680
Bug: 74072921
Test: CtsAutofillTest

Change-Id: Ib570227b0958b1800e8f0600b8aec36478568d74

6 years agoIgnore dumpsys -a option
Fyodor Kupolov [Wed, 25 Apr 2018 17:41:01 +0000 (10:41 -0700)]
Ignore dumpsys -a option

Also log unrecognized options, but continue with dumping the state

Test: dumpsys binder_calls_stats -a
Bug: 75318418
Change-Id: If9ad046d64d71cff97006e0a6d9f45c5ea0f23ce

6 years agoRounded corners can be different on top/bottom
Beverly [Wed, 25 Apr 2018 13:19:05 +0000 (09:19 -0400)]
Rounded corners can be different on top/bottom

Test: manual, visual inspection
Bug: 75949920
Change-Id: I1e9a9df0767aa5235e67b752a19c8e4b32701ed1

6 years agoMerge "Temporarily allow StackView to use a canvas.clipRectUnion" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 17:36:47 +0000 (17:36 +0000)]
Merge "Temporarily allow StackView to use a canvas.clipRectUnion" into pi-dev

6 years agoMerge "Add config value for fingerprint gesture support" into pi-dev
Phil Weaver [Wed, 25 Apr 2018 17:35:28 +0000 (17:35 +0000)]
Merge "Add config value for fingerprint gesture support" into pi-dev

6 years agoMerge "Copy links to orginal text in a11y node info" into pi-dev
Phil Weaver [Wed, 25 Apr 2018 17:35:12 +0000 (17:35 +0000)]
Merge "Copy links to orginal text in a11y node info" into pi-dev

6 years agoMerge "A11y isHeading takes old API into account" into pi-dev
Phil Weaver [Wed, 25 Apr 2018 17:34:27 +0000 (17:34 +0000)]
Merge "A11y isHeading takes old API into account" into pi-dev

6 years agoRevert "Reset SIM state if the subscription is no longer active."
Richard Chou [Tue, 24 Apr 2018 03:48:59 +0000 (03:48 +0000)]
Revert "Reset SIM state if the subscription is no longer active."

This reverts commit b1b24e71f55de2bfa2cc8d0ff96ec0ac021e663d.

Reason for revert: This commit will cause side effects with Project Fi. It'd be too risky to solve this issue at the current stage of Android P. Revert first.

Bug: 77579824
Bug: 77702165
Change-Id: I07035a2854427021ac0bfaa9c696daabefe6fd64

6 years agoMerge "Revert "Reset SIM state if the subscription/slot is no longer active."" into...
TreeHugger Robot [Wed, 25 Apr 2018 17:12:20 +0000 (17:12 +0000)]
Merge "Revert "Reset SIM state if the subscription/slot is no longer active."" into pi-dev

6 years agoMerge "DO NOT MERGE Make "Want to start battery saver?" dialog better." into pi-dev
Makoto Onuki [Wed, 25 Apr 2018 16:58:20 +0000 (16:58 +0000)]
Merge "DO NOT MERGE Make "Want to start battery saver?" dialog better." into pi-dev

6 years agoMerge "Ellipsize long QS labels." into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 16:56:37 +0000 (16:56 +0000)]
Merge "Ellipsize long QS labels." into pi-dev

6 years agoUpdate comment for b/75318890 TODO
Ian Pedowitz [Wed, 25 Apr 2018 15:57:54 +0000 (08:57 -0700)]
Update comment for b/75318890 TODO

Bug: 77862563
Bug: 75318890
Test: N/A - comment change
(cherry picked from commit 2333f7cba65a0fc2036bcf0e0b2611ad114d17f7)

Change-Id: I52c9e37e4629d740cb04d552bc967d6b8ec5fba3
Merged-In: Ie48f1df394ccae5420a18260a4eaefe94d84497d

6 years agoAlways copy SignalIconState when keeping a reference
Evan Laird [Wed, 25 Apr 2018 01:11:15 +0000 (21:11 -0400)]
Always copy SignalIconState when keeping a reference

Defensively copy SignalIconState so that StatusBarWifiView and
StatusBarMobileView can properly detect changes to state.

Also don't do visibility changes if setting the same visibleState on
StatusBarWifiView.

Test: turn wifi on and off; verify that it goes away properly in status
bar
Fixes: 78353558
Fixes: 77738471
Fixes: 78050495
Fixes: 78163313

Change-Id: Ie9b9e05885c130c1ec6d6abb9d0567400df23e52

6 years agoMerge "Keyguard: fix possible divergent state" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 15:29:07 +0000 (15:29 +0000)]
Merge "Keyguard: fix possible divergent state" into pi-dev

6 years agoDO NOT MERGE Make "Want to start battery saver?" dialog better.
Makoto Onuki [Fri, 20 Apr 2018 21:04:50 +0000 (14:04 -0700)]
DO NOT MERGE Make "Want to start battery saver?" dialog better.

- Don't line-break in "Battery" (only in English)
- Add "Learn more" link.

Bug: 78261259

Test: Manual test with:
- adb shell dumpsys battery unplug
- adb shell settings delete secure low_power_warning_acknowledged
- Enable battery saver
- Make sure the link is clickable if a link is set.
- Make sure there's no "learn more" link if the link is not set in strings.xml

Change-Id: I83364f628dd596a4d50bf2aca4db7cbfe7cf4909

6 years agoAdd more API accesses from bugreports.
Mathew Inwood [Wed, 25 Apr 2018 15:21:03 +0000 (16:21 +0100)]
Add more API accesses from bugreports.

This includes APIs accessed by 'linking', but only those detected at
runtime (i.e. excluding dex2oat invocations).

Test: m
Bug: 77272253
Bug: 77533294
Bug: 77854069
Bug: 77912264
Bug: 77988118
Bug: 78265113
Bug: 78339426
Bug: 78370565
Bug: 78437948
Bug: 78438386
Bug: 78439315
Bug: 78441396
Bug: 78484047
Bug: 78484886
Bug: 78513977
Bug: 78515673
Bug: 78529635
Change-Id: I9f07b650f565562d43c50e0606ec52a37c797ce7

6 years agoMerge "Move brightness color conversion from SysUI to settingslib" into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 15:07:31 +0000 (15:07 +0000)]
Merge "Move brightness color conversion from SysUI to settingslib" into pi-dev

6 years agoFix floating toolbar menu item spacing.
Abodunrinwa Toki [Wed, 25 Apr 2018 13:07:17 +0000 (14:07 +0100)]
Fix floating toolbar menu item spacing.

We mistakenly changed floating_toolbar_menu_button_side_padding in
I309c729eb842d9388066bfb43eb18f33dbfe10b8 where in fact what we
wanted to do was to just change the mIconTextSpacing.
This cl fixes that.

Change-Id: I1b940eb12d2948f8c167c3f37ed0eba105b9f5ce
Fixes: 74032743
Test: built, observed visual look
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest

6 years agoMerge "Synchronize RootWindowContainerTests" into pi-dev
Chavi Weingarten [Wed, 25 Apr 2018 14:44:17 +0000 (14:44 +0000)]
Merge "Synchronize RootWindowContainerTests" into pi-dev

6 years agoMerge "Potentially fix notification launch animation" into pi-dev
Jorim Jaggi [Wed, 25 Apr 2018 14:17:45 +0000 (14:17 +0000)]
Merge "Potentially fix notification launch animation" into pi-dev

6 years agoMerge "Add new hidden APIs" into pi-dev
David Brazdil [Wed, 25 Apr 2018 13:59:20 +0000 (13:59 +0000)]
Merge "Add new hidden APIs" into pi-dev

6 years agoMerge "Add more light greylist entries." into pi-dev
Mathew Inwood [Wed, 25 Apr 2018 13:41:44 +0000 (13:41 +0000)]
Merge "Add more light greylist entries." into pi-dev

6 years agoMerge "Added OWNERS file to am package." into pi-dev
Wale Ogunwale [Wed, 25 Apr 2018 13:15:07 +0000 (13:15 +0000)]
Merge "Added OWNERS file to am package." into pi-dev

6 years agoAdd new hidden APIs
David Brazdil [Wed, 25 Apr 2018 10:49:16 +0000 (11:49 +0100)]
Add new hidden APIs

Bug: 78552452
Test: make
Change-Id: I73dc97a33b645f6cd9b7bf4a37254737ed3107ce

6 years agoKeyguard: fix possible divergent state
Adrian Roos [Wed, 25 Apr 2018 12:01:11 +0000 (14:01 +0200)]
Keyguard: fix possible divergent state

Fixes an issue where the state in SystemUI and AM/WM could
get out of sync: If the keyguardGoingAway transition is
started and then later canceled by SystemUI, it never
tells AM that it canceled it.
This causes SystemUI to show itself in keyguard mode,
meanwhile AM/WM do not hide the underlying app because
the status bar is in the going away transition as far
as it is concerned.

Change-Id: I5966f0655fd694ae599a83dda7a9f6463088632b
Fixes: 76367931
Test: delay keyguard going away callback, unlock phone, during the delay, remove SIM; verify it does not end up in bad state

6 years agoPipe the user restriction to the admin dialog
Tony Mak [Tue, 24 Apr 2018 14:30:37 +0000 (15:30 +0100)]
Pipe the user restriction to the admin dialog

This change allows us to show different strings for different user
restriction.

Instead of setting DevicePolicyManager.EXTRA_RESTRICTION everywhere
in Settings, EnforcedAdmin object now stores the restriction. So when
we are starting the admin dialog with the EnforcedAdmin object,
we can set the EXTRA_RESTRICTION bit.

Test: make  RunSettingsLibRoboTests
Bug: 78443458

Change-Id: Iabc1629b9ed18f881cdc8c15ec5e49a4b50f76a4

6 years agoMerge "New light grey APIs." into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 09:54:06 +0000 (09:54 +0000)]
Merge "New light grey APIs." into pi-dev

6 years agoMerge "More light grey APIs." into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 09:51:04 +0000 (09:51 +0000)]
Merge "More light grey APIs." into pi-dev

6 years agoMerge "Add more light grey APIs." into pi-dev
TreeHugger Robot [Wed, 25 Apr 2018 09:41:41 +0000 (09:41 +0000)]
Merge "Add more light grey APIs." into pi-dev

6 years agoMerge "Remove unnecessary WTFs from password state check" into pi-dev
Eran Messeri [Wed, 25 Apr 2018 09:28:15 +0000 (09:28 +0000)]
Merge "Remove unnecessary WTFs from password state check" into pi-dev

6 years agoAdd more light grey APIs.
Nicolas Geoffray [Tue, 24 Apr 2018 12:26:45 +0000 (13:26 +0100)]
Add more light grey APIs.

bug: 64382372
Test: m
Change-Id: Ib15b65c376e4038232d4c1e04d10e508b34786af

6 years agoMore light grey APIs.
Nicolas Geoffray [Tue, 24 Apr 2018 12:44:11 +0000 (13:44 +0100)]
More light grey APIs.

bug: 78436346
Test: m
Change-Id: I8bff5332abc93d49170c77fabb589bbcfa9249b6

6 years agoNew light grey APIs.
Nicolas Geoffray [Tue, 24 Apr 2018 13:02:02 +0000 (14:02 +0100)]
New light grey APIs.

bug: 78471731
Test: m
Change-Id: I52f34f735873de485a73169f1ebbffe9484d0fb7

6 years agoRefactor GnssMeasurementsProvider
Yu-Han Yang [Mon, 23 Apr 2018 08:40:25 +0000 (01:40 -0700)]
Refactor GnssMeasurementsProvider

Bug: 77974102
Change-Id: I9d993bd7a4a32ab2eef293c0efae3109348e7577
Fixes: 77974102
Test: m -j ROBOTEST_FILTER=GnssMeasurementsProviderTest RunFrameworksServicesRoboTests

6 years agoMerge "Refactor GnssGeofenceProvider" into pi-dev
Yu-Han Yang [Wed, 25 Apr 2018 03:55:08 +0000 (03:55 +0000)]
Merge "Refactor GnssGeofenceProvider" into pi-dev