OSDN Git Service

android-x86/frameworks-base.git
6 years ago[QS] Fix alarm text in QS header
Rohan Shah [Fri, 9 Mar 2018 23:47:36 +0000 (15:47 -0800)]
[QS] Fix alarm text in QS header

Alarm text would go away until a restart. Turned out that we were
incorrectly making the view invisible immediately after animating it in
because the listener persisted on the ViewPropertyAnimator (single
instance per View).

Test: Visually using repro steps
Bug: 74359491
Change-Id: I2e0b8a9f4b767450df72f7ea7953f4ed75ae8f4c

6 years agoMerge "Merge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc...
Android Build Merger (Role) [Thu, 8 Mar 2018 21:53:15 +0000 (21:53 +0000)]
Merge "Merge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev am: b6b6c01847 am: bdc573b39b am: d258da6a80" into pi-dev

6 years agoMerge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev am...
Fyodor Kupolov [Thu, 8 Mar 2018 21:52:50 +0000 (21:52 +0000)]
Merge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev am: b6b6c01847 am: bdc573b39b
am: d258da6a80

Change-Id: Ifdaae4a751661cde4019835e067c6516c3d64599

6 years agoMerge "Add secondary text to mobile data tile." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 21:51:40 +0000 (21:51 +0000)]
Merge "Add secondary text to mobile data tile." into pi-dev

6 years agoMerge "[QS] Disable hotspot when data saver is enabled" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 21:43:11 +0000 (21:43 +0000)]
Merge "[QS] Disable hotspot when data saver is enabled" into pi-dev

6 years agoMerge "ImageDecoder: Add getters. Rename setAsAlphaMask" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 21:40:22 +0000 (21:40 +0000)]
Merge "ImageDecoder: Add getters. Rename setAsAlphaMask" into pi-dev

6 years agoMerge "[QS] Update Cellular/data usage tile" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 21:36:59 +0000 (21:36 +0000)]
Merge "[QS] Update Cellular/data usage tile" into pi-dev

6 years agoMerge changes Ib8f43601,I61d82dca into pi-dev
Lucas Dupin [Thu, 8 Mar 2018 21:31:28 +0000 (21:31 +0000)]
Merge changes Ib8f43601,I61d82dca into pi-dev

* changes:
  Show battery percentage on indication field
  Revert "Show battery percentage on indication field"

6 years agoMerge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev am...
Fyodor Kupolov [Thu, 8 Mar 2018 21:27:20 +0000 (21:27 +0000)]
Merge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev am: b6b6c01847
am: bdc573b39b

Change-Id: I42858af9b3a8d5e436ce9bbff0a697290f9803d9

6 years agoMerge "Stop using finalizer in Typeface and FontFamily" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 21:16:47 +0000 (21:16 +0000)]
Merge "Stop using finalizer in Typeface and FontFamily" into pi-dev

6 years agoMerge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev
Fyodor Kupolov [Thu, 8 Mar 2018 20:54:39 +0000 (20:54 +0000)]
Merge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev
am: b6b6c01847

Change-Id: I3bd011083894e1db22b90d38d71a0807facd151f

6 years agoMerge "Set canTurnScreenOn to false for any window with flag." into pi-dev
Chavi Weingarten [Thu, 8 Mar 2018 20:35:58 +0000 (20:35 +0000)]
Merge "Set canTurnScreenOn to false for any window with flag." into pi-dev

6 years agoMerge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev
Fyodor Kupolov [Thu, 8 Mar 2018 20:30:06 +0000 (20:30 +0000)]
Merge changes from topic "am-74e79eb6-59c1-4f9c-a993-72eeee3859c4" into oc-dev

* changes:
  [automerger] Verify last array's length in readFromParcel am: 3b8bc2e450 am: 71478241eb am: e0b5c2d25e am: fa32631c63 am: 3a295c1c7f
  [automerger] Verify last array's length in readFromParcel am: 3b8bc2e450 am: 71478241eb am: e0b5c2d25e am: fa32631c63
  [automerger] Verify last array's length in readFromParcel am: 3b8bc2e450 am: 71478241eb am: e0b5c2d25e
  [automerger] Verify last array's length in readFromParcel am: 3b8bc2e450 am: 71478241eb
  [automerger] Verify last array's length in readFromParcel am: 3b8bc2e450
  Verify last array's length in readFromParcel

6 years agoMerge "Ensure start of call properties are propagated to RemoteConnection." into...
Tyler Gunn [Thu, 8 Mar 2018 20:24:36 +0000 (20:24 +0000)]
Merge "Ensure start of call properties are propagated to RemoteConnection." into pi-dev

6 years agoMerge "Use bool var judge whether the navi-keys enabled" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 20:21:27 +0000 (20:21 +0000)]
Merge "Use bool var judge whether the navi-keys enabled" into pi-dev

6 years agoMerge "[QS] Tweak tooltip color & shown count" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 20:14:35 +0000 (20:14 +0000)]
Merge "[QS] Tweak tooltip color & shown count" into pi-dev

6 years agoMerge "Remove PowerProfile.POWER_NONE" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 20:14:30 +0000 (20:14 +0000)]
Merge "Remove PowerProfile.POWER_NONE" into pi-dev

6 years agoMerge "Couple mResumedActivity to Activity lifecycle." into pi-dev
Bryce Lee [Thu, 8 Mar 2018 20:10:20 +0000 (20:10 +0000)]
Merge "Couple mResumedActivity to Activity lifecycle." into pi-dev

6 years agoMerge "Initialize mWcdmaRscpAsu and fix invalid value for asu" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 19:51:12 +0000 (19:51 +0000)]
Merge "Initialize mWcdmaRscpAsu and fix invalid value for asu" into pi-dev

6 years agoMerge "Support ENVELOPE (EVENT DOWNLOAD - User activity) command" into pi-dev
Jordan Liu [Thu, 8 Mar 2018 19:49:47 +0000 (19:49 +0000)]
Merge "Support ENVELOPE (EVENT DOWNLOAD - User activity) command" into pi-dev

6 years agoAdd secondary text to mobile data tile.
Amin Shaikh [Mon, 5 Mar 2018 19:34:44 +0000 (14:34 -0500)]
Add secondary text to mobile data tile.

- Update data content description for the mobile data tile to include no
internet connectivity
- Update strings for telephony icons to show that they are no longer
only used for accessibility purposes

Bug: 74192657
Test: runtest systemui
Change-Id: I95f36e871dedfc9caea53326e8ee198f141fb8a8

6 years agoMerge "Fix basic broadcastradio HAL 1.1/2.0 functionality." into pi-dev
Tomasz Wasilczyk [Thu, 8 Mar 2018 19:44:04 +0000 (19:44 +0000)]
Merge "Fix basic broadcastradio HAL 1.1/2.0 functionality." into pi-dev

6 years agoMerge "Calculate timestamp using local time zone in system update unit tests" into...
TreeHugger Robot [Thu, 8 Mar 2018 19:34:21 +0000 (19:34 +0000)]
Merge "Calculate timestamp using local time zone in system update unit tests" into pi-dev

6 years agoMerge "Cutout: Fix status bar layout" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 19:25:07 +0000 (19:25 +0000)]
Merge "Cutout: Fix status bar layout" into pi-dev

6 years agoImageDecoder: Add getters. Rename setAsAlphaMask
Leon Scroggins III [Thu, 8 Mar 2018 15:32:10 +0000 (10:32 -0500)]
ImageDecoder: Add getters. Rename setAsAlphaMask

Bug: 73788928
Test: I1606cbb4e71579160ffaef12c1ed738fad882cd1

This will allow Kotlin developers to treat the setters as properties.

Part of the motivation for the rename is that "getAsAlphaMask" sounds
like it returns an alpha mask itself. Rename both to
_etDecodeAsAlphaMask.

Change-Id: I8f9b04f8381840490b662c3bcd37a95442af8110

6 years agoMerge "API Documentation and Constant cleanup." into pi-dev
Tyler Gunn [Thu, 8 Mar 2018 18:59:53 +0000 (18:59 +0000)]
Merge "API Documentation and Constant cleanup." into pi-dev

6 years agoShow battery percentage on indication field
Lucas Dupin [Thu, 8 Mar 2018 18:34:58 +0000 (10:34 -0800)]
Show battery percentage on indication field

Supports two battery formats until all locales are updated

Test: visual
Test: switch language, observe.
Change-Id: Ib8f43601a85f24b8e315d7c67c8693060fc6d32b
Bug: 74386188

6 years agoRevert "Show battery percentage on indication field"
Lucas Dupin [Thu, 8 Mar 2018 18:23:17 +0000 (18:23 +0000)]
Revert "Show battery percentage on indication field"

This reverts commit 15ab3693363ca81cd2224018317b8429afd695e9.

Reason for revert: IllegalFormatConversionException

Fixes: 74386188
Change-Id: I61d82dca45a4b0b973c9ea572c63cbbb8125758d

6 years agoMerge "Don't use android namespaces in docs" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 18:28:39 +0000 (18:28 +0000)]
Merge "Don't use android namespaces in docs" into pi-dev

6 years agoMerge "Remove upper left X icon on mobile signal." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 18:17:59 +0000 (18:17 +0000)]
Merge "Remove upper left X icon on mobile signal." into pi-dev

6 years agoUse bool var judge whether the navi-keys enabled
Siarhei Vishniakou [Tue, 6 Mar 2018 04:09:08 +0000 (20:09 -0800)]
Use bool var judge whether the navi-keys enabled

[Performance] if device enabled the system navigation keys,the system
will go to readthe Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED
provider while the driverreport KEYCODE_SYSTEM_NAVIGATION_RIGHT
every times,this operation has a serious impact on performance

Test: cherry-picked from aosp
Bug: 74392035
Change-Id: Ia30d14c136b7798e2997d43bc601cb361c853e0d
Signed-off-by: 周雷 <zhoulei5@xiaomi.com>
(cherry picked from commit 6aed2ee2082c5ae2319a9e0e333e3d030ce75345)

6 years agoRemove PowerProfile.POWER_NONE
Mike Ma [Thu, 8 Mar 2018 18:14:46 +0000 (10:14 -0800)]
Remove PowerProfile.POWER_NONE

Change-Id: I49b3f3989a675bcb1ef83f5b86a55f3f5a0d3b2f
Fixes: 74389802
Test: com.android.internal.os.PowerProfileTest

6 years ago[QS] Update Cellular/data usage tile
Rohan Shah [Wed, 28 Feb 2018 23:13:31 +0000 (15:13 -0800)]
[QS] Update Cellular/data usage tile

Updated intent and API. We were using an explicit intent and there's
changes going on in the Settings team that change the activity name and
enabled states. Updating to an implicit event as with other parts of the
Settings app (e.g. Bluetooth).

Test: Visually
Bug: 73586207
Change-Id: Ifa5125b4770927521d9267569d487319efdb9f9f

6 years ago[QS] Tweak tooltip color & shown count
Rohan Shah [Thu, 1 Mar 2018 19:57:00 +0000 (11:57 -0800)]
[QS] Tweak tooltip color & shown count

Limiting count to 2 (down from 3). Also updated the text color so it no
longer looks clickable.

Test: visually
Bug: 74075675
Change-Id: I86fbb5ae7481f6d19b7e6722832ac600595ad7ea
(cherry picked from commit a853aa7fe55d5c2674606891205ce98e0e4f0e75)

6 years ago[QS] Disable hotspot when data saver is enabled
Rohan Shah [Thu, 1 Mar 2018 21:15:13 +0000 (13:15 -0800)]
[QS] Disable hotspot when data saver is enabled

Added new callback for data saver and used the data saver enabled state
to determine whether the tile was available (similar to how airplane
mode works).

Test: Visually (via toggling both data saver/hotspot tiles)
Bug: 33003328
Change-Id: I0b0e5e382ab2a9ee13d4412ed059c523795b68c7
(cherry picked from commit a23980f1d83c07acc933dca552c6e032495288a7)

6 years agoFix basic broadcastradio HAL 1.1/2.0 functionality.
Tomasz Wasilczyk [Wed, 7 Mar 2018 22:46:34 +0000 (14:46 -0800)]
Fix basic broadcastradio HAL 1.1/2.0 functionality.

This change fixes a few minor gaps preventing the reference radio app
from accessing HAL 1.1 and 2.0 devices:
- createAmFmSelector not detecting the radio band
- don't allow configuration-dependant operations before the configuration
  is applied
- allow the initial configuration to be auto-selected

Bug: 74353024
Test: manual
Change-Id: If47872c1bf4cf57c6c39715218d90df9701c372d

6 years agoMerge "Synchronize all WindowTestsBase and WindowTestUtils methods." into pi-dev
Chavi Weingarten [Thu, 8 Mar 2018 17:26:31 +0000 (17:26 +0000)]
Merge "Synchronize all WindowTestsBase and WindowTestUtils methods." into pi-dev

6 years agoEnsure start of call properties are propagated to RemoteConnection.
Tyler Gunn [Wed, 7 Mar 2018 18:19:50 +0000 (18:19 +0000)]
Ensure start of call properties are propagated to RemoteConnection.

Some properties were not being propagated to a RemoteConnection when
a Connection is first created.  This can cause problems where the
Connection Manager is not aware of these property changes, especially if
they never change again during the lifetime of a call.

The extras set when a Connection is first created using the
RemoteConnectionService API would not be propagated to the
RemoteConnection.  This means that Telephony RAT reporting would never
happen if the radio technology never changes during a call.

Bug: 72811636
Test: Manual
Change-Id: Ia523cee477a39c221953cda68c29579cb5f6ed76
Merged-In: 06a96eab13992b7eb36435f2b145756993aed575
(cherry picked from commit 06a96eab13992b7eb36435f2b145756993aed575)

6 years agoDon't use android namespaces in docs
Jason Monk [Thu, 8 Mar 2018 16:35:55 +0000 (11:35 -0500)]
Don't use android namespaces in docs

We don't want to encourage devs to do that.

Test: none
Change-Id: I5633fc2a5b9bddddcc67daaff43798c9b66d036c
Fixes: 73123987

6 years agoMerge "Tag @SystemApi to ambient brightness stats API" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 15:59:50 +0000 (15:59 +0000)]
Merge "Tag @SystemApi to ambient brightness stats API" into pi-dev

6 years agoRemove upper left X icon on mobile signal.
Amin Shaikh [Thu, 8 Mar 2018 15:29:56 +0000 (10:29 -0500)]
Remove upper left X icon on mobile signal.

Use the signal drawable cutout to represent both data disabled and no
internet state. ag/3690757 displays the description of these icons ("No
internet" or "Mobile data off") in the secondary text of the mobile data
tile.

Bug: 72540392
Test: visual && runtest systemui
Change-Id: I806c41bc96420c42461c0a75b93a485f9a2186f7

6 years agoMerge "Add permission check to setAllowOnlyVpnForUids" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 15:38:18 +0000 (15:38 +0000)]
Merge "Add permission check to setAllowOnlyVpnForUids" into pi-dev

6 years agoSet canTurnScreenOn to false for any window with flag.
chaviw [Wed, 7 Mar 2018 23:03:38 +0000 (15:03 -0800)]
Set canTurnScreenOn to false for any window with flag.

There are cases where the window has the flag TURN_SCREEN_ON but
the other checks aren't satisfied. In those cases, canTurnScreenOn
will still be true allowing another relayout to turn the screen on.
Instead, set canTurnScreenOn flag to false if any window has the
flag TURN_SCREEN_ON, regardless if the other conditions are met.

The previous fix If8ff9ba1afb1f7f9632e8c911ed475aed531b880 broke
the testTurnScreenOnActivity_withRelayout test so this is a more
correct solution.

Change-Id: I3fa6285cd5f246e96f9034a7af76b8828e16c15d
Fixes: 74086704
Test: testTurnScreenOnActivity_withRelayout

6 years agoMerge "ParceledListSlice shouldn't be created with null" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 15:28:11 +0000 (15:28 +0000)]
Merge "ParceledListSlice shouldn't be created with null" into pi-dev

6 years agoCalculate timestamp using local time zone in system update unit tests
Rubin Xu [Wed, 7 Mar 2018 11:32:32 +0000 (11:32 +0000)]
Calculate timestamp using local time zone in system update unit tests

Replace hardcoded timestamp for test dates with values calculated
from local time zone, because the SystemUpdatePolicy API assumes
dates and timestamps are in local time zone. Also tweak test dates
to avoid daylight saving time boundaries.

Bug: 74335646
Test: runtest frameworks-services -c com.android.server.devicepolicy.SystemUpdatePolicyTest

Change-Id: I532cd485a8ddd8b2a652fa90dee0deb932954662

6 years agoMerge "Remove registerSliceCallback and formalize setCallerNeeded" into pi-dev
Jason Monk [Thu, 8 Mar 2018 15:02:26 +0000 (15:02 +0000)]
Merge "Remove registerSliceCallback and formalize setCallerNeeded" into pi-dev

6 years agoMerge "Global actions visuals - color and ordering changes." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 15:01:46 +0000 (15:01 +0000)]
Merge "Global actions visuals - color and ordering changes." into pi-dev

6 years agoMerge "Ringer state is saved when zen mode is off" into pi-dev
Beverly Tai [Thu, 8 Mar 2018 14:14:19 +0000 (14:14 +0000)]
Merge "Ringer state is saved when zen mode is off" into pi-dev

6 years agoMerge "Use proper start op overload in all places" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 13:59:28 +0000 (13:59 +0000)]
Merge "Use proper start op overload in all places" into pi-dev

6 years agoMerge "Make MediaPlaylistAgent updatable" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 12:08:47 +0000 (12:08 +0000)]
Merge "Make MediaPlaylistAgent updatable" into pi-dev

6 years agoCutout: Fix status bar layout
Adrian Roos [Thu, 8 Mar 2018 11:52:22 +0000 (12:52 +0100)]
Cutout: Fix status bar layout

Fixes an issue where the status bar would not lay out under
the cutout if it was the IME target.

Change-Id: Ib5d1bbbf6311a0bcd1694a5dc69076f24b88b5e8
Fixes: 74369579
Test: Receive notification with Direct Reply, open direct reply, verify status bar stays under cutout.

6 years agoMerge "VideoView2: Remove setRouteAttributes" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 10:34:29 +0000 (10:34 +0000)]
Merge "VideoView2: Remove setRouteAttributes" into pi-dev

6 years agoAdd permission check to setAllowOnlyVpnForUids
Rubin Xu [Thu, 11 Jan 2018 10:59:19 +0000 (10:59 +0000)]
Add permission check to setAllowOnlyVpnForUids

Bug: 63000005
Test: runtest frameworks-net -c com.android.server.connectivity.VpnTest
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.MixedDeviceOwnerTest#testAlwaysOnVpnLockDown
Change-Id: Ia1a82ee73d8617f3124032986fe6c09c14bf7752

6 years agoMerge "MediaSession2: Clean up TODOs under frameworks/base" into pi-dev
Jaewan Kim [Thu, 8 Mar 2018 08:56:50 +0000 (08:56 +0000)]
Merge "MediaSession2: Clean up TODOs under frameworks/base" into pi-dev

6 years agoMake MediaPlaylistAgent updatable
Sungsoo Lim [Thu, 8 Mar 2018 06:14:34 +0000 (15:14 +0900)]
Make MediaPlaylistAgent updatable

Bug: 74366050
Test: build
Change-Id: Iea8e4d9b6a11393bd837da90394d95529fdbe5eb

6 years agoMerge "pm: Modify getPackage() to only return non-null packages" into pi-dev
Jeffrey Vander Stoep [Thu, 8 Mar 2018 08:27:44 +0000 (08:27 +0000)]
Merge "pm: Modify getPackage() to only return non-null packages" into pi-dev

6 years agoDisable LTO temporarily for hwui
Pirama Arumuga Nainar [Thu, 8 Mar 2018 07:24:02 +0000 (23:24 -0800)]
Disable LTO temporarily for hwui

Bug: http://b/62839002

LTO does not seem to interact well with PGO profile-file updates and
incremental builds in the build servers.

Test: build
Change-Id: I42175b2376b374d00ec169d4fe8d84cd938b21e5

6 years agoUse proper start op overload in all places
Svet Ganov [Thu, 8 Mar 2018 05:40:28 +0000 (21:40 -0800)]
Use proper start op overload in all places

Test: issued a sequences of app ops that led to a crash
      and after the fix this sequence no longer causes
      a crash

bug: 74209446

Change-Id: I5064b51387ed98e42743ed94ef92114944f28761

6 years agoVideoView2: Remove setRouteAttributes
Sungsoo Lim [Mon, 26 Feb 2018 12:01:56 +0000 (21:01 +0900)]
VideoView2: Remove setRouteAttributes

Being consistent, create route player internally and do not expose it
since VideoView2 creats a MediaPlayer inside and do not expose it.

Bug: 72527212
Test: manually with VideoViewTest
Change-Id: I6db3bc668f6ab77587fed49b2d34611bc3c30465

6 years agoMediaSession2: Clean up TODOs under frameworks/base
Jaewan Kim [Thu, 8 Mar 2018 01:47:00 +0000 (10:47 +0900)]
MediaSession2: Clean up TODOs under frameworks/base

This change includes
  - Addressed trivial TODOs (takes less than 1min)
  - Renamed playlist controller to playlist agent
  - Renamed mplc to playlistAgent
  - Renamed mpb to player
  - Assigned buganizer issues for TODOs

Bug: 74361045
Test: Run MediaComponentsTest
Change-Id: I45e97081b5a3f24988c3daadd007edcb51be5288

6 years agoMerge "Statsd cpu optimizaton" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 04:03:19 +0000 (04:03 +0000)]
Merge "Statsd cpu optimizaton" into pi-dev

6 years agoMerge "Show app ops guts when tap app ops icons" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 04:00:37 +0000 (04:00 +0000)]
Merge "Show app ops guts when tap app ops icons" into pi-dev

6 years agoMerge "Tapping overview button when quickstep enabled shows overview" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 03:51:17 +0000 (03:51 +0000)]
Merge "Tapping overview button when quickstep enabled shows overview" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 02:58:27 +0000 (02:58 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Dumping stack traces to proto." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 01:55:13 +0000 (01:55 +0000)]
Merge "Dumping stack traces to proto." into pi-dev

6 years agoMerge "AudioFormat: java-native conversion for xHE-AAC" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 01:54:50 +0000 (01:54 +0000)]
Merge "AudioFormat: java-native conversion for xHE-AAC" into pi-dev

6 years agoMerge "Fix accessibility action parceling" into pi-dev
Phil Weaver [Thu, 8 Mar 2018 01:49:43 +0000 (01:49 +0000)]
Merge "Fix accessibility action parceling" into pi-dev

6 years agoTapping overview button when quickstep enabled shows overview
Matthew Ng [Thu, 1 Mar 2018 21:21:43 +0000 (13:21 -0800)]
Tapping overview button when quickstep enabled shows overview

This is the systemui side of showing launcher's overview when it decides
to allow users to trigger overview with the overview button in the
navigation bar when quickstep is enabled.

Test: manual - tap overview button in nav bar
Bug: 67957962
Change-Id: I0d59d60d4b4ce1df9dcf2a745f9a5efd415b8582

6 years agoShow app ops guts when tap app ops icons
Julia Reynolds [Wed, 28 Feb 2018 21:31:35 +0000 (16:31 -0500)]
Show app ops guts when tap app ops icons

Test: runtest systemui
Bug: 64085448
Change-Id: Ia51044f77311ab705ffb9dd1ae204d0131316396

6 years agoMerge "Do not depend on task activities decrementing with finish." into pi-dev
Bryce Lee [Thu, 8 Mar 2018 01:40:13 +0000 (01:40 +0000)]
Merge "Do not depend on task activities decrementing with finish." into pi-dev

6 years agoStatsd cpu optimizaton
Yangster [Thu, 8 Mar 2018 01:30:49 +0000 (17:30 -0800)]
Statsd cpu optimizaton

- cache the changed dimensions in condition tracker.
- avoid query condition wizard when unnecessary.
- avoid copy dimension keys in condition key generation.

Test: statsd tests.

BUG: b/73959649
Change-Id: I17d68e2a82643de3f421309841e75f84c6fd8f43

6 years agoMerge "Add colorProgressBackgroundNormal" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 01:07:31 +0000 (01:07 +0000)]
Merge "Add colorProgressBackgroundNormal" into pi-dev

6 years agoMerge "Implement front-end support for HAL 2.0 metadata." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 00:46:08 +0000 (00:46 +0000)]
Merge "Implement front-end support for HAL 2.0 metadata." into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 7 Mar 2018 22:30:57 +0000 (14:30 -0800)]
Import translations. DO NOT MERGE

BUG:72647570

Change-Id: I1f9e429f8742e81b310a026d0504967f9726f9b4
Auto-generated-cl: translation import

6 years agoMerge "AudioFormat: Uncomment conversion for EAC3-JOC" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 00:34:40 +0000 (00:34 +0000)]
Merge "AudioFormat: Uncomment conversion for EAC3-JOC" into pi-dev

6 years agoMerge "Refactor cpu stats pullers" into pi-dev
Chenjie Yu [Thu, 8 Mar 2018 00:24:00 +0000 (00:24 +0000)]
Merge "Refactor cpu stats pullers" into pi-dev

6 years agoMerge "Show system uptime in bugreport (dumpsys alarm)" into pi-dev
Makoto Onuki [Thu, 8 Mar 2018 00:23:34 +0000 (00:23 +0000)]
Merge "Show system uptime in bugreport (dumpsys alarm)" into pi-dev

6 years agoInitialize mWcdmaRscpAsu and fix invalid value for asu
takeshi tanigawa [Wed, 7 Mar 2018 07:54:12 +0000 (16:54 +0900)]
Initialize mWcdmaRscpAsu and fix invalid value for asu

Initialize mWcdmaRscpAsu in the constructor.
Update an invalid value of asu from -1 to 255.

Test: auto - Passed SignalStrengthTest
Bug: 71329173
Change-Id: Ic6c03fa3c405377b23159038a1e23a45ba87239c
Merged-In: Ic6c03fa3c405377b23159038a1e23a45ba87239c

6 years agoMerge "Fix NPE if app context is null" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 00:15:22 +0000 (00:15 +0000)]
Merge "Fix NPE if app context is null" into pi-dev

6 years agoMerge "Verify the content length in the verity digest" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 00:15:18 +0000 (00:15 +0000)]
Merge "Verify the content length in the verity digest" into pi-dev

6 years agoMerge "Don't consume all BACK keys in SearchView" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 00:13:43 +0000 (00:13 +0000)]
Merge "Don't consume all BACK keys in SearchView" into pi-dev

6 years agoMerge "Setting the alpha on the full bitmap for AdaptiveIcon instead of individual...
TreeHugger Robot [Wed, 7 Mar 2018 23:58:24 +0000 (23:58 +0000)]
Merge "Setting the alpha on the full bitmap for AdaptiveIcon instead of individual layers" into pi-dev

6 years agoMerge "Fix mismatch in parcel read/write in ParcelableCasData -- DO NOT MERGE" into...
Chong Zhang [Wed, 7 Mar 2018 23:44:55 +0000 (23:44 +0000)]
Merge "Fix mismatch in parcel read/write in ParcelableCasData -- DO NOT MERGE" into oc-dev am: 5d2153d17c am: 2d0e5b6acc  -s ours
am: c551f11cd6  -s ours

Change-Id: Id5ade2438e3a4716ca4ac69fa11438169dd2e763

6 years agoMerge "Don't store lockout deadline in lockSettings" into pi-dev
TreeHugger Robot [Wed, 7 Mar 2018 23:41:32 +0000 (23:41 +0000)]
Merge "Don't store lockout deadline in lockSettings" into pi-dev

6 years agoMerge "Fix mismatch in parcel read/write in ParcelableCasData -- DO NOT MERGE" into...
Chong Zhang [Wed, 7 Mar 2018 23:39:11 +0000 (23:39 +0000)]
Merge "Fix mismatch in parcel read/write in ParcelableCasData -- DO NOT MERGE" into oc-dev am: 5d2153d17c
am: 2d0e5b6acc  -s ours

Change-Id: I231859f9e26c99ae3a34241842e50f4d44d23f93

6 years agoAPI Documentation and Constant cleanup.
Tyler Gunn [Wed, 7 Mar 2018 21:09:48 +0000 (21:09 +0000)]
API Documentation and Constant cleanup.

1. Update handover API docs for clarity.
2. Added an unknown value per API review comments.
3. Renamed HANDOVER_FAILURE_DEST_USER_REJECTED to
HANDOVER_FAILURE_USER_REJECTED
3. Removed the HANDOVER_FAILURE_DEST_INVALID_PERM constant since it isn't
used (methods which deal with permissions throw security exceptions).

Test: Make doc and verify documentation.
Fixes: 73751004
Fixes: 73750515
Fixes: 73750817
Merged-In: I7860fcd813f25adaaccf632f2c61dd4138a0a889
Change-Id: I7860fcd813f25adaaccf632f2c61dd4138a0a889
(cherry picked from commit c7a86b14a8e50d979b6b1c9e3dffe94748e2bc93)

6 years agoMerge "Fix mismatch in parcel read/write in ParcelableCasData -- DO NOT MERGE" into...
Chong Zhang [Wed, 7 Mar 2018 23:17:01 +0000 (23:17 +0000)]
Merge "Fix mismatch in parcel read/write in ParcelableCasData -- DO NOT MERGE" into oc-dev
am: 5d2153d17c

Change-Id: I04e026a96e1899ba9496979561df5680297f546a

6 years agoSupport ENVELOPE (EVENT DOWNLOAD - User activity) command
Yoshiaki Naka [Fri, 15 Sep 2017 06:24:34 +0000 (15:24 +0900)]
Support ENVELOPE (EVENT DOWNLOAD - User activity) command

The terminal shall send the ENVELOPE (EVENT DOWNLOAD - User activity)
command to the UICC when some user activity like a key-press or touch is
detected if the user activity event is a part of the current event list.
This change allows the SIM Toolkit application to support that event.
Please refer to the specification of SET UP EVENT LIST command described
in ETSI TS 102.223.

Bug: 65884891
Test: Confirmed the expected seq 1.1 of ETSI TS 102.384 TC 27.22.4.16
Change-Id: I7d3faa09cd4625db53bcfe21f90570389a4ea037

6 years agoAudioFormat: java-native conversion for xHE-AAC
Jean-Michel Trivi [Wed, 7 Mar 2018 23:02:44 +0000 (15:02 -0800)]
AudioFormat: java-native conversion for xHE-AAC

Bug: 71430241
Test: only once we have decoder
Change-Id: Ifab4e887d1516da45eed762a8a4d92c3b8f1f95c

6 years agoMerge "Fix mismatch in parcel read/write in ParcelableCasData -- DO NOT MERGE" into...
Chong Zhang [Wed, 7 Mar 2018 22:59:15 +0000 (22:59 +0000)]
Merge "Fix mismatch in parcel read/write in ParcelableCasData -- DO NOT MERGE" into oc-dev

6 years agoMerge "Window: Provide frame size hint to ViewRootImpl" into pi-dev
Adrian Roos [Wed, 7 Mar 2018 22:58:34 +0000 (22:58 +0000)]
Merge "Window: Provide frame size hint to ViewRootImpl" into pi-dev

6 years agoCouple mResumedActivity to Activity lifecycle.
Bryce Lee [Mon, 5 Mar 2018 22:19:26 +0000 (14:19 -0800)]
Couple mResumedActivity to Activity lifecycle.

mResumedActivity is a cached reference to the currently resumed
activity in a stack. Previously, this value was set on demand at
various points in the code. This can lead to discord with the
ActivityRecord if the activity updates state without the containing
ActivityStack being directly aware of the change.

This changelist addresses the issue by placing mResumedActivity
behind an accessor. A callback path has been added from
ActivityRecord to the ActivityStack, signaling when the activity's
state has changed. The stack can then update the state accordingly.

Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackTests#testResumedActivity
Bug: 66344012
Fixes: 74118620
Change-Id: If950fd4c41f044ec67722ccc5b1d631cead70bce

6 years agoGlobal actions visuals - color and ordering changes.
Alison Cichowlas [Wed, 7 Mar 2018 00:48:06 +0000 (19:48 -0500)]
Global actions visuals - color and ordering changes.

Test: Manual, with light & dark themes
Bug: 72404596

Change-Id: I739035d8a2824af801e2a5a1bbb8541594d43267

6 years agoMerge "Apply prior tint to rotate icon on recreation" into pi-dev
Mike Digman [Wed, 7 Mar 2018 22:47:40 +0000 (22:47 +0000)]
Merge "Apply prior tint to rotate icon on recreation" into pi-dev

6 years agoApply prior tint to rotate icon on recreation
Mike Digman [Tue, 6 Mar 2018 21:08:33 +0000 (13:08 -0800)]
Apply prior tint to rotate icon on recreation

In very rare circumstances, it's possible for the rotate icon
to be recreated but not have the dark intensity set. Fix this
by applying prior icon's intensity.

Test: manual but heisenbug so very hard to validate
Fixes: 74354524
Change-Id: I042de35e725794b04f5250fa3a2fc5a54d65d143

6 years agoAdd colorProgressBackgroundNormal
Andrew Sapperstein [Tue, 27 Feb 2018 20:52:17 +0000 (12:52 -0800)]
Add colorProgressBackgroundNormal

Adds new private theme attr colorProgressBackgroundNormal which
the default material/devicedefault progress/seekbar backgrounds
use for their background tint.

Added default values for Material/DeviceDefault themes. Material's
is colorControlNormal.

Adds a new config_progress_background_tint color resource that OEMs can
overlay. Default value is colorControlNormal since AOSP should not
change the tint. OEMs who wish to change the default can simply
overlay config_progress_background_tint with their preferred color.

Finally, deletes the unnecessary control_nodisable_material which
was just a layer of indirection pointing to colorControlNormal.

Bug: 69314526
Test: ag/3665368
Change-Id: I6443e08469677cdf31d99c73966b437e5a1f2472

6 years agoMerge "Improve a11y pane title javadoc" into pi-dev
Phil Weaver [Wed, 7 Mar 2018 22:38:07 +0000 (22:38 +0000)]
Merge "Improve a11y pane title javadoc" into pi-dev

6 years agoImplement front-end support for HAL 2.0 metadata.
Tomasz Wasilczyk [Fri, 23 Feb 2018 17:53:35 +0000 (09:53 -0800)]
Implement front-end support for HAL 2.0 metadata.

Bug: 73816100
Test: instrumentation
Change-Id: I1d4e9094f7a2eaf13a14f5fa560a391fcbae9804

6 years agoMerge "Screenshots broken for activities with dialog themes" into pi-dev
Adrian Roos [Wed, 7 Mar 2018 22:21:21 +0000 (22:21 +0000)]
Merge "Screenshots broken for activities with dialog themes" into pi-dev

6 years agoMerge "Revert "Revert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion...
TreeHugger Robot [Wed, 7 Mar 2018 22:20:46 +0000 (22:20 +0000)]
Merge "Revert "Revert "pm: SharedUserId: Assign seinfo using actual targetSdkVersion""" into pi-dev