OSDN Git Service

android-x86/frameworks-base.git
6 years agoDump frame history for bugreports
John Reck [Tue, 13 Feb 2018 00:21:21 +0000 (16:21 -0800)]
Dump frame history for bugreports

Can provide more insights into ANR reports that end in nSyncAndDrawFrame

Test: verified 'dumpsys gfxinfo <package>' didn't change, but that
bugreports did

Change-Id: I4e0e4b071f761e35bb6d6c9d8174b5bde3220d92

6 years agoMerge "Fix issue #72151749: Lock down 'clear cache' functionality to..."
TreeHugger Robot [Mon, 12 Feb 2018 18:19:38 +0000 (18:19 +0000)]
Merge "Fix issue #72151749: Lock down 'clear cache' functionality to..."

6 years agoMerge "Add more APIs to hidden API greylist"
TreeHugger Robot [Mon, 12 Feb 2018 18:15:36 +0000 (18:15 +0000)]
Merge "Add more APIs to hidden API greylist"

6 years agoMerge "Prevent setting negative alpha for dim animations."
Chavi Weingarten [Mon, 12 Feb 2018 18:01:21 +0000 (18:01 +0000)]
Merge "Prevent setting negative alpha for dim animations."

6 years agoMerge "Revert "Revert "Fix MediaDrm security level APIs"""
TreeHugger Robot [Mon, 12 Feb 2018 17:55:50 +0000 (17:55 +0000)]
Merge "Revert "Revert "Fix MediaDrm security level APIs"""

6 years agoMerge "Added DND icon on muted streams on volume dialog"
Beverly Tai [Mon, 12 Feb 2018 17:41:26 +0000 (17:41 +0000)]
Merge "Added DND icon on muted streams on volume dialog"

6 years agoMerge "Non-functional refactor of Location Extras"
Wyatt Riley [Mon, 12 Feb 2018 17:01:10 +0000 (17:01 +0000)]
Merge "Non-functional refactor of Location Extras"

6 years agoAdd more APIs to hidden API greylist
David Brazdil [Mon, 12 Feb 2018 06:57:01 +0000 (06:57 +0000)]
Add more APIs to hidden API greylist

APIs seen in use by common apps.

Bug: 73211878
Bug: 73211350
Bug: 73211163
Bug: 73211208
Bug: 73103890
Bug: 73103761
Test: make
Change-Id: Ic438f4614f6452b14ea07f4c35b39d3be34ff49d

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343 am: a4428dc5e4
hansson [Mon, 12 Feb 2018 15:23:27 +0000 (15:23 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343 am: a4428dc5e4
am: 60108dce1c

Change-Id: Ifc575a70b4b2fda3155353c78239a35220cf4b7d

6 years agoMerge "Add support for time zone notifications"
Neil Fuller [Mon, 12 Feb 2018 15:14:49 +0000 (15:14 +0000)]
Merge "Add support for time zone notifications"

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343
hansson [Mon, 12 Feb 2018 15:10:22 +0000 (15:10 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343
am: a4428dc5e4

Change-Id: I7e9db0098aeb6069dcd1f048a0cd6f690c947815

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds."
hansson [Mon, 12 Feb 2018 14:57:46 +0000 (14:57 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds."
am: a869d14343

Change-Id: I49f0696119d1aa52e420fa7c676a448d569ea941

6 years agoMerge "Logging for linkify selections"
TreeHugger Robot [Mon, 12 Feb 2018 14:44:35 +0000 (14:44 +0000)]
Merge "Logging for linkify selections"

6 years agoAdded DND icon on muted streams on volume dialog
Beverly [Thu, 8 Feb 2018 22:19:01 +0000 (17:19 -0500)]
Added DND icon on muted streams on volume dialog

Now users cannot toggle off dnd from the volume dialog
since the ringer (volume footer) will be disabled if it's muted by dnd

Test: manual
Change-Id: I7d4dd552e0f791ee52135272d8d0837899abe152
Fixes: 72711020

6 years agoMerge "Fix size of parcelled TextClassification icons."
TreeHugger Robot [Mon, 12 Feb 2018 12:17:58 +0000 (12:17 +0000)]
Merge "Fix size of parcelled TextClassification icons."

6 years agoMerge "More unit tests for PerformBackupTask"
TreeHugger Robot [Mon, 12 Feb 2018 11:07:51 +0000 (11:07 +0000)]
Merge "More unit tests for PerformBackupTask"

6 years agoMerge "WallpaperCropper: Remove dependency on telephony-common."
Narayan Kamath [Mon, 12 Feb 2018 10:59:06 +0000 (10:59 +0000)]
Merge "WallpaperCropper: Remove dependency on telephony-common."

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds."
hansson [Mon, 12 Feb 2018 10:48:30 +0000 (10:48 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds."

6 years agoReplace smart reply boolean setting with key-value list
Petr Cermak [Mon, 5 Feb 2018 19:00:54 +0000 (19:00 +0000)]
Replace smart reply boolean setting with key-value list

This patch replaces the recently introduced
Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS boolean setting
with a new Settings.Global.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS
key-value list.

Rationale: This will allow us to add and tweak smart reply parameters
without polluting the global settings namespace.

Bug: 67765414
Test: atest SmartReplyConstantsTest
Change-Id: I284bb6b31618a234c4772d16ad6190a713035f1b

6 years agoMore unit tests for PerformBackupTask
Bernardo Rufino [Sat, 10 Feb 2018 13:08:52 +0000 (13:08 +0000)]
More unit tests for PerformBackupTask

Around transport and agent failures. Caught a few possible errors, check
TODOs.

Test: m -j RunFrameworksServicesRoboTests
Change-Id: I9d04f4253511032473885ce6c0856c52639f2957

6 years agoMerge "Greylist java.nio.Buffer.address"
David Brazdil [Mon, 12 Feb 2018 06:31:37 +0000 (06:31 +0000)]
Merge "Greylist java.nio.Buffer.address"

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 agoRevert "Revert "Fix MediaDrm security level APIs""
Jeff Tinker [Sun, 11 Feb 2018 18:59:14 +0000 (18:59 +0000)]
Revert "Revert "Fix MediaDrm security level APIs""

This reverts commit fda717d50127c35f52880e94690042c7603600e3.

Change-Id: I5e51c7e8d7ab0626fdfd9726278cb762b79a512e

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 agoPrevent setting negative alpha for dim animations.
chaviw [Fri, 9 Feb 2018 22:36:10 +0000 (14:36 -0800)]
Prevent setting negative alpha for dim animations.

When apply in the dim animation is called, the currentPlayTime value can
be greater than the total duration. If that's the case, the alpha
value would be set to a negative value. Instead, if the currentPlayTime is
greater than duration, just set the final alpha value.

Change-Id: I77b7c512cc8832c2a31e20d49c14550da2cff7cd
Fixes: 73152600
Test: No more flashing dim

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 agoFix issue #72151749: Lock down 'clear cache' functionality to...
Dianne Hackborn [Fri, 9 Feb 2018 22:12:56 +0000 (14:12 -0800)]
Fix issue #72151749: Lock down 'clear cache' functionality to...

...only system signature

Apps that hold the original permission are silently ignored.  There
is a new internal permission you must hold to actually delete cache
files.

Test: booted and run, can still clear cache in settings.
Bug: 72151749
Change-Id: I47a5cb697e1a4fa3665ac71aaabcda57bef7b561

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 agoGreylist java.nio.Buffer.address
David Brazdil [Fri, 9 Feb 2018 19:16:50 +0000 (19:16 +0000)]
Greylist java.nio.Buffer.address

This is used by tools which access Buffer memory with Unsafe.

Bug: 73103125
Test: make
Change-Id: I34624da96123cab772a879615d6b2411d10c7050

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 agoNon-functional refactor of Location Extras
Wyatt Riley [Wed, 7 Feb 2018 23:50:35 +0000 (15:50 -0800)]
Non-functional refactor of Location Extras

Also decouples mStatus from the extras

Bug: 72949246
Test: Runs on device and produces same output to
adb shell dumpsys location

Change-Id: I1feef1be345b5e31f9dca7ef1e88e5d1ca199546

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