358679 Commits

Author SHA1 Message Date
TreeHugger Robot
effa40ca44 Merge "The volume dialog window size should match content" 2018-02-09 22:55:39 +00:00
Siyamed Sinir
7cc9c01db7 Merge "Fix imports in text related graphics classes" 2018-02-09 22:47:41 +00:00
Dianne Hackborn
1b794faeac 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
2018-02-09 14:44:41 -08:00
Nick Butcher
0ac5791e9e Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev
am: 35e1410551

Change-Id: If9f28bfe12d75fca6b8f07c15b77f78267ef6292
2018-02-09 22:42:26 +00:00
Adam Lesinski
14810faac0 Merge "Remove redundant final modifiers from api" am: 0ac66edaea am: 42b86e3dec
am: ca8b6fdf1b  -s ours

Change-Id: I4bb87d7ab1c3b4d01c4d76ed42e06b338bba97a0
2018-02-09 22:42:19 +00:00
Alan Viverette
e64a80cc16 Update internal ViewPager's SavedState to match Support Library version
Fixes: 71992105
Test: no
Change-Id: Ic4569b21d8a26a62bba91742b442f0c3ea8bcc9e
2018-02-09 17:39:20 -05:00
Andreas Gampe
cc4600c6b5 Merge "Watchdog: Print annotated stack trace, if possible" am: 2bd33a69d9 am: 0bc85c4e4d
am: a2671a8bb8

Change-Id: I1eed8502f81fcecd9a295ee8f121ae44c046d72b
2018-02-09 22:33:03 +00:00
Chris Craik
2e41d49d00 Revert incorrect NonNull assertions in ColorStateList loading
Fixes: 73157047
Test: atest CtsContentTestCases:ResourcesTest

Partial revert of ceb269362175e90899e8bdcad4319b91ee13abb6

Change-Id: I7c1db6f8d2b3451692b018212576960c78250d57
2018-02-09 14:29:11 -08:00
TreeHugger Robot
35e1410551 Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev 2018-02-09 22:27:53 +00:00
Bookatz
8178408358 STATSD_STARTED broadcast include background
Allow statsd to tell even receivers in the background
that it is running.

Test: manual
Change-Id: I4fe9620eaf846275ee995b90849bf789e78130fd
2018-02-09 14:26:42 -08:00
Adam Lesinski
ca8b6fdf1b Merge "Remove redundant final modifiers from api" am: 0ac66edaea
am: 42b86e3dec

Change-Id: If8366b5803f9d063d7c8131272a398983e93fde6
2018-02-09 22:21:21 +00:00
Yi Jin
7f9e63b632 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
2018-02-09 14:20:48 -08:00
Android Build Merger (Role)
bd680ca446 Merge "Merge "Pass calling package for invocations of endCall API." am: 44289caa11 am: e05da7e86b am: 654b7fc322" 2018-02-09 22:20:39 +00:00
Tyler Gunn
cfad0bea7e Merge "Pass calling package for invocations of endCall API." am: 44289caa11 am: e05da7e86b
am: 654b7fc322

Change-Id: Id7c74fa539b7e7e26dfdc8b612d9299d8c20c19b
2018-02-09 22:19:49 +00:00
David Brazdil
8d2fcdcd5d Greylist java.nio.Buffer.address
This is used by tools which access Buffer memory with Unsafe.

Bug: 73103125
Test: make
Change-Id: I34624da96123cab772a879615d6b2411d10c7050
2018-02-09 22:19:18 +00:00
TreeHugger Robot
421822ce0f Merge "Clean up usage of COWArrayList in a11y code" 2018-02-09 22:17:41 +00:00
Tyler Gunn
efccc1babe Merge "Add Connection Event for supplementary service notifications." 2018-02-09 22:10:50 +00:00
Andreas Gampe
a2671a8bb8 Merge "Watchdog: Print annotated stack trace, if possible" am: 2bd33a69d9
am: 0bc85c4e4d

Change-Id: I88e72448c88e6948de3f6d2e6f0f20d1a39a31a1
2018-02-09 22:09:07 +00:00
Patrick Baumann
e09bcb4b86 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
2018-02-09 14:08:17 -08:00
Adam Lesinski
42b86e3dec Merge "Remove redundant final modifiers from api"
am: 0ac66edaea

Change-Id: I69d90dc2869943544e88ed01391d4a6b1107aa90
2018-02-09 22:00:21 +00:00
Tyler Gunn
654b7fc322 Merge "Pass calling package for invocations of endCall API." am: 44289caa11
am: e05da7e86b

Change-Id: If051e7875ba1863bc67dd029fa9b5cc0c858d103
2018-02-09 21:57:39 +00:00
Christopher Tate
8b98ade74a 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
2018-02-09 13:57:19 -08:00
Siyamed Sinir
a454df9c06 Merge "Fix Editor ActionMode content rectangle" 2018-02-09 21:57:14 +00:00
Andreas Gampe
0bc85c4e4d Merge "Watchdog: Print annotated stack trace, if possible"
am: 2bd33a69d9

Change-Id: I618fcab94211da7b259b4761faeb26daea658a48
2018-02-09 21:46:16 +00:00
Siyamed Sinir
682c6a978c Merge "Add checkstyle check to graphics package" 2018-02-09 21:44:35 +00:00
Tyler Gunn
e05da7e86b Merge "Pass calling package for invocations of endCall API."
am: 44289caa11

Change-Id: Ifc44839a3235755e9f231f37dd99f22bb96b39a9
2018-02-09 21:42:29 +00:00
Eric Enslen
f1ea2537e1 fix isActiveNetworkMetered with VPNs am: c81ef19954
am: 351b45873d

Change-Id: I177eff1237dd59514ccf91397a3d307148bc37b1
2018-02-09 21:40:42 +00:00
TreeHugger Robot
83137d6e80 Merge "Add "uses-sdk" to AndroidManifest for ActivityManagerPerfTests" 2018-02-09 21:33:22 +00:00
Leon Scroggins III
d935157f48 Fix AnimatedImageDrawable drawn in software
Test: Manual, existing CTS, I4e884636801c0a2e920ca9d99f3c38fb034b3774

- Fix a bug where the animation never advanced.
- Rename mFinished to mStarting. It was already being used to indicate
that we were restarting anyway. Now only set it to true in calls to
start().
- Prevent skipping ahead the same way we do in hardware.
- Return kFinished when reaching the last frame of the animation.

This also includes a fix for hardware drawing. The first time start() is
called, there is no need to create a snapshot of the first frame. Just
draw the first frame directly and kick off a decode of the second frame.

Change-Id: I0a6fb909a361dd4c233cfa2d79bc2210d2dcddc8
2018-02-09 16:31:25 -05:00
Eric Enslen
351b45873d fix isActiveNetworkMetered with VPNs
am: c81ef19954

Change-Id: I8d59bc23e9153c54e64af59816d11301b490c9eb
2018-02-09 21:26:09 +00:00
Wyatt Riley
c706741693 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
2018-02-09 13:07:06 -08:00
Dianne Hackborn
12ff371627 Add AttributeSet.getAttributeNamespace().
Why not.

Bug: 73101753
Test: Build and booted
Change-Id: I8f712ce9d7ed06eceef04d50a733a9471429b94c
2018-02-09 12:51:58 -08:00
Julia Reynolds
30dd125acf The volume dialog window size should match content
So tapping outside the panel taps on underlying windows

Test: manual
Change-Id: Ie90567d6f1c16657b33f932fb95804f8b26383f9
Fixes: 73165559
2018-02-09 15:50:49 -05:00
Amith Yamasani
c476a85e7e Merge "Add missing callback to StatusBarService for inline reply" 2018-02-09 20:49:32 +00:00
Adam Lesinski
0ac66edaea Merge "Remove redundant final modifiers from api" 2018-02-09 20:48:28 +00:00
Adam Lesinski
bde1df21ad Revert "Replace AssetManager with AssetManager2 implementation"
This reverts commit 1187590da38457809dd368d4901c9c47ac5a6958.

Bug: 73134570
Change-Id: I59b4d714e447478ea124f086356f127f42251fb7
2018-02-09 12:43:24 -08:00
Adam Lesinski
2a447172a5 Revert "libandroidfw: Make sure to set the 'app as lib' flag"
This reverts commit 9ad287c828a116f844e5c03346c618d83727e4ae.

Bug: 73134570
Change-Id: If930d3a7c17fc2f7ffaebd31281ad5a5d120144f
2018-02-09 12:43:17 -08:00
Adam Lesinski
56c82be0d4 Revert "Make idiomatic use of ApkAssets and AssetManager"
This reverts commit 633085456e5047e16e53da6c95e193e2a0189633.

Bug: 73134570
Change-Id: I7c5171e752dd178dcd64497a780ba0f97d03b7a0
2018-02-09 12:43:15 -08:00
Adam Lesinski
c9a9c1c1c3 Revert "libandroidfw: Add ApplyStyle and SetConfiguration benchmark"
This reverts commit 59f63bd801f10336c9f0499b7a0bc0bccb0fad2e.

Bug: 73134570
Change-Id: I6ace34b0d6545ff001664792b0bb1bbff5b5cbbe
2018-02-09 12:43:13 -08:00
Adam Lesinski
b8b3a26194 Revert "libandroidfw: Improve performance of AssetManager2"
This reverts commit 88c9959e5b417320bbc2484fab42ab4b12379533.

Bug: 73134570
Change-Id: I012643d2b4212cef5aef68feb4146add34f9ecfc
2018-02-09 12:43:10 -08:00
Adam Lesinski
dfeb7ceb2a Revert "AssetManager2: Allow out of order type/type spec"
This reverts commit 78695c354342bd95ba5f63937b4e789139b50072.

Bug: 73134570
Change-Id: I6acc35372d9071d067d2fb7caa775ee9ba689811
2018-02-09 12:43:07 -08:00
Adam Lesinski
ec7f06cc37 Revert "AssetManager2: Fix list function"
This reverts commit adc0b87ec235a71d722fb8d6aad50ceaeac8c6d5.

Bug:73134570
Change-Id: I9e652245e7661eb7a34dadb5f363a08bc8c9e57e
2018-02-09 12:43:04 -08:00
Adam Lesinski
3160c8b0f7 Revert "AssetManager2: Fix issue with native cast"
This reverts commit 93811532096a2d0d822f64d6271dca4f1147841d.

Bug: 73134570
Change-Id: I5a63ed4b79d5c249ff77059783d9c9d56f0dcf93
2018-02-09 12:42:50 -08:00
Amith Yamasani
b1632226b4 Merge "Update Inactive Apps to show standby buckets" 2018-02-09 20:41:59 +00:00
Winson Chung
58bd439042 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
2018-02-09 12:35:49 -08:00
Siyamed Sinir
46dd24a710 Fix imports in text related graphics classes
Test: atest CanvasTest
Test: atest TypefaceTest
Test: atest PaintTest

Change-Id: I0d022e39a68be1b22d3036e928eaec1929789261
2018-02-09 12:35:22 -08:00
Kang Li
e3b4710524 Fix timeouts caused by destroy() waiting for the same lock on sort.
Bug: 72458997
Test: manually reproduced error and verified that it is fixed with this
code change on a Taimen.

Change-Id: I03ddbc8a1b3cfb6f720413248cc5813458d35851
2018-02-09 11:53:26 -08:00
TreeHugger Robot
27d86e9088 Merge "ByteStringUtils: fix hex parsing to include lowercase input." 2018-02-09 19:49:15 +00:00
TreeHugger Robot
df19e5a5c4 Merge "Refactor ZygoteProcess to deal in LocalSocketAddress." 2018-02-09 19:44:55 +00:00
Siyamed Sinir
56eed89bb6 Add checkstyle check to graphics package
Test: None
Change-Id: I1c8342dda2678917e245e48ab141b2953a522197
2018-02-09 11:34:57 -08:00