OSDN Git Service

android-x86/frameworks-base.git
5 years agoSharesheet - make loading placeholders unclickable
Mike Digman [Fri, 3 May 2019 17:17:35 +0000 (10:17 -0700)]
Sharesheet - make loading placeholders unclickable

The AVD used to animate loading ds targets is build using a
square with a ds shaped cutout. Ripples on touch that go below
the AVD show a square bounding box. This looks awful, prevent
ripples as clicking the placeholder does nothing anyway.

Fixes: 129979593
Test: visual inspection
Change-Id: Id8734f3d92bd104097a60a6aa411be71db3e4efe

5 years agoMerge "Fix misplaced return in RescueParty" into qt-dev
Daniel Rosenberg [Wed, 1 May 2019 19:38:54 +0000 (19:38 +0000)]
Merge "Fix misplaced return in RescueParty" into qt-dev

5 years agoMerge "Added VISIBLE_FOR_USER flag for policy visibility" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 19:34:00 +0000 (19:34 +0000)]
Merge "Added VISIBLE_FOR_USER flag for policy visibility" into qt-dev

5 years agoMerge "Address API conucil feedback" into qt-dev
Svetoslav Ganov [Wed, 1 May 2019 19:02:40 +0000 (19:02 +0000)]
Merge "Address API conucil feedback" into qt-dev

5 years agoMerge "Fix a couple issues with sysui state" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 19:02:20 +0000 (19:02 +0000)]
Merge "Fix a couple issues with sysui state" into qt-dev

5 years agoMerge "Use theme attributes for dual tone icons" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 19:01:31 +0000 (19:01 +0000)]
Merge "Use theme attributes for dual tone icons" into qt-dev

5 years agoMerge "Propagate light nav bar info" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 18:44:39 +0000 (18:44 +0000)]
Merge "Propagate light nav bar info" into qt-dev

5 years agoMerge "Add metrics to CrossProfileApps methods." into qt-dev
Jonathan Scott [Wed, 1 May 2019 18:38:15 +0000 (18:38 +0000)]
Merge "Add metrics to CrossProfileApps methods." into qt-dev

5 years agoMerge "Made sure smart actions now launch also inline same as activity launches"...
Selim Cinek [Wed, 1 May 2019 18:09:15 +0000 (18:09 +0000)]
Merge "Made sure smart actions now launch also inline same as activity launches" into qt-dev

5 years agoMade sure smart actions now launch also inline same as activity launches
Selim Cinek [Tue, 30 Apr 2019 01:42:59 +0000 (18:42 -0700)]
Made sure smart actions now launch also inline same as activity launches

This will make the association with smart actions closer. This changes
the transition when opening an action from a two step close shade - open app
to a direct animation into the app from the notification.

Fixes: 123591046
Test: atest SystemUiTests
Change-Id: I3c92aa20437ca7c37ef27ae6618df1959ef63137

5 years agoMerge "call method with mPackages held" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 18:00:27 +0000 (18:00 +0000)]
Merge "call method with mPackages held" into qt-dev

5 years agoMerge "AudioService: fix mute over CEC" into qt-dev
Eric Laurent [Wed, 1 May 2019 18:00:04 +0000 (18:00 +0000)]
Merge "AudioService: fix mute over CEC" into qt-dev

5 years agoMerge "Add metrics for Delete sim dialogs" into qt-dev
Fan Zhang [Wed, 1 May 2019 17:53:54 +0000 (17:53 +0000)]
Merge "Add metrics for Delete sim dialogs" into qt-dev

5 years agoMerge "Add content descriptions to status bar privacy items" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 17:48:05 +0000 (17:48 +0000)]
Merge "Add content descriptions to status bar privacy items" into qt-dev

5 years agoMerge "Invalidate existing keys when platform_key_generation_id is set" into qt-dev
Annie Meng [Wed, 1 May 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Invalidate existing keys when platform_key_generation_id is set" into qt-dev

5 years agoMerge "Migrate usage of single property lister to multi prop listener." into qt-dev
Matt Pape [Wed, 1 May 2019 17:20:12 +0000 (17:20 +0000)]
Merge "Migrate usage of single property lister to multi prop listener." into qt-dev

5 years agoMerge "Un-deprecate PackageManager.replacePreferredActivity." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 16:57:06 +0000 (16:57 +0000)]
Merge "Un-deprecate PackageManager.replacePreferredActivity." into qt-dev

5 years agoMerge "add dump to MultiClientInputMethodManagerService" into qt-dev
Keun-young Park [Wed, 1 May 2019 16:50:45 +0000 (16:50 +0000)]
Merge "add dump to MultiClientInputMethodManagerService" into qt-dev

5 years agoMerge "Re-enable dismiss in any direction" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 16:23:25 +0000 (16:23 +0000)]
Merge "Re-enable dismiss in any direction" into qt-dev

5 years agoMerge "Fixed autofill multi-sessions workflow so it only merge sessions flagged with...
TreeHugger Robot [Wed, 1 May 2019 16:15:48 +0000 (16:15 +0000)]
Merge "Fixed autofill multi-sessions workflow so it only merge sessions flagged with FLAG_DELAY_SAVE." into qt-dev

5 years agoAudioService: fix mute over CEC
Eric Laurent [Wed, 1 May 2019 01:34:01 +0000 (18:34 -0700)]
AudioService: fix mute over CEC

Fix conversion of adjust direction to keycode in
ajustStreamVolume() before sending them to HdmiPlaybackClient:
mute adjusts should be ignored except for toggle mute.

Bug: 129778057
Test: make
Change-Id: I64984ea4dd975eed2dba8feafbc486f056a15773

5 years agoMerge "Remove STOPSHIP code from CarrierTextControllerTest" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 15:23:47 +0000 (15:23 +0000)]
Merge "Remove STOPSHIP code from CarrierTextControllerTest" into qt-dev

5 years agoMerge changes from topic "wd-flags" into qt-dev
Shafik Nassar [Wed, 1 May 2019 15:00:41 +0000 (15:00 +0000)]
Merge changes from topic "wd-flags" into qt-dev

* changes:
  Update PackageWatchdogTest
  Make PackageWatchdog variables configurable

5 years agoAdd content descriptions to status bar privacy items
Evan Laird [Mon, 22 Apr 2019 22:01:45 +0000 (18:01 -0400)]
Add content descriptions to status bar privacy items

Fixes: 127426607
Test: talkback works
Change-Id: Id409ce5a5eefdafaa90835652cb12bbb4e0ae09f

5 years agoMerge "Fix device not rebooting after watchdog triggered staged rollback" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 14:48:41 +0000 (14:48 +0000)]
Merge "Fix device not rebooting after watchdog triggered staged rollback" into qt-dev

5 years agoRe-enable dismiss in any direction
Evan Laird [Wed, 24 Apr 2019 19:22:24 +0000 (15:22 -0400)]
Re-enable dismiss in any direction

Removes dependence on NotificationUtils#useNewInterruptionModel with
regards to swipe direction, but we can still bring it back in the future

Test: swipe notification away to the left
Fixes: 131241720
Bug: 131242807
Change-Id: I7b94057e8b7894186496060a154b053d874a0304

5 years agoMerge "Fix idle maintenance wrt checkpoint check" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 14:18:01 +0000 (14:18 +0000)]
Merge "Fix idle maintenance wrt checkpoint check" into qt-dev

5 years agoMerge "Set limit of Carrier name marquee to forever" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 13:55:21 +0000 (13:55 +0000)]
Merge "Set limit of Carrier name marquee to forever" into qt-dev

5 years agoMerge "Optimize FileSystemProvider.includeFile" into qt-dev
Anton Hansson [Wed, 1 May 2019 13:51:31 +0000 (13:51 +0000)]
Merge "Optimize FileSystemProvider.includeFile" into qt-dev

5 years agoMerge "Sharesheet - Font updates" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 13:41:31 +0000 (13:41 +0000)]
Merge "Sharesheet - Font updates" into qt-dev

5 years agoMerge "Sharesheet - Talkback fixes" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 13:00:30 +0000 (13:00 +0000)]
Merge "Sharesheet - Talkback fixes" into qt-dev

5 years agoMerge changes from topic "sys_win_trust_sys_display" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 13:00:23 +0000 (13:00 +0000)]
Merge changes from topic "sys_win_trust_sys_display" into qt-dev

* changes:
  Don't allow showing IME on untrusted virtual displays
  Don't allow showing wallpapers on untrusted virtual displays

5 years agoMerge "Sharesheet - Fix profile switch ripple" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 12:40:19 +0000 (12:40 +0000)]
Merge "Sharesheet - Fix profile switch ripple" into qt-dev

5 years agoUpdate PackageWatchdogTest
shafik [Wed, 24 Apr 2019 09:31:54 +0000 (10:31 +0100)]
Update PackageWatchdogTest

Make PackageWatchdogTest compatible to the changes that added
DeviceConfig flags to PackageWatchdog. This includes:
    * Make PackageWatchdog#setExplicitHealthCheckEnabled private and
    use DeviceConfig mechanism for changing that value instead
    * Disable TestLooper#startAutoDispatch
    * Other minor refinements that solve compatibility issues

Bug: 129335707
Test: atest com.android.server.PackageWatchdogTest
Merged-In: I7323dc65ec2957aeab128224864441bdf63c6f81

Change-Id: I7323dc65ec2957aeab128224864441bdf63c6f81

5 years agoMake PackageWatchdog variables configurable
Zimuzo [Fri, 5 Apr 2019 16:24:29 +0000 (17:24 +0100)]
Make PackageWatchdog variables configurable

We leverage DeviceConfig to configure the following variables:
    watchdog_trigger_failure_duration_millis
    watchdog_trigger_failure_count
    watchdog_explicit_health_check_enabled
    watchdog_explicit_health_check_timeout_millis

Fix PackageWatchdogTest accordingly.

Bug: 129335707
Test: added Log to PackageWatchdog that prints the received
value from DeviceConfig and made sure it matches the expected
Test: atest com.android.server.PackageWatchdogTest
Merged-In: I8a57b87682a4c636a61afdd7f93700459ccfddeb

Change-Id: I8a57b87682a4c636a61afdd7f93700459ccfddeb

5 years agoMerge "Fix for client tracking on bind to service." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 12:20:31 +0000 (12:20 +0000)]
Merge "Fix for client tracking on bind to service." into qt-dev

5 years agoMerge "If the ServiceRecord already has a ProcessRecord attached in startServiceLocke...
Alan Stokes [Wed, 1 May 2019 11:53:39 +0000 (11:53 +0000)]
Merge "If the ServiceRecord already has a ProcessRecord attached in startServiceLocked(), whitelist the process at that point (previously we'd just set the valiable to true, and not add the token)" into qt-dev

5 years agoMerge "Make NetworkStack actually build in an unbundled setup." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 11:36:20 +0000 (11:36 +0000)]
Merge "Make NetworkStack actually build in an unbundled setup." into qt-dev

5 years agoMerge "Increase RescueParty boot loop detection window from 5 to 10 mins." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 11:28:09 +0000 (11:28 +0000)]
Merge "Increase RescueParty boot loop detection window from 5 to 10 mins." into qt-dev

5 years agoMerge "Suppress transition when mCancelWithDeferredScreenshot as true." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 11:18:20 +0000 (11:18 +0000)]
Merge "Suppress transition when mCancelWithDeferredScreenshot as true." into qt-dev

5 years agoMerge "Remove the Build.VERSION_CODES.P0" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 10:17:30 +0000 (10:17 +0000)]
Merge "Remove the Build.VERSION_CODES.P0" into qt-dev

5 years agoMake NetworkStack actually build in an unbundled setup.
Lorenzo Colitti [Wed, 1 May 2019 02:54:33 +0000 (11:54 +0900)]
Make NetworkStack actually build in an unbundled setup.

The Java code was already using sdk_version: "current", but the
JNI library did not have an sdk_version attribute, and had
forbidden dependencies on internal libraries such as libcutils,
liblog and libnativehelper.

This CL fixes things as follows:
- Use the NDK log functions, and switch to the NDK liblog.
- Switch to the NDK libnativehelper.
- Drop the dependencies on libcutils and libpcap, which were
  unused.
- Use the libc++ STL, and set the sdk_version of the library to
  current.

Bug: 131703417
Test: m
Test: installed NetworkStack APK via "adb install --staged" results in working networking
Test: builds, boots, wifi works
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I1a7bd7fe2809b90a66073d8c5d5dcdff646c4286

5 years agoFix for client tracking on bind to service.
Alan Stokes [Mon, 29 Apr 2019 12:51:18 +0000 (13:51 +0100)]
Fix for client tracking on bind to service.

We were not correctly updating the bound client UIDs when binding to a
service with an already-running process. This could result in a
background activity start by the app hosting the service being
incorrectly blocked.

(Also includes a drive-by fix of a potential NPE.)

Bug: 131468397
Test: Manually verified YouTube VR problem is fixed.
Test: atest BackgroundActivityLaunchTest
Test: atest RootWindowContainerTests
Test: atest WmTests:ActivityStarterTests
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Test: atest CtsAppTestCases:.ServiceTest
Change-Id: I153cf3678f10439075af39a8bd88ff8d492e1ffe

5 years agoMerge "Revert "Tempoarily allow priv-apps access to device identifiers"" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 09:05:42 +0000 (09:05 +0000)]
Merge "Revert "Tempoarily allow priv-apps access to device identifiers"" into qt-dev

5 years agoMerge "Creating separate flags for Time/QuotaControllers." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 08:54:29 +0000 (08:54 +0000)]
Merge "Creating separate flags for Time/QuotaControllers." into qt-dev

5 years agoMerge "Add install download failure enum" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 08:49:20 +0000 (08:49 +0000)]
Merge "Add install download failure enum" into qt-dev

5 years agoAdd metrics to CrossProfileApps methods.
Jonathan Scott [Mon, 29 Apr 2019 10:45:01 +0000 (11:45 +0100)]
Add metrics to CrossProfileApps methods.

Fixes: 123864184
Test: atest CrossProfileAppsHostSideTest
Change-Id: I13c53c7eada4b7d0dd5edc2b378b589bc4ec1f45

5 years agoMerge "Remove burn in offset on lock screen." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 08:08:19 +0000 (08:08 +0000)]
Merge "Remove burn in offset on lock screen." into qt-dev

5 years agoMerge "Adb command for binary push logging" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 07:58:18 +0000 (07:58 +0000)]
Merge "Adb command for binary push logging" into qt-dev

5 years agoMerge changes from topic "p4_default_gestural_nav" into qt-dev
Winson Chung [Wed, 1 May 2019 04:13:08 +0000 (04:13 +0000)]
Merge changes from topic "p4_default_gestural_nav" into qt-dev

* changes:
  Defer applying gestural nav until the device is provisioned and user is setup
  Exposing default theme overlays to system callers

5 years agoFix misplaced return in RescueParty
Daniel Rosenberg [Wed, 1 May 2019 02:49:39 +0000 (19:49 -0700)]
Fix misplaced return in RescueParty

"Make RescueParty not wipe if checkpointing" contained an incorrect
return statement, causing the last level of RescueParty to not execute
if checkpointing is not active. This fixes that error

Test: setprop persist.sys.enable_rescue 1
      Set device to not commit checkpoints
      adb shell setprop debug.crash_sysui 1
      adb shell stop
      adb shell start
      Rescue Party causes wipe prompt
Bug: 131721345
Change-Id: I9376020355b80a4e830e6884b92ade9ad11dc8ee

5 years agoMerge "improve mism support for phonestatelistner" into qt-dev
Chen Xu [Wed, 1 May 2019 02:44:28 +0000 (02:44 +0000)]
Merge "improve mism support for phonestatelistner" into qt-dev

5 years agoCreating separate flags for Time/QuotaControllers.
Kweku Adams [Thu, 25 Apr 2019 01:01:29 +0000 (18:01 -0700)]
Creating separate flags for Time/QuotaControllers.

TimeController and QuotaController flags don't have to be changed
atomically with other JobScheduler constants, so it's best to have them
be separate. I think it's best to have the QuotaController constant
change be atomic, which is why the flag is set up as a key/value pair.

Bug: 120793892
Test: atest android.provider.SettingsBackupTest
Test: atest com.android.server.job.controllers.ConnectivityControllerTest
Test: atest com.android.server.job.controllers.QuotaControllerTest
Test: atest com.android.server.job.controllers.StateControllerTest
Test: atest com.android.server.job.controllers.TimeControllerTest
Test: atest CtsJobSchedulerTestCases
Change-Id: I5bf20c37ea87a58bbcf4326f8e81cd6bea0a7c08

5 years agoMerge "Do not show bouncer field when bouncer is hidden" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 01:28:27 +0000 (01:28 +0000)]
Merge "Do not show bouncer field when bouncer is hidden" into qt-dev

5 years agoMerge "Marked some WM flaky tests as such" into qt-dev
Wale Ogunwale [Wed, 1 May 2019 01:16:59 +0000 (01:16 +0000)]
Merge "Marked some WM flaky tests as such" into qt-dev

5 years agoUse theme attributes for dual tone icons
Lucas Dupin [Wed, 1 May 2019 01:11:34 +0000 (18:11 -0700)]
Use theme attributes for dual tone icons

Partial revert of ag/4862272

Fixes: 130621434
Test: look at status bar with dark theme on and off
Test: look at status bar with light or dark wallpaper
Change-Id: Ifde5c27241bfe2f7bc0350e99fc090914beef2a0

5 years agoAdd install download failure enum
Tej Singh [Tue, 30 Apr 2019 19:54:21 +0000 (12:54 -0700)]
Add install download failure enum

Add install download failure to binary push and train info enums.

Test: builds
Bug: 131698812
Change-Id: I4e089e4a6af45fffa70114eac290b63950e354db

5 years agoAdb command for binary push logging
Tej Singh [Wed, 1 May 2019 00:45:54 +0000 (17:45 -0700)]
Adb command for binary push logging

Adds an adb command to log binary push funnel events.

Test: adb shell cmd stats log-binary-push
Bug: 131699167
Fixes: 131699167
Change-Id: I8c48a1b1fa61ed7d0e908882c2b0ca8cb78ede71

5 years agoMerge "Fix alarm text in QSHeader to use PendingIntent" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 00:30:21 +0000 (00:30 +0000)]
Merge "Fix alarm text in QSHeader to use PendingIntent" into qt-dev

5 years agoMerge "Remove interaction flag code replaced by QuickStepContract (1/2)" into qt-dev
TreeHugger Robot [Wed, 1 May 2019 00:18:35 +0000 (00:18 +0000)]
Merge "Remove interaction flag code replaced by QuickStepContract (1/2)" into qt-dev

5 years agoMerge changes I2b059826,I64bee605 into qt-dev
TreeHugger Robot [Wed, 1 May 2019 00:14:53 +0000 (00:14 +0000)]
Merge changes I2b059826,I64bee605 into qt-dev

* changes:
  Sharesheet - make az list label disappear with use
  Sharesheet - add a-z list label

5 years agoMerge "Fix periodic job scheduling." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 00:13:54 +0000 (00:13 +0000)]
Merge "Fix periodic job scheduling." into qt-dev

5 years agoadd dump to MultiClientInputMethodManagerService
Keun young Park [Tue, 30 Apr 2019 00:54:11 +0000 (17:54 -0700)]
add dump to MultiClientInputMethodManagerService

Bug: 131619304
Test: adb shell dumpsys input_method

Change-Id: I163687baeaed9a6d47ef6758834a00a6f3f640ba

5 years agoMerge "Reduce padding below small, bold digital clock." into qt-dev
TreeHugger Robot [Wed, 1 May 2019 00:00:51 +0000 (00:00 +0000)]
Merge "Reduce padding below small, bold digital clock." into qt-dev

5 years agoMerge "Move timeout from RankerResolverServiceComparator to abstract class." into...
TreeHugger Robot [Wed, 1 May 2019 00:00:33 +0000 (00:00 +0000)]
Merge "Move timeout from RankerResolverServiceComparator to abstract class." into qt-dev

5 years agoMerge "Keep finalized staged sessions in session database" into qt-dev
Dario Freni [Tue, 30 Apr 2019 23:46:07 +0000 (23:46 +0000)]
Merge "Keep finalized staged sessions in session database" into qt-dev

5 years agoMerge "Enable upgrading persistent APKs on boot." into qt-dev
Dario Freni [Tue, 30 Apr 2019 23:43:24 +0000 (23:43 +0000)]
Merge "Enable upgrading persistent APKs on boot." into qt-dev

5 years agoMerge "Freeze networkstack-aidl-interfaces as version 3." into qt-dev
Lorenzo Colitti [Tue, 30 Apr 2019 23:33:10 +0000 (23:33 +0000)]
Merge "Freeze networkstack-aidl-interfaces as version 3." into qt-dev

5 years agoAdd plugin to list before sending PLUGIN_CONNECTED
Beverly [Tue, 30 Apr 2019 17:15:16 +0000 (13:15 -0400)]
Add plugin to list before sending PLUGIN_CONNECTED

Test: manual
Fixes: 130527695
Change-Id: Ia40c25bc86aff18ed56399da89b6fdcc8a8d653f

5 years agoMerge "Another guts redesign" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 23:22:53 +0000 (23:22 +0000)]
Merge "Another guts redesign" into qt-dev

5 years agoMerge changes from topic "ActivationType" into qt-dev
Muhammad Qureshi [Tue, 30 Apr 2019 23:21:17 +0000 (23:21 +0000)]
Merge changes from topic "ActivationType" into qt-dev

* changes:
  Add ActivationType to EventActivation
  Save EventActivations to disk

5 years agoMerge "Sharesheet - Bump up limit for shortcuts" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 23:19:37 +0000 (23:19 +0000)]
Merge "Sharesheet - Bump up limit for shortcuts" into qt-dev

5 years agoMerge "Populate active apexes cache in a background thread" into qt-dev
Nikita Ioffe [Tue, 30 Apr 2019 23:16:45 +0000 (23:16 +0000)]
Merge "Populate active apexes cache in a background thread" into qt-dev

5 years agoMerge "Defining intent actions for enabling MMS setting." into qt-dev
Xiangyu/Malcolm Chen [Tue, 30 Apr 2019 23:05:25 +0000 (23:05 +0000)]
Merge "Defining intent actions for enabling MMS setting." into qt-dev

5 years agoRevert "Tempoarily allow priv-apps access to device identifiers"
Michael Groover [Tue, 30 Apr 2019 23:00:01 +0000 (16:00 -0700)]
Revert "Tempoarily allow priv-apps access to device identifiers"

This reverts commit 6e96da2927da7442bb067453a244ad0ceeefc13e.

Reason for revert: Play and MTP/PTP issues have been resolved,
restoring device identifier access restrictions for priv apps.

Bug: 117781266
Test: cts-tradefed run cts-dev -m CtsTelephony3TestCases
Change-Id: I7ab432cfa92b6da65137608fc9d435d8296ffb84

5 years agoMarked some WM flaky tests as such
Wale Ogunwale [Tue, 30 Apr 2019 22:55:05 +0000 (15:55 -0700)]
Marked some WM flaky tests as such

Bug: 131005232
Test: self
Change-Id: I59139bd1821bf63342db90c4739d60389d57e0db

5 years agoMerge "Check return values for native setCallback() methods" into qt-dev
Anil Admal [Tue, 30 Apr 2019 22:55:00 +0000 (22:55 +0000)]
Merge "Check return values for native setCallback() methods" into qt-dev

5 years agoimprove mism support for phonestatelistner
chen xu [Thu, 28 Mar 2019 22:44:12 +0000 (15:44 -0700)]
improve mism support for phonestatelistner

1. from Q forward, throw exception if use constructor with subId
2. from Q forward pass subId from TelephonyManager to telephonyregistry.
3. update API in systemUI and other components.

Bug: 117555407
Test: Manual mism test
Change-Id: Ic139a3739e5d86d07a6093bdbe6350001a756f60

5 years agoDo not show bouncer field when bouncer is hidden
Lucas Dupin [Tue, 30 Apr 2019 22:33:28 +0000 (15:33 -0700)]
Do not show bouncer field when bouncer is hidden

Fixes: 131187491
Test: add locked sim card, go to AOD
Test: unlock sim card, look at lock screen
Test: swipe up to unlock, enter wrong pattern
Change-Id: I6c4ad61879c71734e198590b39f7b25cc127198e

5 years agoMerge "Don't trigger data alert before carrier configs load." into qt-dev
Ammar Aijazi [Tue, 30 Apr 2019 22:39:44 +0000 (22:39 +0000)]
Merge "Don't trigger data alert before carrier configs load." into qt-dev

5 years agoMerge "Do not show padlock when charging" into qt-dev
Lucas Dupin [Tue, 30 Apr 2019 22:37:27 +0000 (22:37 +0000)]
Merge "Do not show padlock when charging" into qt-dev

5 years agoMerge "Change margin to padding in quick_qs_status_icons" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 22:15:34 +0000 (22:15 +0000)]
Merge "Change margin to padding in quick_qs_status_icons" into qt-dev

5 years agoMerge "Remove LOCAL_CERTIFICATE := platform from overlay packages" into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 21:53:54 +0000 (21:53 +0000)]
Merge "Remove LOCAL_CERTIFICATE := platform from overlay packages" into qt-dev

5 years agoMerge "Revert "Add useSystemProvidedLauncherForSecondary config"" into qt-dev
Wale Ogunwale [Tue, 30 Apr 2019 21:53:01 +0000 (21:53 +0000)]
Merge "Revert "Add useSystemProvidedLauncherForSecondary config"" into qt-dev

5 years agoRevert "Add useSystemProvidedLauncherForSecondary config"
Wale Ogunwale [Tue, 30 Apr 2019 21:51:47 +0000 (21:51 +0000)]
Revert "Add useSystemProvidedLauncherForSecondary config"

This reverts commit 4626518fcd65b8b0698e45c1faca4d3e77d0cef3.

Reason for revert: Broke RootActivityContainerTests.testStartHomeOnAllDisplays

Bug: 131112301
Change-Id: I87b574ff4d289d159aeea4312dc0ad0c64b414ac

5 years agoReduce padding below small, bold digital clock.
Robert Snoeberger [Tue, 30 Apr 2019 21:38:05 +0000 (17:38 -0400)]
Reduce padding below small, bold digital clock.

The grow transition looks bad due to clipping of the
text clock, but it is taking too long to understand the
issue. So, I want to get this padding change in and the
transition polish can follow.

Bug: 130223602
Test: visual -- look at AOD with music playing
Change-Id: I28cfecefeea55f49ee7843f0b1f07a206852dc54

5 years agoPropagate light nav bar info
Tarandeep Singh [Mon, 22 Apr 2019 19:28:43 +0000 (12:28 -0700)]
Propagate light nav bar info

When SystemUI (notification UI) is pulled down, the windows behind are
dimmed, including navigation bar. At this point of time, navigationbar
color could be controlled by IME and system overrides it.
With this fix, we check if IME is already controlling navbar color.

Change-Id: I9f25860a5b7858f1d17d2921816910a938c656bb
Fix: 122439339
Test: Manually verified using steps in bug.

5 years agoSharesheet - Bump up limit for shortcuts
Matt Pietal [Tue, 30 Apr 2019 17:36:49 +0000 (13:36 -0400)]
Sharesheet - Bump up limit for shortcuts

Allow apps to provide more targets via shortcut API, and allow AIAI
or default ranker to order them appropriately.

Bug: 130812721
Test: Visual inspection using Messages which has Shortcuts!
Change-Id: I4b16f3317056a2c5daad9b0576c22faa7ad3ca7b

5 years agoMerge "notify on all the subIds with carrier privileges" into qt-dev
Chen Xu [Tue, 30 Apr 2019 21:28:11 +0000 (21:28 +0000)]
Merge "notify on all the subIds with carrier privileges" into qt-dev

5 years agoFix a couple issues with sysui state
Winson Chung [Tue, 30 Apr 2019 18:11:47 +0000 (11:11 -0700)]
Fix a couple issues with sysui state

- Ensure that we only set the sysui state on the default display for the
  time being since gesture nav only really works for the default display
- Update the overview proxy service of the nav bar fragment window state
  whenever it is recreated
- Remove the screen pinning flag usage as there is no callback to
  accurately ensure that this flag is always up to date (launcher will
  have to use the activity manager call whenever it needs to check
  it for now)

Bug: 131552865
Test: Manual

Change-Id: I524f67f4fb6eb73e6e07454d9eb0c03d3ffb53af

5 years agoMove timeout from RankerResolverServiceComparator to abstract class.
George Hodulik [Mon, 29 Apr 2019 21:55:48 +0000 (14:55 -0700)]
Move timeout from RankerResolverServiceComparator to abstract class.

BUG:129014961
Test: atest frameworks/base/core/tests/coretests/src/com/android/internal/app
Change-Id: Ia34e938e4e641a134cbc8bff3419d25f09f0370d

5 years agoFix idle maintenance wrt checkpoint check
Paul Lawrence [Tue, 30 Apr 2019 18:14:25 +0000 (11:14 -0700)]
Fix idle maintenance wrt checkpoint check

By calling out to needsCheckpoint and supportsBlockCheckpoint, we
inadvertently added the need for system permission to idleMain.
Relax these permissions.

Test: sm idle-maint run fails without this change, passes with
Bug: 131680526
Change-Id: I3202ca5d818a90d72cce8cdb2c634b21ba308715
(cherry picked from commit eb4f12ca8d5a4cd22f6527d310f9226e7f22abac)

5 years agoMerge "Improved the haptic feedback for the edge swipe gesture" into qt-dev
Selim Cinek [Tue, 30 Apr 2019 20:31:59 +0000 (20:31 +0000)]
Merge "Improved the haptic feedback for the edge swipe gesture" into qt-dev

5 years agoMerge "Fix WFC location privacy carrier config" into qt-dev
Hall Liu [Tue, 30 Apr 2019 20:00:18 +0000 (20:00 +0000)]
Merge "Fix WFC location privacy carrier config" into qt-dev

5 years agoDefer applying gestural nav until the device is provisioned and user is setup
Winson Chung [Tue, 16 Apr 2019 00:39:49 +0000 (17:39 -0700)]
Defer applying gestural nav until the device is provisioned and user is setup

- When SystemUI detects that the device is not provisioned (first boot) or
  the user is not setup (multiuser), we revert to 3button until both
  states are true (usually after setup wizard).  This only happens when
  the default navigation mode of the device is gestural.

Bug: 130185871
Test: Setup a new device and ensure the nav mode is 3 button during SUW

Change-Id: Ia243aa9ebd4a1198b2e06020367625936d1d3f3d

5 years agoMerge "BubbleData [7/n]: BubbleData impl and tests!!" into qt-dev
Mark Renouf [Tue, 30 Apr 2019 19:11:04 +0000 (19:11 +0000)]
Merge "BubbleData [7/n]: BubbleData impl and tests!!" into qt-dev

5 years agoFix periodic job scheduling.
Kweku Adams [Tue, 30 Apr 2019 18:54:48 +0000 (11:54 -0700)]
Fix periodic job scheduling.

If a periodic job was run outside of its expected window (eg: because of
Doze mode or its constraints were unmet for a long time), then
JobSchedulerService would schedule the next one with a window starting
right now, which could cause the job to run again immediately.
This change addresses the issue by:
1. Switching to having consistent windows based on when the job was
scheduled. This also helps developers know when to expect jobs to run.
2. If a job runs in a different window, its run counts toward that
window instead.
3. For jobs with a custom flex setting, the next window is skipped if
the job is run to close to the next window.

Bug: 123248627
Test: atest com.android.server.job.JobSchedulerServiceTest
Test: atest CtsJobSchedulerTestCases
Change-Id: Ic18929e9d03e704ec43aa50fe37c64cd6807cf68

5 years agoMerge "Update ViewState value when it's clicked again." into qt-dev
TreeHugger Robot [Tue, 30 Apr 2019 18:32:14 +0000 (18:32 +0000)]
Merge "Update ViewState value when it's clicked again." into qt-dev

5 years agoEnable upgrading persistent APKs on boot.
Dario Freni [Tue, 30 Apr 2019 17:58:57 +0000 (18:58 +0100)]
Enable upgrading persistent APKs on boot.

Bug: 131046856
Test: marked the NetworkStack APK as persistent, verified that
without this patch:
  - adb install networkstack.apk fails
  - adb install --staged networkstack.apk fails (after reboot)
with this patch:
  - adb install networkstack.apk fails
  - adb install --staged networkstack.apk succeds (after reboot)
Change-Id: I346d772e1f4aed94f6faead3b6455efc4666b651

5 years agoRemove LOCAL_CERTIFICATE := platform from overlay packages
Hyunyoung Song [Tue, 30 Apr 2019 18:23:36 +0000 (11:23 -0700)]
Remove LOCAL_CERTIFICATE := platform from overlay packages

Bug: 129376306
Test: builds and runs

$ find . -name Android.mk | xargs sed -i 's/LOCAL_CERTIFICATE.*//g'

Change-Id: I70cb4719e6b675477b858f043f31095a9dedbdcd