OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add dedicated signature permissions to platform manifest and shell manifest...
Baisheng Zheng [Mon, 12 Feb 2018 01:34:00 +0000 (01:34 +0000)]
Merge "Add dedicated signature permissions to platform manifest and shell manifest which could enable/disable BT and Wifi state on watch"

6 years agoMerge "Log app start to statsd"
Zhi An Ng [Mon, 12 Feb 2018 00:34:36 +0000 (00:34 +0000)]
Merge "Log app start to statsd"

6 years agoMerge "Revert "Fix MediaDrm security level APIs""
TreeHugger Robot [Sun, 11 Feb 2018 17:16:14 +0000 (17:16 +0000)]
Merge "Revert "Fix MediaDrm security level APIs""

6 years agoRevert "Fix MediaDrm security level APIs"
Tobias Thierer [Sun, 11 Feb 2018 15:01:04 +0000 (15:01 +0000)]
Revert "Fix MediaDrm security level APIs"

This reverts commit 778639efbe1db003487f788a4e7f513414bcfd7c.

Reason for revert: Build cop here. The CL topic that I'm reverting broke several builds: Drm.h's openSession(Vector<uint8_t> &sessionId) hides overloaded virtual function openSession(DrmPlugin::SecurityLevel securityLevel, ..) from IDrm.h.

https://android-build.googleplex.com/builds/submitted/4598692/full-eng/latest/view/logs/build_error.log

Change-Id: I86bb202125b17bdeea12c414f3eca2a9e016dac2

6 years agoAdd dedicated signature permissions to platform manifest and shell manifest which...
baisheng [Thu, 25 Jan 2018 10:07:24 +0000 (18:07 +0800)]
Add dedicated signature permissions to platform manifest and shell manifest which could enable/disable BT and Wifi state on watch

Skip Bluetooth consent UI if running on shell, also fix a typo in log message.

Test: Manual test running `adb root; adb shell service call bluetooth_manager 6` and see if BT is on without consent UI.
Bug: 69872231
Change-Id: Ie513794a7fc13041259fd84734bfc651495ba5cf

6 years agoMerge "Update netpolicy,bstats tests to not assume DUT will be plugged-in."
TreeHugger Robot [Sun, 11 Feb 2018 03:06:22 +0000 (03:06 +0000)]
Merge "Update netpolicy,bstats tests to not assume DUT will be plugged-in."

6 years agoUpdate netpolicy,bstats tests to not assume DUT will be plugged-in.
Sudheer Shanka [Sun, 11 Feb 2018 00:31:34 +0000 (16:31 -0800)]
Update netpolicy,bstats tests to not assume DUT will be plugged-in.

Bug: 73037837
Test: atest com.android.server.net.ConnOnActivityStartTest
Test: atest com.android.internal.os.BstatsCpuTimesValidationTest
Change-Id: I0647b6746d7d2cc9e4d24dfb14321f3fa5ac7f1c

6 years agoRemove broadcastradio HAL 1.2 support from the framework.
Tomasz Wasilczyk [Thu, 8 Feb 2018 22:17:54 +0000 (14:17 -0800)]
Remove broadcastradio HAL 1.2 support from the framework.

Bug: 62945293
Test: it boots
Change-Id: I7f434ed7ef07d0cf9afa93c17e78f2bf80f43b36

6 years agoMerge "Use proper string formatting for the "Active device" string" am: 1b5703f9e9...
Pavlin Radoslavov [Sat, 10 Feb 2018 09:40:05 +0000 (09:40 +0000)]
Merge "Use proper string formatting for the "Active device" string" am: 1b5703f9e9 am: 7cb1dbd38a
am: b59037596a

Change-Id: Ie29b906d4592b613dc91f3ad858e543ff8e5f7a2

6 years agoMerge "Use proper string formatting for the "Active device" string" am: 1b5703f9e9
Pavlin Radoslavov [Sat, 10 Feb 2018 09:27:54 +0000 (09:27 +0000)]
Merge "Use proper string formatting for the "Active device" string" am: 1b5703f9e9
am: 7cb1dbd38a

Change-Id: I7b9eee4064112569c2dead6bc10d232d2b4cc118

6 years agoMerge "Use proper string formatting for the "Active device" string"
Pavlin Radoslavov [Sat, 10 Feb 2018 09:16:20 +0000 (09:16 +0000)]
Merge "Use proper string formatting for the "Active device" string"
am: 1b5703f9e9

Change-Id: I53fcb586273b02339e83f2514274e3be662b67ba

6 years agoMerge "add a current table in CarrierIdProvider"
Chen Xu [Sat, 10 Feb 2018 05:46:49 +0000 (05:46 +0000)]
Merge "add a current table in CarrierIdProvider"

6 years agoMerge "Register for fallback vibration's death"
TreeHugger Robot [Sat, 10 Feb 2018 04:30:30 +0000 (04:30 +0000)]
Merge "Register for fallback vibration's death"

6 years agoMerge changes from topic "revert-assetmanager2-02-09-2018"
TreeHugger Robot [Sat, 10 Feb 2018 03:42:41 +0000 (03:42 +0000)]
Merge changes from topic "revert-assetmanager2-02-09-2018"

* changes:
  Revert "Replace AssetManager with AssetManager2 implementation"
  Revert "libandroidfw: Make sure to set the 'app as lib' flag"
  Revert "Make idiomatic use of ApkAssets and AssetManager"
  Revert "libandroidfw: Add ApplyStyle and SetConfiguration benchmark"
  Revert "libandroidfw: Improve performance of AssetManager2"
  Revert "AssetManager2: Allow out of order type/type spec"
  Revert "AssetManager2: Fix list function"
  Revert "AssetManager2: Fix issue with native cast"

6 years agoMerge "Benchmark: stats_write"
TreeHugger Robot [Sat, 10 Feb 2018 03:33:20 +0000 (03:33 +0000)]
Merge "Benchmark: stats_write"

6 years agoMerge "Fix MediaDrm security level APIs"
TreeHugger Robot [Sat, 10 Feb 2018 03:28:03 +0000 (03:28 +0000)]
Merge "Fix MediaDrm security level APIs"

6 years agoMerge "AOD font sizes"
TreeHugger Robot [Sat, 10 Feb 2018 02:45:25 +0000 (02:45 +0000)]
Merge "AOD font sizes"

6 years agoLog app start to statsd
Ng Zhi An [Wed, 31 Jan 2018 01:12:39 +0000 (17:12 -0800)]
Log app start to statsd

Bug: 72713338
Test: manual, open app, logcat -b stats
Change-Id: Ic5dc74a637601df443de29eb6f13bd63dd03c6e7

6 years agoMerge "MediaPlayer2: hook up srcId."
TreeHugger Robot [Sat, 10 Feb 2018 02:31:46 +0000 (02:31 +0000)]
Merge "MediaPlayer2: hook up srcId."

6 years agoMerge "Add InCallService docs to state prerequisites for be being a dialer app."...
Tyler Gunn [Sat, 10 Feb 2018 02:26:52 +0000 (02:26 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app." am: 6a3031713c am: 07545d18a2
am: a5627cd0e2

Change-Id: I8b423fba0e10abffc757e8d5ad4feb3b01732e01

6 years agoMerge "Add clear method to ProtoOutputStream so it is reusable by just rewinding...
TreeHugger Robot [Sat, 10 Feb 2018 02:20:30 +0000 (02:20 +0000)]
Merge "Add clear method to ProtoOutputStream so it is reusable by just rewinding its internal pointer."

6 years agoMerge "Add InCallService docs to state prerequisites for be being a dialer app."...
Tyler Gunn [Sat, 10 Feb 2018 02:11:17 +0000 (02:11 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app." am: 6a3031713c
am: 07545d18a2

Change-Id: I040613717aef7626dff3eafb2f49c943255d5795

6 years agoMerge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3 am...
nharold [Sat, 10 Feb 2018 02:11:15 +0000 (02:11 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3 am: e736f83caf
am: 0f7857e587

Change-Id: Ib33ccecfe2fc600c05a208d24df10a474addb0e5

6 years agoMerge "Remove unnecessary interactive check from alarm dumpsys"
TreeHugger Robot [Sat, 10 Feb 2018 02:05:28 +0000 (02:05 +0000)]
Merge "Remove unnecessary interactive check from alarm dumpsys"

6 years agoMerge "Use proper string formatting for the "Active device" string"
Treehugger Robot [Sat, 10 Feb 2018 02:05:12 +0000 (02:05 +0000)]
Merge "Use proper string formatting for the "Active device" string"

6 years agoMerge "[3rd try] JobScheduler to use UID active state for job exemption"
TreeHugger Robot [Sat, 10 Feb 2018 01:59:36 +0000 (01:59 +0000)]
Merge "[3rd try] JobScheduler to use UID active state for job exemption"

6 years agoMerge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3
nharold [Sat, 10 Feb 2018 01:57:50 +0000 (01:57 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3
am: e736f83caf

Change-Id: If7330b4fdf5d2ccbddb590ab81a4b19c1f612b66

6 years agoMerge "Add InCallService docs to state prerequisites for be being a dialer app."
Tyler Gunn [Sat, 10 Feb 2018 01:52:07 +0000 (01:52 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app."
am: 6a3031713c

Change-Id: I08fb54de452d6f334232d24caf8f89caba85c515

6 years agoMerge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
nharold [Sat, 10 Feb 2018 01:46:00 +0000 (01:46 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
am: 43699e90f3

Change-Id: I1f286f0215ce88f947775ded0ddfbc8e0cd7bc55

6 years agoMerge "Declare a WTF if setting an alarm fails"
TreeHugger Robot [Sat, 10 Feb 2018 01:35:48 +0000 (01:35 +0000)]
Merge "Declare a WTF if setting an alarm fails"

6 years agoFix MediaDrm security level APIs
Jeff Tinker [Mon, 5 Feb 2018 23:31:02 +0000 (15:31 -0800)]
Fix MediaDrm security level APIs

During development of the vendor/widevine HAL module, the newly added
MediaDrm.setSecurityLevel method was found to be difficult to
implement efficiently since the security level is needed at the time
a session is opened. This CL moves the security level parameter to
openSession to resolve this problem.

bug:72831697
bug:64001680

test: GTS media tests
Change-Id: I74b3d1013405805c18b9794bbf7c46348e0ccda9

6 years agoAOD font sizes
Lucas Dupin [Sat, 10 Feb 2018 00:54:36 +0000 (16:54 -0800)]
AOD font sizes

Rebalanced font size so keyguard message isn't bigger
than the clock.

Test: visual
Change-Id: I0d24c44616b2b1a0787fa9e55ccb439b30a152ac

6 years agoMerge "MediaFrameworkTest: Configure video snapshot framerate"
TreeHugger Robot [Sat, 10 Feb 2018 00:54:55 +0000 (00:54 +0000)]
Merge "MediaFrameworkTest: Configure video snapshot framerate"

6 years agoMerge "Update internal ViewPager's SavedState to match Support Library version"
TreeHugger Robot [Sat, 10 Feb 2018 00:49:02 +0000 (00:49 +0000)]
Merge "Update internal ViewPager's SavedState to match Support Library version"

6 years agoMerge "Add Connection Event for supplementary service notifications." am: efccc1babe...
Tyler Gunn [Sat, 10 Feb 2018 00:25:05 +0000 (00:25 +0000)]
Merge "Add Connection Event for supplementary service notifications." am: efccc1babe am: 4d2dae8f0c
am: cb64e33660

Change-Id: I782179c6a96d7a953c3201943726ae1e34735ca8

6 years agoRemove unnecessary interactive check from alarm dumpsys
Makoto Onuki [Sat, 10 Feb 2018 00:14:26 +0000 (16:14 -0800)]
Remove unnecessary interactive check from alarm dumpsys

Test: boot && dumpsys alarm
Change-Id: I1fa564917cd7631090219f9df99286ccb83069ff

6 years agoMerge "Add Connection Event for supplementary service notifications." am: efccc1babe
Tyler Gunn [Sat, 10 Feb 2018 00:11:19 +0000 (00:11 +0000)]
Merge "Add Connection Event for supplementary service notifications." am: efccc1babe
am: 4d2dae8f0c

Change-Id: Ide105970d9c91f2fa5e2ec14410da011918d92ec

6 years agoMerge "Send package to permission check"
TreeHugger Robot [Sat, 10 Feb 2018 00:09:23 +0000 (00:09 +0000)]
Merge "Send package to permission check"

6 years agoMerge "Honor INSTANT_APPS_ENABLED only for web intents"
TreeHugger Robot [Sat, 10 Feb 2018 00:07:44 +0000 (00:07 +0000)]
Merge "Honor INSTANT_APPS_ENABLED only for web intents"

6 years agoMerge "use writepixels on surface, the canvas version is deprecated"
TreeHugger Robot [Sat, 10 Feb 2018 00:07:19 +0000 (00:07 +0000)]
Merge "use writepixels on surface, the canvas version is deprecated"

6 years agoMerge "Fix issue with quick switch animation not running."
Winson Chung [Sat, 10 Feb 2018 00:00:49 +0000 (00:00 +0000)]
Merge "Fix issue with quick switch animation not running."

6 years agoMerge "Add InCallService docs to state prerequisites for be being a dialer app."
Tyler Gunn [Sat, 10 Feb 2018 00:00:04 +0000 (00:00 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app."

6 years agoMerge "Add Connection Event for supplementary service notifications."
Tyler Gunn [Fri, 9 Feb 2018 23:59:33 +0000 (23:59 +0000)]
Merge "Add Connection Event for supplementary service notifications."
am: efccc1babe

Change-Id: Ia8f03045830032e42d2518e97fe74fd55734d524

6 years ago[3rd try] JobScheduler to use UID active state for job exemption
Makoto Onuki [Tue, 6 Feb 2018 19:30:15 +0000 (11:30 -0800)]
[3rd try] JobScheduler to use UID active state for job exemption

JobScheduler used to use procstate foreground state to decide whether
to exempt jobs, but it should use UID's active state instead, so that
if apps in the temp-whitelist schedule jobs, they run immediately.

Test: Boot
Test: atest CtsAlarmManagerTestCases
Test: atest CtsJobSchedulerTestCases
Test: atest CtsBatterySavingTestCases
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/AppStateTrackerTest.java

Bug: 72125364
Change-Id: I7a5628e76121199f3a5299e2a5576e1481574a6e

6 years agoMerge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
nharold [Fri, 9 Feb 2018 23:36:59 +0000 (23:36 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"

6 years agoMerge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev am...
Nick Butcher [Fri, 9 Feb 2018 23:11:17 +0000 (23:11 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev am: 35e1410551
am: 0ac5791e9e

Change-Id: Idbcf3a51211a87574bd4aff8d01fb49e504b3981

6 years agoUse proper string formatting for the "Active device" string
Pavlin Radoslavov [Tue, 6 Feb 2018 20:21:34 +0000 (12:21 -0800)]
Use proper string formatting for the "Active device" string

* The hard-coded "active" / "active(media)" / "active(phone)" strings
  are removed and replaced with proper XML-based string formatting.
* Added the appropriate strings for Bluetooth Audio Active Device status:
  "bluetooth_audio_active_device_summaries". For now those strings are
  marked as translatable="false" until the actual UI is finalized.
* Updated all "bluetooth_connected*" strings to include the new
  "active_device" component.
* Added unit tests for the new "active" strings.
  Also, updated existing unit tests to check the getConnectionSummary()
  strings by comparing against strings embedded within the unit tests.

Bug: 72317067
Test: Unit tests added: make RunSettingsLibRoboTests -j40
      Manual: two headsets and switching the active device
Change-Id: Ide639b5dfb45c1db8114155240f193249aeaf3be
(cherry picked from commit e6e080ff5cb9c7c56003695c1b787981e0114599)

6 years agoMerge "Add AttributeSet.getAttributeNamespace()."
TreeHugger Robot [Fri, 9 Feb 2018 22:57:27 +0000 (22:57 +0000)]
Merge "Add AttributeSet.getAttributeNamespace()."

6 years agoMerge "The volume dialog window size should match content"
TreeHugger Robot [Fri, 9 Feb 2018 22:55:39 +0000 (22:55 +0000)]
Merge "The volume dialog window size should match content"

6 years agoMerge "Fix imports in text related graphics classes"
Siyamed Sinir [Fri, 9 Feb 2018 22:47:41 +0000 (22:47 +0000)]
Merge "Fix imports in text related graphics classes"

6 years agoMerge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev
Nick Butcher [Fri, 9 Feb 2018 22:42:26 +0000 (22:42 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev
am: 35e1410551

Change-Id: If9f28bfe12d75fca6b8f07c15b77f78267ef6292

6 years agoMerge "Remove redundant final modifiers from api" am: 0ac66edaea am: 42b86e3dec
Adam Lesinski [Fri, 9 Feb 2018 22:42:19 +0000 (22:42 +0000)]
Merge "Remove redundant final modifiers from api" am: 0ac66edaea am: 42b86e3dec
am: ca8b6fdf1b  -s ours

Change-Id: I4bb87d7ab1c3b4d01c4d76ed42e06b338bba97a0

6 years agoUpdate internal ViewPager's SavedState to match Support Library version
Alan Viverette [Fri, 9 Feb 2018 22:38:45 +0000 (17:38 -0500)]
Update internal ViewPager's SavedState to match Support Library version

Fixes: 71992105
Test: no
Change-Id: Ic4569b21d8a26a62bba91742b442f0c3ea8bcc9e

6 years agoMerge "Watchdog: Print annotated stack trace, if possible" am: 2bd33a69d9 am: 0bc85c4e4d
Andreas Gampe [Fri, 9 Feb 2018 22:33:03 +0000 (22:33 +0000)]
Merge "Watchdog: Print annotated stack trace, if possible" am: 2bd33a69d9 am: 0bc85c4e4d
am: a2671a8bb8

Change-Id: I1eed8502f81fcecd9a295ee8f121ae44c046d72b

6 years agoMerge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev
TreeHugger Robot [Fri, 9 Feb 2018 22:27:53 +0000 (22:27 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev

6 years agoMerge "Remove redundant final modifiers from api" am: 0ac66edaea
Adam Lesinski [Fri, 9 Feb 2018 22:21:21 +0000 (22:21 +0000)]
Merge "Remove redundant final modifiers from api" am: 0ac66edaea
am: 42b86e3dec

Change-Id: If8366b5803f9d063d7c8131272a398983e93fde6

6 years agoAdd clear method to ProtoOutputStream so it is reusable by just
Yi Jin [Sat, 3 Feb 2018 00:25:11 +0000 (16:25 -0800)]
Add clear method to ProtoOutputStream so it is reusable by just
rewinding its internal pointer.

Bug: 72319159
Test: atest incidentd_test and atest statsd_test
Change-Id: Id046b987a7460d68300e5d4d46ae56aec1eba2d0

6 years agoMerge "Merge "Pass calling package for invocations of endCall API." am: 44289caa11...
Android Build Merger (Role) [Fri, 9 Feb 2018 22:20:39 +0000 (22:20 +0000)]
Merge "Merge "Pass calling package for invocations of endCall API." am: 44289caa11 am: e05da7e86b am: 654b7fc322"

6 years agoMerge "Pass calling package for invocations of endCall API." am: 44289caa11 am: e05da...
Tyler Gunn [Fri, 9 Feb 2018 22:19:49 +0000 (22:19 +0000)]
Merge "Pass calling package for invocations of endCall API." am: 44289caa11 am: e05da7e86b
am: 654b7fc322

Change-Id: Id7c74fa539b7e7e26dfdc8b612d9299d8c20c19b

6 years agoMerge "Clean up usage of COWArrayList in a11y code"
TreeHugger Robot [Fri, 9 Feb 2018 22:17:41 +0000 (22:17 +0000)]
Merge "Clean up usage of COWArrayList in a11y code"

6 years agoMerge "Add Connection Event for supplementary service notifications."
Tyler Gunn [Fri, 9 Feb 2018 22:10:50 +0000 (22:10 +0000)]
Merge "Add Connection Event for supplementary service notifications."

6 years agoMerge "Watchdog: Print annotated stack trace, if possible" am: 2bd33a69d9
Andreas Gampe [Fri, 9 Feb 2018 22:09:07 +0000 (22:09 +0000)]
Merge "Watchdog: Print annotated stack trace, if possible" am: 2bd33a69d9
am: 0bc85c4e4d

Change-Id: I88e72448c88e6948de3f6d2e6f0f20d1a39a31a1

6 years agoHonor INSTANT_APPS_ENABLED only for web intents
Patrick Baumann [Thu, 8 Feb 2018 22:21:15 +0000 (14:21 -0800)]
Honor INSTANT_APPS_ENABLED only for web intents

Bug: 65959668
Test: manual - toggle setting with test app and verify behavior
Test: atest EphemeralTest
Change-Id: I379a17027abd337610243c1f7c55e9ba733d03fe

6 years agoMerge "Remove redundant final modifiers from api"
Adam Lesinski [Fri, 9 Feb 2018 22:00:21 +0000 (22:00 +0000)]
Merge "Remove redundant final modifiers from api"
am: 0ac66edaea

Change-Id: I69d90dc2869943544e88ed01391d4a6b1107aa90

6 years agoMerge "Pass calling package for invocations of endCall API." am: 44289caa11
Tyler Gunn [Fri, 9 Feb 2018 21:57:39 +0000 (21:57 +0000)]
Merge "Pass calling package for invocations of endCall API." am: 44289caa11
am: e05da7e86b

Change-Id: If051e7875ba1863bc67dd029fa9b5cc0c858d103

6 years agoDeclare a WTF if setting an alarm fails
Christopher Tate [Fri, 9 Feb 2018 19:13:19 +0000 (11:13 -0800)]
Declare a WTF if setting an alarm fails

This doesn't crash, but does trigger incident reporting.

Also adjust the dumpsys output to be a bit more sensible, and to include
not only last-wakeup but also last-trigger breadcrumbs.

Bug: 65489393
Test: manual
Change-Id: Ifb11f673ad5242b0320092731c9d8311a29f1170

6 years agoMerge "Fix Editor ActionMode content rectangle"
Siyamed Sinir [Fri, 9 Feb 2018 21:57:14 +0000 (21:57 +0000)]
Merge "Fix Editor ActionMode content rectangle"

6 years agoMerge "Watchdog: Print annotated stack trace, if possible"
Andreas Gampe [Fri, 9 Feb 2018 21:46:16 +0000 (21:46 +0000)]
Merge "Watchdog: Print annotated stack trace, if possible"
am: 2bd33a69d9

Change-Id: I618fcab94211da7b259b4761faeb26daea658a48

6 years agoMerge "Add checkstyle check to graphics package"
Siyamed Sinir [Fri, 9 Feb 2018 21:44:35 +0000 (21:44 +0000)]
Merge "Add checkstyle check to graphics package"

6 years agoMerge "Pass calling package for invocations of endCall API."
Tyler Gunn [Fri, 9 Feb 2018 21:42:29 +0000 (21:42 +0000)]
Merge "Pass calling package for invocations of endCall API."
am: 44289caa11

Change-Id: Ifc44839a3235755e9f231f37dd99f22bb96b39a9

6 years agofix isActiveNetworkMetered with VPNs am: c81ef19954
Eric Enslen [Fri, 9 Feb 2018 21:40:42 +0000 (21:40 +0000)]
fix isActiveNetworkMetered with VPNs am: c81ef19954
am: 351b45873d

Change-Id: I177eff1237dd59514ccf91397a3d307148bc37b1

6 years agoMerge "Add "uses-sdk" to AndroidManifest for ActivityManagerPerfTests"
TreeHugger Robot [Fri, 9 Feb 2018 21:33:22 +0000 (21:33 +0000)]
Merge "Add "uses-sdk" to AndroidManifest for ActivityManagerPerfTests"

6 years agofix isActiveNetworkMetered with VPNs
Eric Enslen [Fri, 9 Feb 2018 21:26:09 +0000 (21:26 +0000)]
fix isActiveNetworkMetered with VPNs
am: c81ef19954

Change-Id: I8d59bc23e9153c54e64af59816d11301b490c9eb

6 years agoAdd AttributeSet.getAttributeNamespace().
Dianne Hackborn [Fri, 9 Feb 2018 01:47:53 +0000 (17:47 -0800)]
Add AttributeSet.getAttributeNamespace().

Why not.

Bug: 73101753
Test: Build and booted
Change-Id: I8f712ce9d7ed06eceef04d50a733a9471429b94c

6 years agoThe volume dialog window size should match content
Julia Reynolds [Fri, 9 Feb 2018 20:40:20 +0000 (15:40 -0500)]
The volume dialog window size should match content

So tapping outside the panel taps on underlying windows

Test: manual
Change-Id: Ie90567d6f1c16657b33f932fb95804f8b26383f9
Fixes: 73165559

6 years agoMerge "Add missing callback to StatusBarService for inline reply"
Amith Yamasani [Fri, 9 Feb 2018 20:49:32 +0000 (20:49 +0000)]
Merge "Add missing callback to StatusBarService for inline reply"

6 years agoMerge "Remove redundant final modifiers from api"
Adam Lesinski [Fri, 9 Feb 2018 20:48:28 +0000 (20:48 +0000)]
Merge "Remove redundant final modifiers from api"

6 years agoRevert "Replace AssetManager with AssetManager2 implementation"
Adam Lesinski [Fri, 9 Feb 2018 19:12:22 +0000 (11:12 -0800)]
Revert "Replace AssetManager with AssetManager2 implementation"

This reverts commit 1187590da38457809dd368d4901c9c47ac5a6958.

Bug: 73134570
Change-Id: I59b4d714e447478ea124f086356f127f42251fb7

6 years agoRevert "libandroidfw: Make sure to set the 'app as lib' flag"
Adam Lesinski [Fri, 9 Feb 2018 19:02:13 +0000 (11:02 -0800)]
Revert "libandroidfw: Make sure to set the 'app as lib' flag"

This reverts commit 9ad287c828a116f844e5c03346c618d83727e4ae.

Bug: 73134570
Change-Id: If930d3a7c17fc2f7ffaebd31281ad5a5d120144f

6 years agoRevert "Make idiomatic use of ApkAssets and AssetManager"
Adam Lesinski [Fri, 9 Feb 2018 19:02:04 +0000 (11:02 -0800)]
Revert "Make idiomatic use of ApkAssets and AssetManager"

This reverts commit 633085456e5047e16e53da6c95e193e2a0189633.

Bug: 73134570
Change-Id: I7c5171e752dd178dcd64497a780ba0f97d03b7a0

6 years agoRevert "libandroidfw: Add ApplyStyle and SetConfiguration benchmark"
Adam Lesinski [Fri, 9 Feb 2018 19:01:55 +0000 (11:01 -0800)]
Revert "libandroidfw: Add ApplyStyle and SetConfiguration benchmark"

This reverts commit 59f63bd801f10336c9f0499b7a0bc0bccb0fad2e.

Bug: 73134570
Change-Id: I6ace34b0d6545ff001664792b0bb1bbff5b5cbbe

6 years agoRevert "libandroidfw: Improve performance of AssetManager2"
Adam Lesinski [Fri, 9 Feb 2018 19:01:45 +0000 (11:01 -0800)]
Revert "libandroidfw: Improve performance of AssetManager2"

This reverts commit 88c9959e5b417320bbc2484fab42ab4b12379533.

Bug: 73134570
Change-Id: I012643d2b4212cef5aef68feb4146add34f9ecfc

6 years agoRevert "AssetManager2: Allow out of order type/type spec"
Adam Lesinski [Fri, 9 Feb 2018 19:01:36 +0000 (11:01 -0800)]
Revert "AssetManager2: Allow out of order type/type spec"

This reverts commit 78695c354342bd95ba5f63937b4e789139b50072.

Bug: 73134570
Change-Id: I6acc35372d9071d067d2fb7caa775ee9ba689811

6 years agoRevert "AssetManager2: Fix list function"
Adam Lesinski [Fri, 9 Feb 2018 19:01:26 +0000 (11:01 -0800)]
Revert "AssetManager2: Fix list function"

This reverts commit adc0b87ec235a71d722fb8d6aad50ceaeac8c6d5.

Bug:73134570
Change-Id: I9e652245e7661eb7a34dadb5f363a08bc8c9e57e

6 years agoRevert "AssetManager2: Fix issue with native cast"
Adam Lesinski [Fri, 9 Feb 2018 19:01:13 +0000 (11:01 -0800)]
Revert "AssetManager2: Fix issue with native cast"

This reverts commit 93811532096a2d0d822f64d6271dca4f1147841d.

Bug: 73134570
Change-Id: I5a63ed4b79d5c249ff77059783d9c9d56f0dcf93

6 years agoMerge "Update Inactive Apps to show standby buckets"
Amith Yamasani [Fri, 9 Feb 2018 20:41:59 +0000 (20:41 +0000)]
Merge "Update Inactive Apps to show standby buckets"

6 years agoFix issue with quick switch animation not running.
Winson Chung [Fri, 9 Feb 2018 01:53:26 +0000 (17:53 -0800)]
Fix issue with quick switch animation not running.

- We were intercepting touch before the quickscrub controller had a chance
  to handle the touch, which meant that we canceled the recents animation
  before passing the quick switch event to launcher.  Instead, just move
  the cancel recents animation logic to the key button view (before
  handling up) and ensure that we intercept from the button only in the
  cases we desire (a quick switch/scrub, recents animation start, or if
  it's a dock drag (not currently enabled).

Test: Fling on the nav button to quickswitch, ensure recents animation
      runs

Change-Id: Id89fda56f2996a38a9aea99179b5e2870b531003

6 years agoFix imports in text related graphics classes
Siyamed Sinir [Fri, 9 Feb 2018 20:10:34 +0000 (12:10 -0800)]
Fix imports in text related graphics classes

Test: atest CanvasTest
Test: atest TypefaceTest
Test: atest PaintTest

Change-Id: I0d022e39a68be1b22d3036e928eaec1929789261

6 years agoMerge "ByteStringUtils: fix hex parsing to include lowercase input."
TreeHugger Robot [Fri, 9 Feb 2018 19:49:15 +0000 (19:49 +0000)]
Merge "ByteStringUtils: fix hex parsing to include lowercase input."

6 years agoMerge "Refactor ZygoteProcess to deal in LocalSocketAddress."
TreeHugger Robot [Fri, 9 Feb 2018 19:44:55 +0000 (19:44 +0000)]
Merge "Refactor ZygoteProcess to deal in LocalSocketAddress."

6 years agoAdd checkstyle check to graphics package
Siyamed Sinir [Fri, 9 Feb 2018 19:34:57 +0000 (11:34 -0800)]
Add checkstyle check to graphics package

Test: None
Change-Id: I1c8342dda2678917e245e48ab141b2953a522197

6 years agoAdd InCallService docs to state prerequisites for be being a dialer app.
Tyler Gunn [Fri, 2 Feb 2018 21:18:02 +0000 (13:18 -0800)]
Add InCallService docs to state prerequisites for be being a dialer app.

The InCallService documentation does not clearly state that an app which
wants to become the default dialer app also needs to handle the DIAL
intent.  This change updates the documentation to make this clear.

Test: Built documentation and verified its contents.
Bug: 72857373
Change-Id: I738a8475df37035a0a7f4ad1639df76d967f81dc

6 years agoMerge "Simplify method management for IAudioService"
TreeHugger Robot [Fri, 9 Feb 2018 19:25:21 +0000 (19:25 +0000)]
Merge "Simplify method management for IAudioService"

6 years agoFix Editor ActionMode content rectangle
Siyamed Sinir [Fri, 9 Feb 2018 19:24:16 +0000 (11:24 -0800)]
Fix Editor ActionMode content rectangle

We have made a mistake in a previous change and change the single cursor
selection bounds in a wrong way.

Test: atest CtsWidgetTestCases:TextViewTest
Bug: 72244890
Change-Id: Ie597ff5a9f82e04d673534e35c49da513132cd5b

6 years agoMerge "Watchdog: Print annotated stack trace, if possible"
Treehugger Robot [Fri, 9 Feb 2018 19:24:03 +0000 (19:24 +0000)]
Merge "Watchdog: Print annotated stack trace, if possible"

6 years agoClean up usage of COWArrayList in a11y code
Eugene Susla [Thu, 8 Feb 2018 22:00:03 +0000 (14:00 -0800)]
Clean up usage of COWArrayList in a11y code

The single usage we had was already mostly guarded by lock -
replaced with a regular list to prevent confusion

Fixes: 71795155
Test: atest CtsAccessibilityServiceTestCases
Change-Id: I1c3235aadb0db4907cbe92a17cc58d2c8a8b5564

6 years agoMerge "Fixed bug with turnScreenOn window flag."
TreeHugger Robot [Fri, 9 Feb 2018 19:08:29 +0000 (19:08 +0000)]
Merge "Fixed bug with turnScreenOn window flag."

6 years agoMerge "Shore up dividing by zero protections."
TreeHugger Robot [Fri, 9 Feb 2018 18:54:31 +0000 (18:54 +0000)]
Merge "Shore up dividing by zero protections."

6 years agoMerge "Prevent AAPT from versioning <animated-selector> tags."
TreeHugger Robot [Fri, 9 Feb 2018 18:53:23 +0000 (18:53 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags."

6 years agoMerge "Pass calling package for invocations of endCall API."
Tyler Gunn [Fri, 9 Feb 2018 18:49:08 +0000 (18:49 +0000)]
Merge "Pass calling package for invocations of endCall API."