OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "WifiService: Enforce permission for enableVerboseLogging"
TreeHugger Robot [Tue, 7 Nov 2017 21:58:00 +0000 (21:58 +0000)]
Merge "WifiService: Enforce permission for enableVerboseLogging"

6 years agoMerge "Expose EXTRA_SUB_ID."
TreeHugger Robot [Tue, 7 Nov 2017 21:09:46 +0000 (21:09 +0000)]
Merge "Expose EXTRA_SUB_ID."

6 years agoMerge "Add method to show/hide preference in base controller"
TreeHugger Robot [Tue, 7 Nov 2017 20:22:22 +0000 (20:22 +0000)]
Merge "Add method to show/hide preference in base controller"

6 years agoMerge "Abort long-running benchmarks, report progress."
Jeff Sharkey [Tue, 7 Nov 2017 19:23:25 +0000 (19:23 +0000)]
Merge "Abort long-running benchmarks, report progress."

6 years agoMerge "Merge "Add a carrier config indicating whether user can edit a voicemail numbe...
Android Build Merger (Role) [Tue, 7 Nov 2017 19:07:07 +0000 (19:07 +0000)]
Merge "Merge "Add a carrier config indicating whether user can edit a voicemail number" am: 1f8ee4ff25 am: e968d500f5 am: b41fa4ead5  -s ours"

6 years agoMerge "AAPT2: Add convert command"
Adam Lesinski [Tue, 7 Nov 2017 19:05:22 +0000 (19:05 +0000)]
Merge "AAPT2: Add convert command"

6 years agoMerge "Add a carrier config indicating whether user can edit a voicemail number"...
Jordan Liu [Tue, 7 Nov 2017 19:04:36 +0000 (19:04 +0000)]
Merge "Add a carrier config indicating whether user can edit a voicemail number" am: 1f8ee4ff25 am: e968d500f5
am: b41fa4ead5  -s ours

Change-Id: I11e3ea6e8147556fd6dbaf8b34a8f35e498bc52d

6 years agoMerge "Add a carrier config indicating whether user can edit a voicemail number"...
Jordan Liu [Tue, 7 Nov 2017 18:51:57 +0000 (18:51 +0000)]
Merge "Add a carrier config indicating whether user can edit a voicemail number" am: 1f8ee4ff25
am: e968d500f5

Change-Id: Ifc4a120e14dd2e2bc6f2bdfe06acfffdf6837bea

6 years agoMerge changes from topic "notification_messaging"
Selim Cinek [Tue, 7 Nov 2017 18:42:24 +0000 (18:42 +0000)]
Merge changes from topic "notification_messaging"

* changes:
  Fixed measuring of messages with excess space
  Fixed the handling of oneToOne conversations for certain apps
  Improved the messaging transformation
  Implemented animations for messaging changes
  Refactored clipping util to be used in core
  Improved the headsup notification for messages
  Redesigned the messaging style
  Fixed a bug where images weren't transforming properly

6 years agoMerge "Add a carrier config indicating whether user can edit a voicemail number"
Jordan Liu [Tue, 7 Nov 2017 18:39:06 +0000 (18:39 +0000)]
Merge "Add a carrier config indicating whether user can edit a voicemail number"
am: 1f8ee4ff25

Change-Id: I7d86a7b3fe4348bfd148e8167b6213e9d27e67c7

6 years agoAdd method to show/hide preference in base controller
Fan Zhang [Tue, 7 Nov 2017 01:54:12 +0000 (17:54 -0800)]
Add method to show/hide preference in base controller

- Reformat AbstractPreferenceController
- Also drive by fix: move UserIconDrawableTest to integ test.

Bug: 68956750
Test: robotests
Test: atest UserIconDrawableTest
Change-Id: I9812f0e169b520e56c088b325b9267e94d7fbc29

6 years agoMerge "Add a carrier config indicating whether user can edit a voicemail number"
Jordan Liu [Tue, 7 Nov 2017 18:28:33 +0000 (18:28 +0000)]
Merge "Add a carrier config indicating whether user can edit a voicemail number"

6 years agoMerge "Add wide gamut trivial animation to UIBench"
TreeHugger Robot [Tue, 7 Nov 2017 18:11:14 +0000 (18:11 +0000)]
Merge "Add wide gamut trivial animation to UIBench"

6 years agoMerge "Custom message in AoD"
TreeHugger Robot [Tue, 7 Nov 2017 17:24:27 +0000 (17:24 +0000)]
Merge "Custom message in AoD"

6 years agoMerge "Fix StrictMode I/O violations"
Fyodor Kupolov [Tue, 7 Nov 2017 17:21:50 +0000 (17:21 +0000)]
Merge "Fix StrictMode I/O violations"

6 years agoMerge "Implement assertActionModeNotStarted."
TreeHugger Robot [Tue, 7 Nov 2017 17:16:48 +0000 (17:16 +0000)]
Merge "Implement assertActionModeNotStarted."

6 years agoMerge "AudioService: fix synchronization for camera sound enforcement"
Jean-Michel Trivi [Tue, 7 Nov 2017 17:15:35 +0000 (17:15 +0000)]
Merge "AudioService: fix synchronization for camera sound enforcement"

6 years agoMerge "DozeService should call super.dumpOnHandler"
Lucas Dupin [Tue, 7 Nov 2017 17:13:57 +0000 (17:13 +0000)]
Merge "DozeService should call super.dumpOnHandler"

6 years agoMerge "Centeralize items in a row in share sheet"
TreeHugger Robot [Tue, 7 Nov 2017 17:03:32 +0000 (17:03 +0000)]
Merge "Centeralize items in a row in share sheet"

6 years agoAbort long-running benchmarks, report progress.
Jeff Sharkey [Mon, 6 Nov 2017 20:54:11 +0000 (13:54 -0700)]
Abort long-running benchmarks, report progress.

A typical storage device finishes the benchmark in under 10 seconds,
but some extremely slow devices can take minutes, resulting in a
confusing UX that looks like we've frozen.  Even worse, we keep
churning through all that I/O even though we know the device will
blow past our user-warning threshold.

So periodically check if we've timed out, and also use that to report
progress up into the Settings UI.

Test: manual
Bug: 622012096563976467055204
Change-Id: Id28e63a7ea1476d83184abab5aea737a1d193f3a

6 years agoMerge "Remove unneeded JNI method"
John Reck [Tue, 7 Nov 2017 16:29:08 +0000 (16:29 +0000)]
Merge "Remove unneeded JNI method"

6 years agoMerge "No red bars in battery saver mode"
TreeHugger Robot [Tue, 7 Nov 2017 15:35:16 +0000 (15:35 +0000)]
Merge "No red bars in battery saver mode"

6 years agoImport translations. DO NOT MERGE am: c74eab1d53 -s ours
Bill Yi [Tue, 7 Nov 2017 15:25:06 +0000 (15:25 +0000)]
Import translations. DO NOT MERGE am: c74eab1d53  -s ours
am: 8b6d69bcbc  -s ours

Change-Id: I75d3af9db6f8ec118952b52bdfc985a94fc35e30

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Nov 2017 15:14:28 +0000 (15:14 +0000)]
Import translations. DO NOT MERGE
am: c74eab1d53  -s ours

Change-Id: I4af12be1568171456ad1b04bda161dadb0ab3152

6 years agoCenteralize items in a row in share sheet
Tony Mak [Tue, 7 Nov 2017 14:19:30 +0000 (14:19 +0000)]
Centeralize items in a row in share sheet

The weight sum is wrong, it should be 3 as we have 3 "SpaceLayout"
in between 4 items. Indeed, we do not need to specify weightSum
explicitly, the UI framework will do it for us.

Fix: 68978578

Test: Build and observe the padding

Change-Id: I39fc73a0cfb1b557021a9393ff92dd76340b5f22

6 years agoMerge "Removed ScreenDecorWindowTests from @Presubmit"
Wale Ogunwale [Tue, 7 Nov 2017 14:46:39 +0000 (14:46 +0000)]
Merge "Removed ScreenDecorWindowTests from @Presubmit"

6 years agoRemoved ScreenDecorWindowTests from @Presubmit
Wale Ogunwale [Tue, 7 Nov 2017 14:41:09 +0000 (06:41 -0800)]
Removed ScreenDecorWindowTests from @Presubmit

Test is currently flaky...

Test: this
Bug: 68957554
Change-Id: I31d4fd7e0c3f06ea942dab94067cb03dfb7f7c87

6 years agoMerge "Use prebuilt android.test. stubs jars for app builds"
Paul Duffin [Tue, 7 Nov 2017 11:14:53 +0000 (11:14 +0000)]
Merge "Use prebuilt android.test. stubs jars for app builds"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 7 Nov 2017 09:16:27 +0000 (09:16 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 7 Nov 2017 09:15:17 +0000 (09:15 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 7 Nov 2017 09:02:27 +0000 (09:02 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoUse prebuilt android.test. stubs jars for app builds
Paul Duffin [Tue, 7 Nov 2017 07:33:11 +0000 (07:33 +0000)]
Use prebuilt android.test. stubs jars for app builds

Bug: 30188076
Test: tapas Launcher3
Change-Id: If632c39c9d98d89d597d410ebc7973903c9fa91e

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Nov 2017 07:17:40 +0000 (23:17 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ibe18acf5a4103db6c88d798271567497128973ed
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Nov 2017 06:45:47 +0000 (22:45 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ic889a433a21166e4d7f4458f134bb47bb85e9ecc
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Nov 2017 06:44:40 +0000 (22:44 -0800)]
Import translations. DO NOT MERGE

Change-Id: I8ff039bc24e3f1abf0e558d0cae23f3d8a581288
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "BatteryService: use @1.0::HealthInfo."
Yifan Hong [Tue, 7 Nov 2017 06:42:12 +0000 (06:42 +0000)]
Merge "BatteryService: use @1.0::HealthInfo."

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Nov 2017 06:40:03 +0000 (22:40 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I4466ce0640d6c86b975fd0290ca53b592b5d27e9

6 years agoMerge "Consistent handleApplicationStrictModeViolation."
Jeff Sharkey [Tue, 7 Nov 2017 06:34:03 +0000 (06:34 +0000)]
Merge "Consistent handleApplicationStrictModeViolation."

6 years agoMerge "Replace dns_tls with private_dns_mode setting" am: 8cf645c04d am: f1799116c2
Erik Kline [Tue, 7 Nov 2017 06:23:05 +0000 (06:23 +0000)]
Merge "Replace dns_tls with private_dns_mode setting" am: 8cf645c04d am: f1799116c2
am: 76d2732ad8

Change-Id: Icba28e4d4e446dd6eac0f2f017957894e33084f2

6 years agoMerge "Replace dns_tls with private_dns_mode setting" am: 8cf645c04d
Erik Kline [Tue, 7 Nov 2017 06:12:39 +0000 (06:12 +0000)]
Merge "Replace dns_tls with private_dns_mode setting" am: 8cf645c04d
am: f1799116c2

Change-Id: I3e0448c045eb1072d0cd70a163ca355786b21cc4

6 years agoMerge "Replace dns_tls with private_dns_mode setting"
Erik Kline [Tue, 7 Nov 2017 06:03:01 +0000 (06:03 +0000)]
Merge "Replace dns_tls with private_dns_mode setting"
am: 8cf645c04d

Change-Id: I421a750561ddde0afc6a70ba6369c83ab2e33571

6 years agoMerge "Replace dns_tls with private_dns_mode setting"
Treehugger Robot [Tue, 7 Nov 2017 05:54:29 +0000 (05:54 +0000)]
Merge "Replace dns_tls with private_dns_mode setting"

6 years agoChange SystemApi as per API council feedback am: a9dc4456f7
Neil Fuller [Tue, 7 Nov 2017 05:42:12 +0000 (05:42 +0000)]
Change SystemApi as per API council feedback am: a9dc4456f7
am: c38df28c41

Change-Id: Iec0a8981ed6beef9e29e6a00781681614a5b1809

6 years agoChange SystemApi as per API council feedback
Neil Fuller [Tue, 7 Nov 2017 05:34:15 +0000 (05:34 +0000)]
Change SystemApi as per API council feedback
am: a9dc4456f7

Change-Id: Iae3b822e08c49affc6a735adfe0fff1400b798eb

6 years agoMerge changes from topic "mediarouter_fix"
TreeHugger Robot [Tue, 7 Nov 2017 05:25:45 +0000 (05:25 +0000)]
Merge changes from topic "mediarouter_fix"

* changes:
  AudioPlayerStateMonitor: fix NPE
  Revert "Revert "Fix overactive media routing""

6 years agoChange SystemApi as per API council feedback
Neil Fuller [Fri, 11 Aug 2017 12:22:36 +0000 (13:22 +0100)]
Change SystemApi as per API council feedback

API council have requested a manifest constant be added
to the SystemApi directly in preference to an indirect
SystemApi constant here:
android.provider.TimeZoneRulesDataContract.READER_PERMISSION.

This is the first of three changes to (1) add the new constant,
(2) switch over code using the constant, (3) remove the
constant.

Bug: 64568899
Test: None, build only
Change-Id: Ib9766591979886d1db3b1d7321536dabf5cf81a8
(cherry picked from commit 8bb4140516c0e18d6c3cbb4215cedc306a2a6da9)

6 years agoMerge "Remove libmedia_omx_defaults from libmedia"
TreeHugger Robot [Tue, 7 Nov 2017 04:39:36 +0000 (04:39 +0000)]
Merge "Remove libmedia_omx_defaults from libmedia"

6 years agoReplace dns_tls with private_dns_mode setting
Erik Kline [Mon, 30 Oct 2017 06:29:44 +0000 (15:29 +0900)]
Replace dns_tls with private_dns_mode setting

Also includes:
    - SettingsLib strings used in PrivateDnsModeDialogPreference
      interaction in the Settings app
    - rename ContentResolver "resolver" in methods working with
      DNS resolvers (too confusing)

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net
    - no new failures in SettingsBackupTest nor in SettingsProviderTest
    - manual interaction with developer option works
Bug: 34953048
Bug: 64133961
Change-Id: Ia7502916db9ffa0792e1e500a35e34d06a88e79d

6 years agoMerge changes I3afc0622,I25723107
TreeHugger Robot [Tue, 7 Nov 2017 03:17:12 +0000 (03:17 +0000)]
Merge changes I3afc0622,I25723107

* changes:
  Make DragDropController#mDragState private
  Sort out various cleanup methods of DragState

6 years agoMerge "Add unit tests for CountMetricProducer, EventMetricProducer"
TreeHugger Robot [Tue, 7 Nov 2017 03:05:58 +0000 (03:05 +0000)]
Merge "Add unit tests for CountMetricProducer, EventMetricProducer"

6 years agoRemove libmedia_omx_defaults from libmedia
Jae Shin [Mon, 30 Oct 2017 05:50:52 +0000 (14:50 +0900)]
Remove libmedia_omx_defaults from libmedia

libmedia_omx_defaults includes source files and this default was
used in both libmedia.so and libmedia_omx.so. This is an issue because
libmedia_omx and libmedia are both loaded in the framework process
through dependency chains such as libstagefright ->
libstagefright_omx_utils -> libmedia_omx.

To fix the issue, libmedia_omx_defaults is removed from libmedia and
libmedia now depends on libmedia_omx. Other modules/libs that originally
depended on libmedia and need access to libmedia_omx_defaults' source
files, now depend on libmedia_omx as well.

Bug: 67871061
Test: mma -j and boot test
Change-Id: I096d58d1e3338b70d5dae9d0f9919b908070d071

6 years agoAudioPlayerStateMonitor: fix NPE
Eric Laurent [Wed, 1 Nov 2017 18:43:02 +0000 (11:43 -0700)]
AudioPlayerStateMonitor: fix NPE

Use PLAYER_STATE_UNKNOWN for state passed to
sendAudioPlayerStateChangedMessageLocked() when prevState
is null in dispatchPlaybackConfigChange()

Bug: 68748062
Test: receive a call and check ringtone
Test: passed media cts
Change-Id: I9d4c84dc1d79a72afd06d044d00f682b70c86255

6 years agoMerge "Fix robolectric test failure in settings"
TreeHugger Robot [Tue, 7 Nov 2017 02:40:35 +0000 (02:40 +0000)]
Merge "Fix robolectric test failure in settings"

6 years agoRevert "Revert "Fix overactive media routing""
Sungsoo Lim [Fri, 3 Nov 2017 02:22:35 +0000 (02:22 +0000)]
Revert "Revert "Fix overactive media routing""

This reverts commit 0aec178b7e66a29a22e90415faa15fb5f01aaef2.

Bug: 65376604
Test: manual and media cts
Change-Id: Ifd20848b406a1c51356c0b852274ba85b7062fdc

6 years agoMerge "Sim Pin layout fixes"
TreeHugger Robot [Tue, 7 Nov 2017 02:39:47 +0000 (02:39 +0000)]
Merge "Sim Pin layout fixes"

6 years agoMerge "Fixed the textalignment for buttons"
TreeHugger Robot [Tue, 7 Nov 2017 02:37:13 +0000 (02:37 +0000)]
Merge "Fixed the textalignment for buttons"

6 years agoMerge "SidekickService (base)"
TreeHugger Robot [Tue, 7 Nov 2017 02:29:16 +0000 (02:29 +0000)]
Merge "SidekickService (base)"

6 years agoAdd TimeZoneRulesDataContract to system API am: 0ab8a0d27b
Neil Fuller [Tue, 7 Nov 2017 02:14:58 +0000 (02:14 +0000)]
Add TimeZoneRulesDataContract to system API am: 0ab8a0d27b
am: 279828df0e

Change-Id: I3341b71fc2175f4b5916fb18deaed64b2660a0c1

6 years agoAdd TimeZoneRulesDataContract to system API
Neil Fuller [Tue, 7 Nov 2017 02:05:44 +0000 (02:05 +0000)]
Add TimeZoneRulesDataContract to system API
am: 0ab8a0d27b

Change-Id: I94ad4699cc6afb98157fe7d295e9ec502a2d7d14

6 years agoFix StrictMode I/O violations
Fyodor Kupolov [Tue, 7 Nov 2017 01:49:13 +0000 (17:49 -0800)]
Fix StrictMode I/O violations

Bug: 68872660
Bug: 68871386
Test: manual + UserControllerTest
Change-Id: Ibc88ff4200a1ce192d096201ec6bfdf93bbfaee1

6 years agoMerge "BatteryService: Clean up init logic."
TreeHugger Robot [Tue, 7 Nov 2017 01:39:06 +0000 (01:39 +0000)]
Merge "BatteryService: Clean up init logic."

6 years agoAdd unit tests for CountMetricProducer, EventMetricProducer
Yao Chen [Thu, 2 Nov 2017 20:52:59 +0000 (13:52 -0700)]
Add unit tests for CountMetricProducer, EventMetricProducer

And other miscellaneous fixes.
+ clang-format
+ 2 bug fixes, one in dump-report command, one in ResourcePowerManagerPuller

Test: statsd_test

Change-Id: Ibd164d948ad62adcc529d813df1210781e38be47

6 years agoAdd TimeZoneRulesDataContract to system API
Neil Fuller [Mon, 3 Jul 2017 13:38:50 +0000 (14:38 +0100)]
Add TimeZoneRulesDataContract to system API

Add TimeZoneRulesDataContract to system API and remove
TODOs to add other classes that should not now be needed
in the system API (since they are used by a platform-only
app).

Bug: 31008728
Test: make droid
Change-Id: I600e7b08853b86b27463193411cf85207ae09ce8

6 years agoFixed the textalignment for buttons
Selim Cinek [Tue, 7 Nov 2017 00:57:48 +0000 (16:57 -0800)]
Fixed the textalignment for buttons

In RTL we should still layout the buttons according
to the viewStart instead of using the text-based alignment.
This will make the layout look consistent overall.

Change-Id: Ied04e0f6856f0ee7028dbab6d0bdc28f1bc80f6b
Fixes: 67650712
Test: manual, add notification with multiple actions, force RTL

6 years agoMerge "Move isServiceReady to ImsServiceProxyCompat" am: e158cdaaa5 am: 909a889436
Jordan Liu [Tue, 7 Nov 2017 00:58:26 +0000 (00:58 +0000)]
Merge "Move isServiceReady to ImsServiceProxyCompat" am: e158cdaaa5 am: 909a889436
am: 1c664d0b8e

Change-Id: I7e1a31f1e1ea45de09e5aa610c8fc79ce01495f0

6 years agoAudioService: fix synchronization for camera sound enforcement
Jean-Michel Trivi [Mon, 6 Nov 2017 19:52:51 +0000 (11:52 -0800)]
AudioService: fix synchronization for camera sound enforcement

Synchronize read/write of non-final variable mCameraSoundForced
  on mSettingsLock, and annotate accordingly.
The method updateRingerModeAffectedStreams() was synchronized
  on mSettingsLock, except in setRingerModeDelegate().

Test: see bug
Bug: 63388421
Change-Id: Iee8f3c31fdb4bf93b08e7f0217c1d85d80cc9180

6 years agoMerge "Move isServiceReady to ImsServiceProxyCompat" am: e158cdaaa5
Jordan Liu [Tue, 7 Nov 2017 00:33:20 +0000 (00:33 +0000)]
Merge "Move isServiceReady to ImsServiceProxyCompat" am: e158cdaaa5
am: 909a889436

Change-Id: I24c1b7009f54b20ba5231a81ecf67150f7345df1

6 years agoFixed measuring of messages with excess space
Selim Cinek [Mon, 23 Oct 2017 23:02:18 +0000 (16:02 -0700)]
Fixed measuring of messages with excess space

Sometimes the layout was measured too big, with additional
white space that wasn't needed because of the way excess
space was handled.

Test: manual write 3 single line messages and 2 two line
Bug: 63708826
Change-Id: I09e728e87e316cb770d5c65bf355a68848e58f0b

6 years agoFixed the handling of oneToOne conversations for certain apps
Selim Cinek [Tue, 24 Oct 2017 23:17:14 +0000 (16:17 -0700)]
Fixed the handling of oneToOne conversations for certain apps

Certain apps were using specific white-spaces in order to get
an effect they wanted on the old messaging style. We're now
fixing that to ensure that the transition is smoothed

Test: manual send messages using multiple apps
Bug: 63708826
Change-Id: Ie8628c5b394b974f3dfcbbc6f26a7f50bc60a7b9

6 years agoImproved the messaging transformation
Selim Cinek [Fri, 27 Oct 2017 23:10:57 +0000 (16:10 -0700)]
Improved the messaging transformation

The messaging layout now transforms smoothly between
the different views.

Test: manual, send messages really fast, expand, collapse
Bug: 63708826
Change-Id: I79da4092eb03fb41a1963b566602386b25141192

6 years agoImplemented animations for messaging changes
Selim Cinek [Fri, 27 Oct 2017 23:09:20 +0000 (16:09 -0700)]
Implemented animations for messaging changes

The animations for new messages coming in are now happening
more smoothly. They have proper appear and disappear
animations.

Test: manual, add new messages, observe animations
Bug: 63708826
Change-Id: I714e976cfee5c0a2c5187a5c3146a7530739f312

6 years agoRefactored clipping util to be used in core
Selim Cinek [Fri, 27 Oct 2017 22:32:30 +0000 (15:32 -0700)]
Refactored clipping util to be used in core

We need the possibility to disable clipping
up a view hierarchy also in core, so I'm
moving it and refactoring it.

Test: expand, observe normal clipping
Bug: 63708826
Change-Id: I157395be8f2b7ac75afc0a3967cb0f2068a02fb6

6 years agoImproved the headsup notification for messages
Selim Cinek [Fri, 29 Sep 2017 01:23:23 +0000 (18:23 -0700)]
Improved the headsup notification for messages

Previously the heads up notifications and also the collapsed versions were not
displaying in the new style.
They are now displayed in the new style of heads up notifications.

Test: add messaging notification in heads up
Bug: 63708826
Change-Id: I041584cd6ee740fd8c59f332f727ed83c89e777f

6 years agoRedesigned the messaging style
Selim Cinek [Tue, 19 Sep 2017 23:46:56 +0000 (16:46 -0700)]
Redesigned the messaging style

The layout now looks much more recognizable
as a messaging template and enables us to
prepare for more useful functionality.

Test: Send messages and observe display
Bug: 63708826
Change-Id: I896b3692a1e84976e8fd37cf37611ddb1d358fb9

6 years agoMerge "Move isServiceReady to ImsServiceProxyCompat"
Jordan Liu [Tue, 7 Nov 2017 00:20:00 +0000 (00:20 +0000)]
Merge "Move isServiceReady to ImsServiceProxyCompat"
am: e158cdaaa5

Change-Id: I7ce73ab2a139b299de806f9d856544a382fe69e0

6 years agoMerge "Move isServiceReady to ImsServiceProxyCompat"
Jordan Liu [Tue, 7 Nov 2017 00:07:11 +0000 (00:07 +0000)]
Merge "Move isServiceReady to ImsServiceProxyCompat"

6 years agoRemove unneeded JNI method
John Reck [Tue, 7 Nov 2017 00:02:49 +0000 (16:02 -0800)]
Remove unneeded JNI method

Test: ran PFD CTS tests
Change-Id: I9a40319595c757835f7e19a50dc0311077c9e627

6 years agoAdd wide gamut trivial animation to UIBench
John Reck [Mon, 6 Nov 2017 23:58:25 +0000 (15:58 -0800)]
Add wide gamut trivial animation to UIBench

Test: Opened activity, verified SF in wide gamut
Bug: 67382861
Change-Id: I0754580fcbd53600d677757871d26548f273c46b

6 years agoMerge "cmds: add #!s" am: 8911c35df3 am: 2c61e3de27
George Burgess IV [Mon, 6 Nov 2017 23:56:54 +0000 (23:56 +0000)]
Merge "cmds: add #!s" am: 8911c35df3 am: 2c61e3de27
am: 4037fe04d2

Change-Id: If3ccdda50e4542c62a99021576a7717632e5dd40

6 years agoDozeService should call super.dumpOnHandler
Lucas Dupin [Mon, 6 Nov 2017 23:46:50 +0000 (15:46 -0800)]
DozeService should call super.dumpOnHandler

Test: adb shell dumpsys activity service com.android.systemui/com.android.systemui.doze.DozeService
Change-Id: I2ba3f3574f59a4caaafdc4cb7ac014f42080c171
Fixes: 68090397

6 years agoMerge "cmds: add #!s" am: 8911c35df3
George Burgess IV [Mon, 6 Nov 2017 23:45:01 +0000 (23:45 +0000)]
Merge "cmds: add #!s" am: 8911c35df3
am: 2c61e3de27

Change-Id: Ifb1e12b63312570b5451b0e548adf0a5d25c4010

6 years agoMerge "cmds: add #!s"
George Burgess IV [Mon, 6 Nov 2017 23:35:24 +0000 (23:35 +0000)]
Merge "cmds: add #!s"
am: 8911c35df3

Change-Id: Iad6d62889031046a063e6abdd0ed74143c58ba94

6 years agoBatteryService: Clean up init logic.
Yifan Hong [Fri, 3 Nov 2017 01:43:06 +0000 (18:43 -0700)]
BatteryService: Clean up init logic.

* Use getService instead of getTransport, because
  getService checks VINTF already. Init has fewer #
  of hwbinder calls and simpler logic.

* init() calls registerCallback() to HAL synchronously. Now that
  there is a way to check for equality of interfaces in Java,
  registerCallback can be called in HealthServiceWrapper.init()
  earlier, and registerCallback in service notification can
  be avoided when the service pre-exists.

* Instead of making hwbinder calls in a lock in hwbinder threads
  (service notification callback), post to a background HandlerThread.
  As a consequence, no lock is needed because ordering is ensured.
  (Making hwbinder calls in a lock can lead to deadlocks if an
  implementation calls back to system server and tries to acquire the
  same lock.)

Test: boot 20 times
Test: BatteryServiceTest

Change-Id: Id27b789da78f0df9f867cba75d15203a4fb74e04

6 years agoMerge "cmds: add #!s"
Treehugger Robot [Mon, 6 Nov 2017 23:25:27 +0000 (23:25 +0000)]
Merge "cmds: add #!s"

6 years agoSim Pin layout fixes
Lucas Dupin [Mon, 6 Nov 2017 23:13:13 +0000 (15:13 -0800)]
Sim Pin layout fixes

Ensure carrier text will be ellipsized properly,
tint SIM icon.

Change-Id: I0b2dfc8f18c6df9c3ebaad241c78e418f1451d44
Fixes: 68050067
Test: Force SIM auth, change font and display sizes.

6 years agoFix robolectric test failure in settings
Fan Zhang [Mon, 6 Nov 2017 23:10:07 +0000 (15:10 -0800)]
Fix robolectric test failure in settings

Bug: 36971201
Test: rerun robolectric tests
Change-Id: Ib5b9ab3f0d5e4f7099accf03d8c52ab7c744144d

6 years agoConsistent handleApplicationStrictModeViolation.
Jeff Sharkey [Mon, 6 Nov 2017 22:23:03 +0000 (15:23 -0700)]
Consistent handleApplicationStrictModeViolation.

Factor out the logic that calls into ActivityManager, since we have
some evidence of violations being triggering before AM has been
published.

Test: manual
Bug: 68940916
Change-Id: Ie64b1eea42393089a657a9b5ae0c4585a0c83bfa

6 years agoMerge "If the absolute value of a sweep angle >= 360 then draw it as an oval."
TreeHugger Robot [Mon, 6 Nov 2017 21:38:49 +0000 (21:38 +0000)]
Merge "If the absolute value of a sweep angle >= 360 then draw it as an oval."

6 years agoMerge "Fix the nullptr bug after move operation."
TreeHugger Robot [Mon, 6 Nov 2017 21:37:41 +0000 (21:37 +0000)]
Merge "Fix the nullptr bug after move operation."

6 years agoMerge "Move code"
Todd Kennedy [Mon, 6 Nov 2017 21:26:57 +0000 (21:26 +0000)]
Merge "Move code"

6 years agoBatteryService: use @1.0::HealthInfo.
Yifan Hong [Mon, 6 Nov 2017 20:56:59 +0000 (12:56 -0800)]
BatteryService: use @1.0::HealthInfo.

New fields in 2.0::HealthInfo were used for
reporting values through sticky intents (so that
BatteryManager could use those values). Now that
BatteryManager talks to BatteryService through hwbinder,
these values are not needed.

Bug: 63702641
Test: boots
Change-Id: Idd1f7134904ede346aa5834050c78c3b294983d8

6 years agoMerge "Allow to attach jvmti agents from inside of process" am: faffb072a4 am: 491058e089
Philip P. Moltmann [Mon, 6 Nov 2017 21:12:50 +0000 (21:12 +0000)]
Merge "Allow to attach jvmti agents from inside of process" am: faffb072a4 am: 491058e089
am: b567ea9dda

Change-Id: Ie2d729a7c46a558597d626d1ebd5227bf56b1f55

6 years agoNo red bars in battery saver mode
Makoto Onuki [Mon, 6 Nov 2017 21:01:29 +0000 (13:01 -0800)]
No red bars in battery saver mode

We no longer want to show the red bars in the battery saver mode.

Test: manual test
Bug: 68769804
Bug: 63527520
Change-Id: Ib8a86fda025705a552f39742765b03a43329c11f

6 years agoMerge "Allow to attach jvmti agents from inside of process" am: faffb072a4
Philip P. Moltmann [Mon, 6 Nov 2017 20:58:48 +0000 (20:58 +0000)]
Merge "Allow to attach jvmti agents from inside of process" am: faffb072a4
am: 491058e089

Change-Id: Ib636dd1ebcee0bfbd57e12e632137561bb661d3e

6 years agoMerge "Allow to attach jvmti agents from inside of process"
Philip P. Moltmann [Mon, 6 Nov 2017 20:46:12 +0000 (20:46 +0000)]
Merge "Allow to attach jvmti agents from inside of process"
am: faffb072a4

Change-Id: I1f87e45ad3a7c93ab3ba7fd27ac57a1768885faa

6 years agoMerge "Clarify doc of setWifiEnabled return value"
Michael Plass [Mon, 6 Nov 2017 20:41:53 +0000 (20:41 +0000)]
Merge "Clarify doc of setWifiEnabled return value"

6 years agoMerge "Allow to attach jvmti agents from inside of process"
Treehugger Robot [Mon, 6 Nov 2017 20:34:34 +0000 (20:34 +0000)]
Merge "Allow to attach jvmti agents from inside of process"

6 years agoMerge "Display the HD icon in the Call Log" am: 3ef58c56b6 am: 50fb8ff6da
Qi Wang [Mon, 6 Nov 2017 20:01:03 +0000 (20:01 +0000)]
Merge "Display the HD icon in the Call Log" am: 3ef58c56b6 am: 50fb8ff6da
am: 051d6b369b

Change-Id: I557c4a58405d33e1b54db7e8f054f030a64aa6a5

6 years agoMerge "Display the HD icon in the Call Log" am: 3ef58c56b6
Qi Wang [Mon, 6 Nov 2017 19:49:46 +0000 (19:49 +0000)]
Merge "Display the HD icon in the Call Log" am: 3ef58c56b6
am: 50fb8ff6da

Change-Id: Idffacab6edf8bdaf7fb133560f5e9d50cc2c28de

6 years agoMerge "Export getRenderPipelineType"
Bo Liu [Mon, 6 Nov 2017 19:48:54 +0000 (19:48 +0000)]
Merge "Export getRenderPipelineType"