OSDN Git Service

android-x86/frameworks-base.git
6 years agoIntroduce getProfileSwitchingIcon/Label In CrossProfileApps
Tony Mak [Wed, 29 Nov 2017 21:00:30 +0000 (21:00 +0000)]
Introduce getProfileSwitchingIcon/Label In CrossProfileApps

Leave the resource retrieval part in client side to avoid passing
drawable across process boundary which should be bad for performance.

The verification part is done in client side, so in theory, apps can work
around the verification. That said, the strings and drawables
are not secret anyway, they are just a generic icon / label to represent
the user. Also, they can always retrieve them by using getDrawable
anyway.

BUG: 67765768
Test: bit FrameworksCoreTests:android.content.pm.crossprofile.CrossProfileAppsTest

Change-Id: I44a7ba17ecc81d0d366184b2d411caa7a82de3ef

6 years agoMerge "Enable Recents activity in LockTask mode."
Charles He [Wed, 29 Nov 2017 19:29:50 +0000 (19:29 +0000)]
Merge "Enable Recents activity in LockTask mode."

6 years agoMerge "Define colorBackground for Theme.DeviceDefault.Settings."
TreeHugger Robot [Wed, 29 Nov 2017 18:59:42 +0000 (18:59 +0000)]
Merge "Define colorBackground for Theme.DeviceDefault.Settings."

6 years agoMerge "Track some event history and include it in netpolicy dump."
Sudheer Shanka [Wed, 29 Nov 2017 18:35:39 +0000 (18:35 +0000)]
Merge "Track some event history and include it in netpolicy dump."

6 years agoMerge "Add route for rotation suggestions from StatusBar to CommandQueue"
Mike Digman [Wed, 29 Nov 2017 18:10:06 +0000 (18:10 +0000)]
Merge "Add route for rotation suggestions from StatusBar to CommandQueue"

6 years agoMerge "Adding GNSS Model & Version String"
TreeHugger Robot [Wed, 29 Nov 2017 17:53:02 +0000 (17:53 +0000)]
Merge "Adding GNSS Model & Version String"

6 years agoMerge "Always draw render node with a non-empty projected display list"
TreeHugger Robot [Wed, 29 Nov 2017 17:06:50 +0000 (17:06 +0000)]
Merge "Always draw render node with a non-empty projected display list"

6 years agoEnable Recents activity in LockTask mode.
Charles He [Wed, 1 Nov 2017 10:05:51 +0000 (10:05 +0000)]
Enable Recents activity in LockTask mode.

In P, we introduce DevicePolicyManager.setLockTaskFeatures() API, which
lets the DPC enable the SystemUI Recents activity in LockTask mode. To
do this, we

1) Allow recents activity in LockTaskController (otherwise it'll be
blocked from starting as it's not whitelisted)

2) Clear the RecentTasks list, so that only whitelisted tasks remain in
the list (and therefore the recents UI)

Note that 2) is done even when Recents isn't enabled through the
setLockTaskFeatures() API.

Bug: 68238765
Test: runtest systemui
Test: bit FrameworksServicesTests:com.android.server.am.LockTaskControllerTest
Test: CTS verifier > CTS verifier > Managed provisioning > Device owner tests
      > LockTask UI
Change-Id: I63c524c4d9a68b87a63cecf1642ecebd94aa2bb0

6 years agoMerge "Add a settings entry to enable UTC to be selected"
Neil Fuller [Wed, 29 Nov 2017 16:42:41 +0000 (16:42 +0000)]
Merge "Add a settings entry to enable UTC to be selected"

6 years agoMerge "Add ability to customize button corner radius."
TreeHugger Robot [Wed, 29 Nov 2017 16:14:50 +0000 (16:14 +0000)]
Merge "Add ability to customize button corner radius."

6 years agoMerge "Don't keep sensor listener while screen is off."
Kenny Guy [Wed, 29 Nov 2017 16:13:49 +0000 (16:13 +0000)]
Merge "Don't keep sensor listener while screen is off."

6 years agoAlways draw render node with a non-empty projected display list
Yuqian Li [Wed, 29 Nov 2017 14:53:06 +0000 (09:53 -0500)]
Always draw render node with a non-empty projected display list

(cherry picked from commit f701ad3b4b43ea3c26d5881652a840120fca222d)

Test: tested lockscreen ripple on taimen-eng

Bug: 68859852
Change-Id: I234bba143dd4bbd5e6895dd2534eafb012ea1f16

6 years agoAdd ability to customize button corner radius.
Andrew Sapperstein [Thu, 16 Nov 2017 02:06:51 +0000 (18:06 -0800)]
Add ability to customize button corner radius.

Creates a new buttonCornerRadius public attribute to control
the rounded corner radius for buttons at the theme level.

Updates default button backgrounds to use new value and updates
themes to set the corner radius to existing value of 2dp.

Also adds a configuration hook for a device to change the value
for DeviceDefault-based themes.

Bug: 64122537
Bug: 69314526
Bug: 69367197
Test: ag/3238215
Change-Id: I00be0c53b99292e1728ecdf40d4c876e283e65da

6 years agoDon't keep sensor listener while screen is off.
Kenny Guy [Wed, 29 Nov 2017 12:12:06 +0000 (12:12 +0000)]
Don't keep sensor listener while screen is off.

Register / unregister on screen off / on intents.

Bug: 69564178
Test: runtest -c com.android.server.display.BrightnessTrackerTest frameworks-service
Test: manual, turn on/off screen and check adb shell dumpsys sensorservice
Change-Id: I7bfb6b35108887baf40d9134d16d13a9f5aa839f

6 years agoMerge "Working around a crash when transforming groups"
Selim Cinek [Wed, 29 Nov 2017 11:51:48 +0000 (11:51 +0000)]
Merge "Working around a crash when transforming groups"

6 years agoMerge changes I2d517a2b,Ia59e2d97,Id98763d8,Ie3f57dd4,Ib5ddee5c, ...
TreeHugger Robot [Wed, 29 Nov 2017 11:31:55 +0000 (11:31 +0000)]
Merge changes I2d517a2b,Ia59e2d97,Id98763d8,Ie3f57dd4,Ib5ddee5c, ...

* changes:
  Fixed a bug where messages could be invisible
  Implemented rounded clipping for groups
  Added padding between notifications and qs on lockscreen
  Insetting notifications on the lock screen
  Increased the notification paddings
  Implemented animations for rounding
  Refactored PropertyAnimator for easier usability
  Implemented rounded corners for notifications

6 years agoMerge "Fix user color overlay is not applied"
TreeHugger Robot [Wed, 29 Nov 2017 11:13:15 +0000 (11:13 +0000)]
Merge "Fix user color overlay is not applied"

6 years agoMerge "Added new android.test.base targets"
Paul Duffin [Wed, 29 Nov 2017 10:24:47 +0000 (10:24 +0000)]
Merge "Added new android.test.base targets"

6 years agoMerge "Fixed an issue where a shelf icon could be white"
Selim Cinek [Wed, 29 Nov 2017 10:06:56 +0000 (10:06 +0000)]
Merge "Fixed an issue where a shelf icon could be white"

6 years agoMerge "Update adb command to remove all configs from statsd"
TreeHugger Robot [Wed, 29 Nov 2017 09:04:40 +0000 (09:04 +0000)]
Merge "Update adb command to remove all configs from statsd"

6 years agoMerge "Decouple HeadsUpManager and ScrollContainer from remote input classes"
TreeHugger Robot [Wed, 29 Nov 2017 07:28:41 +0000 (07:28 +0000)]
Merge "Decouple HeadsUpManager and ScrollContainer from remote input classes"

6 years agoUpdate adb command to remove all configs from statsd
yro [Mon, 27 Nov 2017 22:42:42 +0000 (14:42 -0800)]
Update adb command to remove all configs from statsd

Before this change we were only clearing configs from disk.
This change will allow clearing from memory as well. Also,
this change fixes a bug where the iterator moves to the next
element before removing the key from mConfigReceivers

Test: statsd, statsd_test

Change-Id: I9f5e0aced9b89bae7b19ae6d8490c076557fbb08

6 years agoMerge "Add no more than 20 timestamps for a config in StatsdStats."
TreeHugger Robot [Wed, 29 Nov 2017 06:00:57 +0000 (06:00 +0000)]
Merge "Add no more than 20 timestamps for a config in StatsdStats."

6 years agoMerge "Add AudioRouting interface in MediaRecorder."
TreeHugger Robot [Wed, 29 Nov 2017 04:02:40 +0000 (04:02 +0000)]
Merge "Add AudioRouting interface in MediaRecorder."

6 years agoMerge "Move home stack behind top stack when split-screen is dismissed"
Wale Ogunwale [Wed, 29 Nov 2017 04:00:23 +0000 (04:00 +0000)]
Merge "Move home stack behind top stack when split-screen is dismissed"

6 years agoMerge "Added Privacy section to AutofillService documentation."
TreeHugger Robot [Wed, 29 Nov 2017 02:58:47 +0000 (02:58 +0000)]
Merge "Added Privacy section to AutofillService documentation."

6 years agoMerge "Extreme battery saver: AlarmManager"
TreeHugger Robot [Wed, 29 Nov 2017 02:33:39 +0000 (02:33 +0000)]
Merge "Extreme battery saver: AlarmManager"

6 years agoDefine colorBackground for Theme.DeviceDefault.Settings.
Fan Zhang [Wed, 29 Nov 2017 02:22:39 +0000 (18:22 -0800)]
Define colorBackground for Theme.DeviceDefault.Settings.

Use device_default_light as colorBackground for Settings theme. The
color is a pass through to background_material_light. Having the
passthrough color make it easier for OEMs to define runtime theme
overlay for background color.

Bug: 69314327
Test: visual
Change-Id: I71cabbf43c20b88fc856cd5bba5a521011d56990

6 years agoMove home stack behind top stack when split-screen is dismissed
Wale Ogunwale [Fri, 17 Nov 2017 18:08:04 +0000 (10:08 -0800)]
Move home stack behind top stack when split-screen is dismissed

Whenever split-screen is dismissed we were returning to whatever stack
was on the other side since that is the next thing in terms of z-order.
However, visually to the user we should be returning home. This CL makes
it so.

Also,
- Fixed issue were FLAG_ACTIVITY_LAUNCH_ADJACENT might not work due to
early return in ActivityStarter.getLaunchStack since the stack return by
mSupervisor.getLaunchStack() is never null.
- Just set windowing mode when AMS.setTaskWindowingMode is called vs.
creating a stack to re-parent to.
- Fixed issue with reporting multi-window mode changed to be based on
onConfigurationChanged() for the activity record.
- Corrected a few issues with order of sending pip mode changed and
multi-window mode changed due to now sending multi-window mode
changed in onConfigurationChanged().
Change-Id: I4893937853968bfd0b437dc646a82ead8f127f2e
Fixes: 69378933
Fixes: 68953884
Test: ActivityManagerSplitScreenTests.onSplitScreenModeDismissed

6 years agoMerge "Updated screenshot code to reflect native changes."
Chavi Weingarten [Wed, 29 Nov 2017 01:31:57 +0000 (01:31 +0000)]
Merge "Updated screenshot code to reflect native changes."

6 years agoMerge "AlarmManagerService: add tracing for wakeup alarms"
Tim Murray [Wed, 29 Nov 2017 01:26:32 +0000 (01:26 +0000)]
Merge "AlarmManagerService: add tracing for wakeup alarms"

6 years agoAdd AudioRouting interface in MediaRecorder.
jiabin [Tue, 24 Oct 2017 18:34:32 +0000 (11:34 -0700)]
Add AudioRouting interface in MediaRecorder.

Bug: 64038649
Test: Run cts in RoutingTest
      Switching input device when using MediaRecorder

Change-Id: I3f2a9f670565c6e55d612c1477a505fa3d096e3d

6 years agoMerge "Extreme battery saver: Force background check on all apps"
TreeHugger Robot [Wed, 29 Nov 2017 00:43:29 +0000 (00:43 +0000)]
Merge "Extreme battery saver: Force background check on all apps"

6 years agoAdd no more than 20 timestamps for a config in StatsdStats.
Yao Chen [Wed, 29 Nov 2017 00:07:02 +0000 (16:07 -0800)]
Add no more than 20 timestamps for a config in StatsdStats.

To avoid the array to grow unboundedly.

Test: added unit tests.
Change-Id: I3c4823b2a89bb69428d81b9fe348e7ea9aba24c7

6 years agoMerge "Added database package OWNERS"
TreeHugger Robot [Tue, 28 Nov 2017 23:48:28 +0000 (23:48 +0000)]
Merge "Added database package OWNERS"

6 years agoMerge "Refactoring ScrimController"
Lucas Dupin [Tue, 28 Nov 2017 23:16:12 +0000 (23:16 +0000)]
Merge "Refactoring ScrimController"

6 years agoUpdated screenshot code to reflect native changes.
chaviw [Tue, 21 Nov 2017 02:33:05 +0000 (18:33 -0800)]
Updated screenshot code to reflect native changes.

The changes in native code removed using a GraphicBufferProducer and
instead use only a GraphicBuffer to generate screenshots. Updated JNI
code so it calls the screensot function that returns a GraphicBuffer
and handle returning either a Surface, GraphicBuffer, or Bitmap.

Also updated screencap shell code so it uses the new GraphicBuffer
screenshot code.

Test: Recents, screenshot from SystemUi, screenshot from shell.
Change-Id: I6cb4f619e59461790a2a8f0cd2ea1192d9ae66b6

6 years agoMerge "Pull back attached transform."
TreeHugger Robot [Tue, 28 Nov 2017 23:12:14 +0000 (23:12 +0000)]
Merge "Pull back attached transform."

6 years agoMerge "Fixed the make file for location tests"
TreeHugger Robot [Tue, 28 Nov 2017 23:10:31 +0000 (23:10 +0000)]
Merge "Fixed the make file for location tests"

6 years agoAlarmManagerService: add tracing for wakeup alarms
Tim Murray [Tue, 28 Nov 2017 23:01:04 +0000 (15:01 -0800)]
AlarmManagerService: add tracing for wakeup alarms

Test: tracepoints work
bug 69862220

Change-Id: Iba77129162958556aec7efd36e485fab6e6857ec

6 years agoMerge "Re-enable task trimming"
TreeHugger Robot [Tue, 28 Nov 2017 22:56:05 +0000 (22:56 +0000)]
Merge "Re-enable task trimming"

6 years agoMerge "Bypass a11y cache when requested"
Phil Weaver [Tue, 28 Nov 2017 22:47:02 +0000 (22:47 +0000)]
Merge "Bypass a11y cache when requested"

6 years agoExtreme battery saver: Force background check on all apps
Makoto Onuki [Wed, 22 Nov 2017 19:16:30 +0000 (11:16 -0800)]
Extreme battery saver: Force background check on all apps

- Power-saver whitelisted (including temp whitelist) apps and system UIDs
are exempted.

- Otherwise, background services and manifest receivers will be restricted
as if OP_RUN_IN_BACKGROUND is set to IGNORE.

Test: manual test
Bug: 68769804
Change-Id: I49e7d32357ffc177ace38a064f943643f4f71058

6 years agoMerge "Remove unused code from CompatModePackages, clean up CompileSdk strings"
Alan Viverette [Tue, 28 Nov 2017 22:41:14 +0000 (22:41 +0000)]
Merge "Remove unused code from CompatModePackages, clean up CompileSdk strings"

6 years agoExtreme battery saver: AlarmManager
Makoto Onuki [Wed, 22 Nov 2017 00:25:35 +0000 (16:25 -0800)]
Extreme battery saver: AlarmManager

- AlarmManagerService now uses ForceAppStandbyTracker.

- Now AlarmManagerService uses the system + user power-save whitelist,
rather than just the user whitelist.

Test: Manual test
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/ForceAppStandbyTrackerTest.java
Bug 68769804

Change-Id: Ie2bd17fe0c3cb8b09ec4c4a78f9254277be16926

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button" am...
Jordan Liu [Tue, 28 Nov 2017 22:23:42 +0000 (22:23 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button" am: dc98d6e44b am: 7a42c3614e
am: 9a1be6187f  -s ours

Change-Id: Iaa42715945ecdf29efd6acc733755979ecde152e

6 years agoAdded database package OWNERS
Fyodor Kupolov [Tue, 28 Nov 2017 22:14:12 +0000 (14:14 -0800)]
Added database package OWNERS

Test: N/A
Change-Id: I30993e7e20265b88d2cda246155fde50081866cb

6 years agoMerge "Fixed class and subclass IDs sign extension on byte->int problem."
TreeHugger Robot [Tue, 28 Nov 2017 22:11:51 +0000 (22:11 +0000)]
Merge "Fixed class and subclass IDs sign extension on byte->int problem."

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button" am...
Jordan Liu [Tue, 28 Nov 2017 22:11:38 +0000 (22:11 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button" am: dc98d6e44b
am: 7a42c3614e

Change-Id: I0bb715785a7ea0286936b1213c5057497b8856de

6 years agoMerge "Provide activity details for task layout in ActivityStarter."
Bryce Lee [Tue, 28 Nov 2017 22:08:16 +0000 (22:08 +0000)]
Merge "Provide activity details for task layout in ActivityStarter."

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button"
Jordan Liu [Tue, 28 Nov 2017 22:00:50 +0000 (22:00 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button"
am: dc98d6e44b

Change-Id: I474338d3475706f856e63fc8c558850c3afd0bb3

6 years agoMerge "Snapshot Task with the app window crop for Recents"
Chavi Weingarten [Tue, 28 Nov 2017 21:51:43 +0000 (21:51 +0000)]
Merge "Snapshot Task with the app window crop for Recents"

6 years agoMerge "Add carrier config variable to hide manage IMS conference call button"
Jordan Liu [Tue, 28 Nov 2017 21:40:01 +0000 (21:40 +0000)]
Merge "Add carrier config variable to hide manage IMS conference call button"

6 years agoMerge "Add hooks to configure system button text styling."
TreeHugger Robot [Tue, 28 Nov 2017 21:24:02 +0000 (21:24 +0000)]
Merge "Add hooks to configure system button text styling."

6 years agoMerge "Correct ordering of status bar panel layers."
TreeHugger Robot [Tue, 28 Nov 2017 21:17:13 +0000 (21:17 +0000)]
Merge "Correct ordering of status bar panel layers."

6 years agoPull back attached transform.
Robert Carr [Tue, 28 Nov 2017 20:39:46 +0000 (12:39 -0800)]
Pull back attached transform.

Fixes layering of Popups.

Bug: 69590639
Test: Manual
Change-Id: I5a35957999e2eb78b98e1a39a6b44a12c1d34128

6 years agoMerge changes from topic "lifecycle_transaction_base"
Andrii Kulian [Tue, 28 Nov 2017 20:47:34 +0000 (20:47 +0000)]
Merge changes from topic "lifecycle_transaction_base"

* changes:
  Add transaction unit tests
  Add basic lifecycle transaction containers

6 years agoRe-enable task trimming
Winson Chung [Thu, 26 Oct 2017 18:38:30 +0000 (11:38 -0700)]
Re-enable task trimming

- Skip trimming tasks that are behind the home stack as they can not be
  returned to.
- Adding tag to event log when trimming the task to indicate it was trimmed
  by the recent tasks list
- Update tests to use task builder

Bug: 34270611
Test: Launch task from assistant, ensure that the assistant is not removed
Test: com.android.server.am.RecentTasksTest
Test: #testBackStackTasks_expectNoTrim
Test: #testBehindHomeStackTasks_expectTaskTrimmed
Test: #testOtherDisplayTasks_expectNoTrim
Change-Id: I538c9010f7ce7844bfa93ff3c8900dea6f91bc95

6 years agoMerge "@Ignore flaky test in QSTileImplTest"
TreeHugger Robot [Tue, 28 Nov 2017 20:33:59 +0000 (20:33 +0000)]
Merge "@Ignore flaky test in QSTileImplTest"

6 years agoMerge "Revert "Revert "Access already-read descriptors on device connect. (Eliminate...
TreeHugger Robot [Tue, 28 Nov 2017 20:28:52 +0000 (20:28 +0000)]
Merge "Revert "Revert "Access already-read descriptors on device connect. (Eliminate extra read)"""

6 years agoMerge "KeyChain: Provide public & private keys"
Eran Messeri [Tue, 28 Nov 2017 20:24:22 +0000 (20:24 +0000)]
Merge "KeyChain: Provide public & private keys"

6 years agoMerge changes from topics "ProvisioningCallback", "PASSPOINT_APIs"
Sohani Rao [Tue, 28 Nov 2017 20:14:11 +0000 (20:14 +0000)]
Merge changes from topics "ProvisioningCallback", "PASSPOINT_APIs"

* changes:
  Introduce Status and Failure code for Provisioning
  Provide APIs for HS2.0 provisioning

6 years agoMerge "Extreme battery saver: Tweak to file saver"
Makoto Onuki [Tue, 28 Nov 2017 20:02:54 +0000 (20:02 +0000)]
Merge "Extreme battery saver: Tweak to file saver"

6 years agoMerge "Extend SearchIndexablesProvider to support query sitemap."
TreeHugger Robot [Tue, 28 Nov 2017 19:39:02 +0000 (19:39 +0000)]
Merge "Extend SearchIndexablesProvider to support query sitemap."

6 years agoTrack some event history and include it in netpolicy dump.
Sudheer Shanka [Sat, 23 Sep 2017 00:09:38 +0000 (17:09 -0700)]
Track some event history and include it in netpolicy dump.

Bug: 66921847
Test: manual
Change-Id: I0c473790f83076def807308fe44db9cb9365769e

6 years agoMerge "New API to specify accessibility focus grouping"
TreeHugger Robot [Tue, 28 Nov 2017 19:24:22 +0000 (19:24 +0000)]
Merge "New API to specify accessibility focus grouping"

6 years agoCorrect ordering of status bar panel layers.
Robert Carr [Wed, 22 Nov 2017 20:47:58 +0000 (12:47 -0800)]
Correct ordering of status bar panel layers.

Not sure what bug was hiding this before but seems pretty clear,
that this is the ordering we need. See the documentation, APPLICATION_PANEL, etc...

Bug: 69591927
Test: Manual
Change-Id: I82fc011aff6122efa5c3ed63da154761e7065612

6 years agoMerge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7c...
Jack Yu [Tue, 28 Nov 2017 19:02:26 +0000 (19:02 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7cbd1e am: 3221d23138
am: aa3bdbe815  -s ours

Change-Id: I9f2ea24fa32c0bd87897549c021051f4419feadc

6 years agoSnapshot Task with the app window crop for Recents
chaviw [Sat, 11 Nov 2017 00:14:49 +0000 (16:14 -0800)]
Snapshot Task with the app window crop for Recents

Snapshot a specific task and its children instead of taking a snapshot
of the whole screen with max and min layer values. This makes it clear
what the desired screenshot is instead of trying to determine what the
max and min z layers should be.

In the process of updating the snapshot code, I split the code that
captures a layer from the code that captures the whole screen. This
simplified the code so the capture screen doesn't need to invoke the
frame calculations since it will be capturing the whole screen anyway.

Test: Recents snapshots work correctly without the IME, status, and
navigation bar

Change-Id: I8776c1ddb9cd8a23a482b045720960702796fd5f

6 years agoMerge "Revert "Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism"""
Paul Mclean [Tue, 28 Nov 2017 18:47:48 +0000 (18:47 +0000)]
Merge "Revert "Revert "Eliminate native/JNI/callback USB Descriptor parsing mechanism"""

6 years agoMerge "Add Multicast wakelock stats in battery-stats dump"
TreeHugger Robot [Tue, 28 Nov 2017 18:43:55 +0000 (18:43 +0000)]
Merge "Add Multicast wakelock stats in battery-stats dump"

6 years agoRemove unused code from CompatModePackages, clean up CompileSdk strings
Alan Viverette [Tue, 28 Nov 2017 18:39:16 +0000 (13:39 -0500)]
Remove unused code from CompatModePackages, clean up CompileSdk strings

"Preview version" didn't translate well.

Fixes: 69791947
Test: make (no behavior change so didn't run CTS)
Change-Id: I8249dc1c4569fd2444dcbdf525eb5638ca448d4a

6 years agoMerge "Remove scanFile argument"
TreeHugger Robot [Tue, 28 Nov 2017 18:37:55 +0000 (18:37 +0000)]
Merge "Remove scanFile argument"

6 years ago@Ignore flaky test in QSTileImplTest
Geoffrey Pitsch [Tue, 28 Nov 2017 18:33:13 +0000 (13:33 -0500)]
@Ignore flaky test in QSTileImplTest

Bug: 67842810
Test: runtest systemui
Change-Id: I09a7328af120cebb1bc3e0b528c96a2ea8e8c815

6 years agoMerge "Fix window cropping issue."
TreeHugger Robot [Tue, 28 Nov 2017 18:27:24 +0000 (18:27 +0000)]
Merge "Fix window cropping issue."

6 years agoAdd carrier config variable to hide manage IMS conference call button
Wei Huang [Fri, 22 Apr 2016 06:33:55 +0000 (14:33 +0800)]
Add carrier config variable to hide manage IMS conference call button

Add carrier config to determine whether manage IMS conference calls
is supported by a carrier.

Test: not tested since a new config is just added
Bug: 28729600
Change-Id: I1000830a85814150658b62ea9add72bfb83bbba0
Merged-In: I1000830a85814150658b62ea9add72bfb83bbba0

6 years agoExtend SearchIndexablesProvider to support query sitemap.
Fan Zhang [Mon, 27 Nov 2017 20:39:52 +0000 (12:39 -0800)]
Extend SearchIndexablesProvider to support query sitemap.

Bug: 67359411
Bug: 64938328
Test: manual
Change-Id: Ic6e1ba4fc518b3aa7a26303d195c1119f6eeaafc

6 years agoMerge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f am: 0f9b8c2c60
Jakub Pawlowski [Tue, 28 Nov 2017 17:54:19 +0000 (17:54 +0000)]
Merge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f am: 0f9b8c2c60
am: 08d6f6a60a  -s ours

Change-Id: Ibbd740ca67bf73b7418aae1d277c3a99cd08327b

6 years agoMerge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7cbd1e
Jack Yu [Tue, 28 Nov 2017 17:53:48 +0000 (17:53 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API" am: 24cd7cbd1e
am: 3221d23138

Change-Id: I3b1e2d475721de9388de5cb4acb52a003cc16e62

6 years agoFixed a bug where messages could be invisible
Selim Cinek [Mon, 27 Nov 2017 13:44:40 +0000 (14:44 +0100)]
Fixed a bug where messages could be invisible

Because the layout could be faded away, but not
made visible anymore, the messaginglinearlayout
could stay hidden or halfway faded.

Change-Id: I2d517a2b9d4e1e4eecb1b865569a3449c2f52d31
Fixes: 69433427
Test: drag down on message, turn screen off during transition, ensure everything visible and working stills

6 years agoImplemented rounded clipping for groups
Selim Cinek [Wed, 22 Nov 2017 16:40:00 +0000 (08:40 -0800)]
Implemented rounded clipping for groups

Groups would not properly clip to the bottom before.

Test: add notification group, observe clipping
Bug: 69168591
Change-Id: Ia59e2d979faf2e84d96e16ac2d4f31c03ac6e910

6 years agoAdded padding between notifications and qs on lockscreen
Selim Cinek [Wed, 22 Nov 2017 14:43:44 +0000 (06:43 -0800)]
Added padding between notifications and qs on lockscreen

With the side paddings it looked odd not to have paddings.

Test: add notification expand on qs, observe padding
Bug: 69168591
Change-Id: Id98763d8aec8cac7f9a60107a03d0669ce86ba71

6 years agoInsetting notifications on the lock screen
Selim Cinek [Wed, 15 Nov 2017 18:20:19 +0000 (10:20 -0800)]
Insetting notifications on the lock screen

We are now insetting the notifications on the
lockscreen.
This also improves the clipping to the notifications
since we can't just clip the whole content to the
outline bounds.

Test: add notifications on lockscreen, observe inset. Try swiping too.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationCustomViewWrapperTest.java
Bug: 69168591
Change-Id: Ie3f57dd4938bc97124fb98230cc9427fd4973ead

6 years agoExtreme battery saver: Tweak to file saver
Makoto Onuki [Tue, 28 Nov 2017 01:50:41 +0000 (17:50 -0800)]
Extreme battery saver: Tweak to file saver

- Restore the default values after a runtime restart.
- debug.batterysaver.no_write_files sysprop to avoid writing max_freq

Bug 63527520
Test: manual
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/FileUpdaterTest.java

Change-Id: Ic4783f181252b063cfe7ea6fee47b9241f1688cc

6 years agoProvide activity details for task layout in ActivityStarter.
Bryce Lee [Thu, 16 Nov 2017 05:25:03 +0000 (21:25 -0800)]
Provide activity details for task layout in ActivityStarter.

When a task is created as the result of an activity starter, there
are details present in the starter than can be useful for layout,
such as the source and launching activity records. This changelist
adds these details to the layout invocation.

Change-Id: I2d6d22c8390b03004d020d6d92196bb2a85fdd3d
Fixes: 68719294
Test: go/wm-smoke

6 years agoMerge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f
Jakub Pawlowski [Tue, 28 Nov 2017 17:42:08 +0000 (17:42 +0000)]
Merge "Add persistent state for Hearing Aid Profile" am: 2282e2f57f
am: 0f9b8c2c60

Change-Id: I971ab43aed9d0f656e0878e7277ec8e416b1867f

6 years agoMerge "Moved DataProfile from telephony internal hidden API to System API"
Jack Yu [Tue, 28 Nov 2017 17:39:01 +0000 (17:39 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API"
am: 24cd7cbd1e

Change-Id: Ica76a82b03f6bb0623a98480ae1c2fbc34d07337

6 years agoMerge "Add persistent state for Hearing Aid Profile"
Jakub Pawlowski [Tue, 28 Nov 2017 17:32:19 +0000 (17:32 +0000)]
Merge "Add persistent state for Hearing Aid Profile"
am: 2282e2f57f

Change-Id: Iff05733aeb2214b1720883f6c7c28a3357887ec2

6 years agoFixed an issue where a shelf icon could be white
Selim Cinek [Tue, 28 Nov 2017 17:22:12 +0000 (18:22 +0100)]
Fixed an issue where a shelf icon could be white

Change-Id: I379f81b75939401287cf7e308e1939fc068831f4
Fixes: 64848657
Test: add multiple huns in a row with the right timing never stays white

6 years agoMerge "Moved DataProfile from telephony internal hidden API to System API"
Jack Yu [Tue, 28 Nov 2017 17:21:40 +0000 (17:21 +0000)]
Merge "Moved DataProfile from telephony internal hidden API to System API"

6 years agoMerge "Add persistent state for Hearing Aid Profile"
Jakub Pawlowski [Tue, 28 Nov 2017 17:21:10 +0000 (17:21 +0000)]
Merge "Add persistent state for Hearing Aid Profile"

6 years agoMerge "Display Cutout: Add Cutout to WindowInsets"
TreeHugger Robot [Tue, 28 Nov 2017 17:11:21 +0000 (17:11 +0000)]
Merge "Display Cutout: Add Cutout to WindowInsets"

6 years agoMerge "Skip FDE-specific operations, mkdir() throwing."
Jeff Sharkey [Tue, 28 Nov 2017 16:57:19 +0000 (16:57 +0000)]
Merge "Skip FDE-specific operations, mkdir() throwing."

6 years agoRefactoring ScrimController
Lucas Dupin [Thu, 9 Nov 2017 01:16:55 +0000 (17:16 -0800)]
Refactoring ScrimController

ScrimController is now a state machine with tests.

The main motivation for refactoring this class was to
centralize ownership of the scrim state. Before, animations
could be triggered by StatusBar, StatusBarKeyguardViewManager
or DozeScrimController simultaneously, causing collision,
sometimes overriding an expected state due to the call order
and making it hard to calculate an actual state.

Change-Id: I4f4d82549235d3fc7be35b235a2668e70b956cb7
Fixes: 64397851
Fixes: 65688233
Bug: 64155983
Test: runtest -x tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: runtest -x tests/src/com/android/systemui/statusbar/phone/DozeScrimControllerTest.java
Test: unlock using fingerprint, or challenge (pin/password/pattern)
Test: trigger in-app bouncer (camera app)
Test: pull down notification shade locked and unlocked
Test: lock, look at AoD (or black display when AoD isn't supported)

6 years agoMerge "Trim away some dead code"
Neil Fuller [Tue, 28 Nov 2017 16:16:53 +0000 (16:16 +0000)]
Merge "Trim away some dead code"

6 years agoMerge "WM: Stop tampering with sysuiVisibility for layout"
Adrian Roos [Tue, 28 Nov 2017 16:15:07 +0000 (16:15 +0000)]
Merge "WM: Stop tampering with sysuiVisibility for layout"

6 years agoMerge "WM: Add PhoneWindowManagerLayoutTest"
TreeHugger Robot [Tue, 28 Nov 2017 16:14:35 +0000 (16:14 +0000)]
Merge "WM: Add PhoneWindowManagerLayoutTest"

6 years agoAdding GNSS Model & Version String
Wyatt Riley [Wed, 8 Nov 2017 23:07:58 +0000 (15:07 -0800)]
Adding GNSS Model & Version String

Adding JNI callbacks

Bug: 38003769
Test: Builds.  TODO: Basic VTS & java connection

Change-Id: I0849d3f91c0fdc2bd4af53c372e2d37f6e6aba1f

6 years agoAdded new android.test.base targets
Paul Duffin [Thu, 16 Nov 2017 15:53:09 +0000 (15:53 +0000)]
Added new android.test.base targets

Renames ...-legacy-test-... targets related to stubs generation to
...-android-test-base-....

Bug: 30188076
Test: make checkbuild
Change-Id: I54204733612d6d3f14dd8023973e993a5ddab51d

6 years agoAdd hooks to configure system button text styling.
Andrew Sapperstein [Tue, 14 Nov 2017 00:08:46 +0000 (16:08 -0800)]
Add hooks to configure system button text styling.

Adds configuration values to change the styling of buttons on system
surfaces. Specifically, adds config_fontFamilyButton and
config_buttonTextAllCaps to control the default font and whether text
is all caps.

Additionally, adds plumbing so that these configs are utilized by
Theme.DeviceDefault (and descendent) themes. Some styles are added/updated
for this support.

Bug: 64122537
Bug: 69314526
Test: ag/3228846
Change-Id: I08406633bd744c6f58d5144d035aa27bf9c175df