OSDN Git Service
Rob Carr [Fri, 16 Jun 2017 20:12:17 +0000 (20:12 +0000)]
Merge "ViewRootImpl: More null checks for performTraversals." into oc-dev
am:
6f87503ed8
Change-Id: I3c951fd2572abbada566494b5954697be098865d
Android Build Merger (Role) [Fri, 16 Jun 2017 20:06:22 +0000 (20:06 +0000)]
Merge "Merge "Always log new user state to event log" into oc-dev am:
6db4406fbd" into oc-dr1-dev
Fyodor Kupolov [Fri, 16 Jun 2017 20:05:32 +0000 (20:05 +0000)]
Merge "Always log new user state to event log" into oc-dev
am:
6db4406fbd
Change-Id: I5ed5aacfb054a7c7fef91b0ac51cc89541983818
TreeHugger Robot [Fri, 16 Jun 2017 20:04:53 +0000 (20:04 +0000)]
Merge "WallpaperColors refactor" into oc-dr1-dev
Rob Carr [Fri, 16 Jun 2017 19:55:07 +0000 (19:55 +0000)]
Merge "ViewRootImpl: More null checks for performTraversals." into oc-dev
Fyodor Kupolov [Fri, 16 Jun 2017 19:51:00 +0000 (19:51 +0000)]
Merge "Always log new user state to event log" into oc-dev
Jeff Davidson [Fri, 16 Jun 2017 19:39:51 +0000 (19:39 +0000)]
Merge "Define a meta-data attribute for a carrier icon." into oc-dr1-dev
Android Build Merger (Role) [Fri, 16 Jun 2017 19:35:10 +0000 (19:35 +0000)]
Merge "Merge "Throw IAE when service add null AutofillIds on SaveInfo methods." into oc-dev am:
6cde68752c" into oc-dr1-dev
Phil Weaver [Fri, 16 Jun 2017 19:34:11 +0000 (19:34 +0000)]
Merge "Stop rounded corners from confusing magnification" into oc-dr1-dev
Felipe Leme [Fri, 16 Jun 2017 19:34:01 +0000 (19:34 +0000)]
Merge "Throw IAE when service add null AutofillIds on SaveInfo methods." into oc-dev
am:
6cde68752c
Change-Id: I9efd96bcd649bd23db28136aa4afca16a677e9ea
TreeHugger Robot [Fri, 16 Jun 2017 19:23:37 +0000 (19:23 +0000)]
Merge "Throw IAE when service add null AutofillIds on SaveInfo methods." into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 19:01:52 +0000 (19:01 +0000)]
Merge "Add right padding to two target preference text area" into oc-dr1-dev
Todd Kennedy [Fri, 16 Jun 2017 18:19:49 +0000 (18:19 +0000)]
Merge "enable/disable dexopt for instant apps remotely" into oc-dev
am:
5d969b9862
Change-Id: If9f063e5db82c079b7a9e682365a8840ee7da794
TreeHugger Robot [Fri, 16 Jun 2017 18:07:46 +0000 (18:07 +0000)]
Merge "enable/disable dexopt for instant apps remotely" into oc-dev
Fyodor Kupolov [Fri, 16 Jun 2017 17:45:51 +0000 (10:45 -0700)]
Always log new user state to event log
Previously it wasn't logged for stopping users...
Test: manual
Bug:
38121026
Change-Id: I0fc37224ce1043745dfffcc78639f003c35b402e
Marco Nelissen [Fri, 16 Jun 2017 17:47:15 +0000 (17:47 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours am:
45cd809caa -s ours am:
ce4c7df6a0 -s ours am:
035e2a5c37 -s ours am:
4e5ed845c7 -s ours am:
3cd244e872 -s ours am:
a9bf75f50c -s ours am:
21caf4aee4 -s ours am:
009b3c6aec -s ours
am:
acbd7ba4aa -s ours
Change-Id: I5fda14fc00fe57f090e554c80dd21695420d0058
Marco Nelissen [Fri, 16 Jun 2017 17:38:19 +0000 (17:38 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours am:
45cd809caa -s ours am:
ce4c7df6a0 -s ours am:
035e2a5c37 -s ours am:
4e5ed845c7 -s ours am:
3cd244e872 -s ours am:
a9bf75f50c -s ours am:
21caf4aee4 -s ours
am:
009b3c6aec -s ours
Change-Id: Ied441cf591abb8933a5601c6d36066e0288dfbd7
Marco Nelissen [Fri, 16 Jun 2017 17:24:37 +0000 (17:24 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours am:
45cd809caa -s ours am:
ce4c7df6a0 -s ours am:
035e2a5c37 -s ours am:
4e5ed845c7 -s ours am:
3cd244e872 -s ours am:
a9bf75f50c -s ours
am:
21caf4aee4 -s ours
Change-Id: I25f1f4394b6a5a6b3708df13be41299865e76d52
Marco Nelissen [Fri, 16 Jun 2017 17:12:09 +0000 (17:12 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours am:
45cd809caa -s ours am:
ce4c7df6a0 -s ours am:
035e2a5c37 -s ours am:
4e5ed845c7 -s ours am:
3cd244e872 -s ours
am:
a9bf75f50c -s ours
Change-Id: Ib75388665c3586c09e963917bc54b020aae22dce
Marco Nelissen [Fri, 16 Jun 2017 16:59:57 +0000 (16:59 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours am:
45cd809caa -s ours am:
ce4c7df6a0 -s ours am:
035e2a5c37 -s ours am:
4e5ed845c7 -s ours
am:
3cd244e872 -s ours
Change-Id: I256e1413df73fd577708d5dcb84074e3a8ed61ab
Marco Nelissen [Fri, 16 Jun 2017 16:51:14 +0000 (16:51 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours am:
45cd809caa -s ours am:
ce4c7df6a0 -s ours am:
035e2a5c37 -s ours
am:
4e5ed845c7 -s ours
Change-Id: Iae9f79e4b91c4ef5e844259709e3055607a781b8
Marco Nelissen [Fri, 16 Jun 2017 16:41:20 +0000 (16:41 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours am:
45cd809caa -s ours am:
ce4c7df6a0 -s ours
am:
035e2a5c37 -s ours
Change-Id: Ib6f84a832e27329e0eabf000b89e93145c43a31a
Tyler Gunn [Fri, 16 Jun 2017 16:28:36 +0000 (16:28 +0000)]
Merge "Add EXTRA_ALWAYS_USE_VOIP_AUDIO_MODE extrs to phone account" into oc-dr1-dev
Lucas Dupin [Tue, 9 May 2017 19:16:19 +0000 (12:16 -0700)]
WallpaperColors refactor
Hiding color extraction into WallpaperColors.
This enables us to create WallpaperColors from a a Bitmap
or Drawable.
Fixes:
62197187
Fixes:
62490115
Test: runtest --path cts/tests/app/src/android/app/cts/WallpaperColorsTest.java
Change-Id: I614cfa205e02b551a141642eac6de21251c3bff6
Marco Nelissen [Fri, 16 Jun 2017 16:26:30 +0000 (16:26 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours am:
45cd809caa -s ours
am:
ce4c7df6a0 -s ours
Change-Id: I1fb798481ca56b8c81386792b5642a544aae1c7e
Marco Nelissen [Fri, 16 Jun 2017 16:19:02 +0000 (16:19 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours am:
23118a9b77 -s ours
am:
45cd809caa -s ours
Change-Id: Idd7b2d2536d1c25072794ba228f33fc2459f2aaa
Marco Nelissen [Fri, 16 Jun 2017 16:11:01 +0000 (16:11 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours am:
49fc959be3 -s ours
am:
23118a9b77 -s ours
Change-Id: Id314511cf3e6af08e0f00e84e8945ea404b85c6a
Marco Nelissen [Fri, 16 Jun 2017 16:02:19 +0000 (16:02 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours am:
398d50feeb -s ours
am:
49fc959be3 -s ours
Change-Id: I0eb248911ce1a582a4939e2bd5419659c586128f
Marco Nelissen [Fri, 16 Jun 2017 15:51:48 +0000 (15:51 +0000)]
libmedia_jni.so doesn't need libjhead.so am:
9a4a34afd8 -s ours
am:
398d50feeb -s ours
Change-Id: Ide31821909dde91443cdf650216a6ada7277ce9a
Marco Nelissen [Fri, 16 Jun 2017 15:43:46 +0000 (15:43 +0000)]
libmedia_jni.so doesn't need libjhead.so
am:
9a4a34afd8 -s ours
Change-Id: I557d7e96401b742d916e2eef5aa03949018382c7
TreeHugger Robot [Fri, 16 Jun 2017 15:30:06 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Fri, 16 Jun 2017 15:21:10 +0000 (15:21 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am:
d97c62a1da -s ours
Change-Id: I0c7cdc5f73d7e4cc05fc3b498d8d59439c3fe1ba
TreeHugger Robot [Fri, 16 Jun 2017 15:12:30 +0000 (15:12 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Julia Reynolds [Fri, 16 Jun 2017 13:36:32 +0000 (13:36 +0000)]
Merge "Fix two IndexOutOfBoundsException crashes." into oc-dev
am:
ded5608f18
Change-Id: I925c6875249e15d2a497b619aba3d05d3644580e
Julia Reynolds [Fri, 16 Jun 2017 13:30:29 +0000 (13:30 +0000)]
Merge "Fix two IndexOutOfBoundsException crashes." into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 13:23:22 +0000 (13:23 +0000)]
Merge "Revert "Update Status Bar with Badged Wifi Icons."" into oc-dr1-dev
Bill Yi [Fri, 16 Jun 2017 12:16:09 +0000 (05:16 -0700)]
Import translations. DO NOT MERGE
Change-Id: Icb9547e4d5fb47bfab83f8012358047189787fda
Auto-generated-cl: translation import
Bill Yi [Fri, 16 Jun 2017 12:06:48 +0000 (05:06 -0700)]
Import translations. DO NOT MERGE
Change-Id: I71afe3f16b8dc5c52a2780c1c1e0b9fd3071501f
Auto-generated-cl: translation import
TreeHugger Robot [Fri, 16 Jun 2017 11:06:54 +0000 (11:06 +0000)]
Merge "Bluetooth: Change keyboard icon to normal system color" into oc-dr1-dev
TreeHugger Robot [Fri, 16 Jun 2017 10:28:24 +0000 (10:28 +0000)]
Merge "Fixes for tetheroffload crashes" into oc-dr1-dev
Erik Kline [Thu, 15 Jun 2017 09:06:34 +0000 (18:06 +0900)]
Fixes for tetheroffload crashes
Now that we can talk to the HALs (with some out of tree CLs and
"setenforce 0"), several crashes were encountered.
Fixes here include:
- avoid hidl_handle move semantics
- check HIDL method status return value (isOk())
- convert Java short port numbers to ints
- don't pass nulls to HIDL where Strings are required
(limitations in parceling)
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
- "setenforce 0" and start tethering
Bug:
29337859
Bug:
32163131
Change-Id: I91314440c3a04e5f2502579b5f06dac9f25cf0cd
TreeHugger Robot [Fri, 16 Jun 2017 04:43:18 +0000 (04:43 +0000)]
Merge "Hide WallpaperService.Engine colors API." into oc-dr1-dev
Tyler Gunn [Fri, 16 Jun 2017 04:24:49 +0000 (04:24 +0000)]
Merge "Add Telephony connection event for call forwarded supp service notice." into oc-dr1-dev
Sundeep Ghuman [Fri, 16 Jun 2017 00:05:16 +0000 (00:05 +0000)]
Revert "Update Status Bar with Badged Wifi Icons."
This reverts commit
d57f3247766d7e5f2a5c2cbe7be6d241526a9eba.
Reason for revert: Kill badging in ODR
Bug: b/
35628911
Test: runtest --path
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java
Change-Id: I153863dfc02aaa211e1d76f0d85a2779894f72ee
TreeHugger Robot [Fri, 16 Jun 2017 02:33:09 +0000 (02:33 +0000)]
Merge "Add API from EuiccManager to wipe eUICC data" into oc-dr1-dev
Shunta Sato [Fri, 16 Jun 2017 01:56:11 +0000 (01:56 +0000)]
Merge "Make RankingHelper$Record.groups thread-safe" into oc-dev
am:
892cd3e1e6
Change-Id: I1805b23929a56b5d54c660db7fdc5383233b3fe4
TreeHugger Robot [Fri, 16 Jun 2017 01:47:07 +0000 (01:47 +0000)]
Merge "Make RankingHelper$Record.groups thread-safe" into oc-dev
Jorim Jaggi [Fri, 16 Jun 2017 01:13:34 +0000 (01:13 +0000)]
Merge "Don't even think about changing keyguard transit" into oc-dev
am:
3e3bb5f762
Change-Id: Ib73ffbe26038c8c29ee520ea461499875e4d23f5
TreeHugger Robot [Fri, 16 Jun 2017 01:04:09 +0000 (01:04 +0000)]
Merge "Don't even think about changing keyguard transit" into oc-dev
Dianne Hackborn [Fri, 16 Jun 2017 00:54:18 +0000 (00:54 +0000)]
Merge "Fix issue #
62524613: Background limitation is not working as expected..." into oc-dev
am:
2b20d552bd
Change-Id: I86b140c89a01ec7d8032f9b136b494af64e9bdab
TreeHugger Robot [Fri, 16 Jun 2017 00:46:45 +0000 (00:46 +0000)]
Merge "Fix issue #
62524613: Background limitation is not working as expected..." into oc-dev
qingxi [Fri, 19 May 2017 22:20:03 +0000 (15:20 -0700)]
Add API from EuiccManager to wipe eUICC data
Use EuiccManager#eraseSubscriptions(PendingIntent) to erase all the
carrier data from eUICC chip if the user choose to "Erase eSIMs" from
the system setting.
Bug:
37475183
Test: E2E
Change-Id: Iaab2640c98576fdc87ca626765329ae0398724e4
Jeff Hao [Fri, 16 Jun 2017 00:01:30 +0000 (00:01 +0000)]
Merge "When updating a split app, copy compiled files from base.apk only." into oc-dev
am:
08b3fd966c
Change-Id: Iabcb03567e71585898f60160a3e0a5c8e6870f3b
TreeHugger Robot [Thu, 15 Jun 2017 23:52:01 +0000 (23:52 +0000)]
Merge "When updating a split app, copy compiled files from base.apk only." into oc-dev
Felipe Leme [Thu, 15 Jun 2017 22:29:23 +0000 (15:29 -0700)]
Throw IAE when service add null AutofillIds on SaveInfo methods.
Test: existing CtsAutoFillServiceTestCases pass
Test: manual verification using Contacts app
Test: manual verification adding a CTS test case that crashes the app, but such
test cannot be commit because once the issue is fixed, it crashes the
service (the right way to test this fix is through unit tests against
exceptional conditions, but we don't support those on Autofill yet).
Fixes:
62649290
Change-Id: I8fc01fa929270219cd40035ff02eaf0dda5ecbfa
Todd Kennedy [Thu, 15 Jun 2017 22:20:17 +0000 (22:20 +0000)]
Merge "don't block uninstall of unknown packages" into oc-dev
am:
627fbf8157
Change-Id: I5cf548758617ae5c74f81a68b23893f584a46ee5
TreeHugger Robot [Thu, 15 Jun 2017 22:05:43 +0000 (22:05 +0000)]
Merge "don't block uninstall of unknown packages" into oc-dev
Winson Chung [Thu, 15 Jun 2017 21:48:08 +0000 (21:48 +0000)]
Merge "Update TV to show custom actions." into oc-dev
am:
1a01d1298f
Change-Id: I1d23e5ba9e061a50bea052b2eb6cb7114e99ff63
Eugene Susla [Thu, 15 Jun 2017 21:44:37 +0000 (21:44 +0000)]
Merge "Fix companion uses-permission enforcement" into oc-dev
am:
7a4cf16ce9
Change-Id: I09daacb8e9d0e4926f83707cce20a9a13e31e4e1
Dianne Hackborn [Thu, 15 Jun 2017 21:33:16 +0000 (14:33 -0700)]
Fix issue #
62524613: Background limitation is not working as expected...
...for most background services.
Whoops, was only stopping the first service it found!
Test: bit CtsAppTestCases:ActivityManagerProcessStateTest
Change-Id: I42af2872afed8b49fab0f53eff36b62e55d23409
Julia Reynolds [Thu, 15 Jun 2017 19:24:01 +0000 (15:24 -0400)]
Fix two IndexOutOfBoundsException crashes.
Do not remove (sometimes multiple) items from lists
you are iterating over.
Test: runtest systemui-notification
Change-Id: I130cc63ae2f5721e7b434006f4306e0b1eaef77d
Fixes:
62622503
Eino-Ville Talvala [Thu, 15 Jun 2017 21:12:29 +0000 (21:12 +0000)]
Merge "ImageReader: Set BufferItem mGraphicBuffer to null when returning it" into oc-dev
am:
20c2116c1f
Change-Id: I8385f1e65de888d602e5775f6811ec7c908f9073
Winson Chung [Thu, 15 Jun 2017 21:05:44 +0000 (21:05 +0000)]
Merge "Update TV to show custom actions." into oc-dev
TreeHugger Robot [Thu, 15 Jun 2017 20:57:16 +0000 (20:57 +0000)]
Merge "Fix companion uses-permission enforcement" into oc-dev
Fan Zhang [Thu, 15 Jun 2017 20:54:20 +0000 (13:54 -0700)]
Add right padding to two target preference text area
The padding is between end of text and divider. Without padding the text
is too close to divider line in some cases.
Change-Id: I2ae6ef336a3a9c4cf8d1c776ef8b69ab51adf032
Fix:
62668791
Test: visual
TreeHugger Robot [Thu, 15 Jun 2017 20:56:38 +0000 (20:56 +0000)]
Merge "ImageReader: Set BufferItem mGraphicBuffer to null when returning it" into oc-dev
Jack He [Thu, 15 Jun 2017 20:44:40 +0000 (13:44 -0700)]
Bluetooth: Change keyboard icon to normal system color
Bug:
36606311
Test: make, Bluetooth scanning and pairing
Change-Id: I8f3793383e41d96748db25e2fbcde65622fdccad
Jorim Jaggi [Thu, 15 Jun 2017 19:10:38 +0000 (15:10 -0400)]
Don't even think about changing keyguard transit
When camera was launched with a lockscreen wallpaper set, the
wallpaper target was launcher in that case, which was also in
mClosingApps because it was first getting shown by keyguard
exit but then immediately hidden by starting the camera,
before the transition started.
Now since lockscreen wasn't the wallpaper target, launcher was
already for some reason, and we changed the transit to
WALLPAPER_CLOSE as a window with the wallpaper target was in
mClosingApps.
Fix this by never ever changing away from keyguard transits.
Test: go/wm-smoke
Test: ActivityManagerTransitionSelectionTests
Test: Set lockscreen wallpaper, set animation duration scale to
0.5, insert a random sleep statement in SystemUI, launch
camera from screen off while in trusted state and camera
wasn't running before.
Fixes:
37677242
Change-Id: I984b66d7f117034f3d55591284dd822b5ec76cbd
Robert Carr [Thu, 15 Jun 2017 19:39:34 +0000 (12:39 -0700)]
ViewRootImpl: More null checks for performTraversals.
Let's first understand how mView could become null. Notice
at the beginning of performTraversals, there is a check that
mView != null, and so it is nulled while we are in the function.
mView is package private and there are only two places which assign
to it, ViewRootImpl#setView and ViewRootImpl#doDie. setView is guarded
by mView == null. But mView was not null (per the check at the beginning
of performTraversals) and so mView is being nulled by doDie().
doDie() only has 3 callpoints:
1. ViewRootImpl#die(). Here though, calling it is guarded by
!mIsInTraversal. !mIsInTraversal is unconditionally set at the
beginning of performTraversals, and so this isn't our caller.
2. ViewRootHandler, handling MSG_DIE. This runs on the same thread
as performTraversal, and so it can't be our nuller.
3. WindowManagerGlobal#addView. This must be our nuller.
We see WindowManagerGlobal#addView will call doDie in the case that
we attempt to add a view which we had previously set to be removed
but deferred removal of. Now we can construct a reasonable sequence
for getting here:
1. requestLayout(). Perform traversals ends up on handler.
2. removeView(). MSG_DIE ends up on handler, View ends up in mDyingViews
3. performTraversals is executed by the handler
4. From a callback initiated by performTraversals (e.g. measure)
the client calls WindowManagerGlobal#addView on the view which
was just removed.
5. We are still in performTraversals so MSG_DIE hasn't been processed
yet. This means that WindowManagerGlobal will perform the doDie
immediately nulling mView.
6. We return to performTraversals and crash.
We can see shortly after the offending call to doDie, a new ViewRoot will be
constructed and so whatever traversal we are doing on the old one doesn't
seem particularly important. It doesn't seem that we can do any better
than letting it fall through without crashing.
Bug:
38421184
Test: go/wm-smoke. Feed to the monkeys.
Change-Id: I55f310a3533175c9df4a82878be5a60fd01b80c1
Sudheer Shanka [Thu, 15 Jun 2017 19:36:18 +0000 (19:36 +0000)]
Merge "Use correct timestamps of events for logging." into oc-dev
am:
2ca51820f0
Change-Id: I077aab98854ec3d7df78b107518e0151be78a30c
Sudheer Shanka [Thu, 15 Jun 2017 19:25:02 +0000 (19:25 +0000)]
Merge "Use correct timestamps of events for logging." into oc-dev
Jeff Hao [Tue, 13 Jun 2017 18:09:10 +0000 (11:09 -0700)]
When updating a split app, copy compiled files from base.apk only.
This fixes issues with some splits failing to be recompiled if they
haven't changed, but the dex files they depend on have.
The real fix will be for frameworks to generate the new expected
classpath and check in DexFile.getDexOptNeeded. Then we can undo
this change and copy over all the compiled split files again.
Bug:
62269291
Test: cts-tradefed run singleCommand cts -d --module
CtsAppSecurityHostTestCases -t android.appsecurity.cts.SplitTests
(cherry-picked from commit
d1235f54d4943a0a3a920013a5875b5193bd0490)
Change-Id: I6e640a966ef3b43054d163326878adebe2329693
Dianne Hackborn [Thu, 15 Jun 2017 18:52:18 +0000 (18:52 +0000)]
Merge "Work on issue #
36891897: Need to ensure foreground services..." into oc-dev
am:
ef0554438f
Change-Id: I5d25640507d4c4cf61f64638d27ddf0cac67f880
Dianne Hackborn [Thu, 15 Jun 2017 18:45:28 +0000 (18:45 +0000)]
Merge "Work on issue #
36891897: Need to ensure foreground services..." into oc-dev
Eugene Susla [Thu, 15 Jun 2017 18:22:57 +0000 (11:22 -0700)]
Fix companion uses-permission enforcement
Fixes: b/
62662686
Test: Call CompanionDeviceManager#associate from app without uses-permission
declaration
Ensure exception is thrown
Call the method from app with the declaration
Ensure no exception is thrown
In debug mode catch the #isCallerSystem call from NotificationManagerService
(which runs in the system process) and ensure it passes the check
Change-Id: I26e5d2a7f5e63a346d4ab50b9ded1ec7dbc246a5
TreeHugger Robot [Thu, 15 Jun 2017 18:03:53 +0000 (18:03 +0000)]
Merge "Add notification ID for Wi-Fi ONA notifications." into oc-dr1-dev
Srikanth Chintala [Mon, 3 Apr 2017 12:38:14 +0000 (18:08 +0530)]
Add EXTRA_ALWAYS_USE_VOIP_AUDIO_MODE extrs to phone account
Add EXTRA_ALWAYS_USE_VOIP_AUDIO_MODE extra to phone account
so that all voip call audio mode will be set MODE_IN_COMMUNICATION
Test: Manual
Bug:
34869196
Change-Id: I367fbfb05779f80ebde78cb8dcebeafa3f885b3b
Todd Kennedy [Thu, 15 Jun 2017 16:44:34 +0000 (09:44 -0700)]
enable/disable dexopt for instant apps remotely
Change-Id: I997b8ae515f7bf2570edca4ed7ab4b46198148a5
Fixes:
62591398
Test: Manual; install instant app and see that it doesn't dexopt
Test: Manua; update gservices flag, install instant app and see that it does dexopt
Chris Wren [Thu, 15 Jun 2017 16:28:32 +0000 (16:28 +0000)]
Merge "add a log for peek to shade expansion" into oc-dev
am:
04298759fe
Change-Id: I4813fcd717b966e2ed2b1835d12d4183633f60ff
TreeHugger Robot [Thu, 15 Jun 2017 16:20:07 +0000 (16:20 +0000)]
Merge "add a log for peek to shade expansion" into oc-dev
TreeHugger Robot [Thu, 15 Jun 2017 16:14:46 +0000 (16:14 +0000)]
Merge "Status bar opacity and mobile signal changes" into oc-dr1-dev
Todd Kennedy [Thu, 15 Jun 2017 13:38:09 +0000 (06:38 -0700)]
don't block uninstall of unknown packages
If a package can't be found because it's not installed or it's
been filtered due to lack of visibility, don't claim the uninstall
should be blocked.
Change-Id: I932b77cea5749e5964ca626558bef51cdfdfd17b
Fixes:
62450984
Test: Manual
Eino-Ville Talvala [Tue, 13 Jun 2017 19:43:19 +0000 (12:43 -0700)]
ImageReader: Set BufferItem mGraphicBuffer to null when returning it
The ImageReader JNI layer needs to maintain a list of BufferItems that
back the Java Image objects. At start, we allocate maxImages of these
in a list, and acquire and release them from this list as the
application acquires and releases Images.
However, on release, the contents of the BufferItem are not adjusted,
so it can retain a reference to a GraphicBuffer until the BufferItem
is reused.
Test: Camera CTS passes, memory usage drops after camera bursts
Bug:
62652080
Change-Id: I9aade5e32cbe0af0c15a3886e16ada1a70392b74
Chris Wren [Wed, 14 Jun 2017 19:59:03 +0000 (15:59 -0400)]
add a log for peek to shade expansion
Move the note_load counter into the manager, replacing
the redundant and useless notification_load counter.
Update the StatusBarTest to allow for hander side-effects.
Test: runtest systemui
Change-Id: I2551c51cc0f4627995abe4401eafc2e5adb3a8fa
Fixes:
27698560
TreeHugger Robot [Thu, 15 Jun 2017 10:43:18 +0000 (10:43 +0000)]
Merge "Move findPreferredUpstreamType into UNM" into oc-dr1-dev
Jorim Jaggi [Thu, 15 Jun 2017 06:30:57 +0000 (06:30 +0000)]
Merge "Remove snapshot when screen gets rotated in mean time" into oc-dev
am:
0823c9ff5c
Change-Id: Iee0f34f4a285b02d3747f630058ef6fad50d4c79
Erik Kline [Mon, 5 Jun 2017 07:02:02 +0000 (16:02 +0900)]
Move findPreferredUpstreamType into UNM
This changes the way in which available networks are found. Previously
Tethering asked ConnectivityService for NetworkInfo and checked for
whether or not it was in state CONNECTED.
Here we use the fact that ConnectivityService will not call UNM's
callbacks' onAvailable() methods until the networks in question have
become connected.
Test: as follows
- built
- flashed
- booted
- runtest framework-net passed
Bug:
29337859
Bug:
32163131
Merged-In: I9937297727aa1a063e499fccd5833ace229b1e8a
Merged-In: Ifa1a34a1fb32149085421a63cb0f2586d2862d6b
Merged-In: Ia215e55b69b856f5511e5d4f852e39fa6c11462e
Change-Id: I97abe225fdd3accb38bd9168f545445b761a90d8
(cherry picked from commit
a1d368af2f01e2048240fb730f6cc399fc1cc1ab)
TreeHugger Robot [Thu, 15 Jun 2017 06:24:30 +0000 (06:24 +0000)]
Merge "Remove snapshot when screen gets rotated in mean time" into oc-dev
Jorim Jaggi [Thu, 15 Jun 2017 06:18:48 +0000 (06:18 +0000)]
Merge "Actually do not hold WM lock while closing transaction" into oc-dev
am:
7831f0c436
Change-Id: I04be9b9286240009dd4e8c6cfd207b04eadf9b5d
Jorim Jaggi [Thu, 15 Jun 2017 06:11:10 +0000 (06:11 +0000)]
Merge "Actually do not hold WM lock while closing transaction" into oc-dev
Sundeep Ghuman [Thu, 15 Jun 2017 05:23:46 +0000 (05:23 +0000)]
Merge "Create a staleScanResults bit." into oc-dev
am:
d1094717a1
Change-Id: I1a4ea5a52093fa2cd9fe1bc321786c349d4c4f11
TreeHugger Robot [Thu, 15 Jun 2017 05:19:46 +0000 (05:19 +0000)]
Merge "Create a staleScanResults bit." into oc-dev
Gopinath Elanchezhian [Thu, 15 Jun 2017 05:12:40 +0000 (05:12 +0000)]
Merge "Use TotalTime instead of ThisTime in app launch test" into oc-dev
am:
cbf19dcd76
Change-Id: I65c49c99106c47c0b0cfe70f3673b079bc00b323
Gopinath Elanchezhian [Thu, 15 Jun 2017 05:05:21 +0000 (05:05 +0000)]
Merge "Use TotalTime instead of ThisTime in app launch test" into oc-dev
TreeHugger Robot [Thu, 15 Jun 2017 04:36:37 +0000 (04:36 +0000)]
Merge "Merge IPv6TetheringInterfaceServices into TetherInterfaceStateMachine" into oc-dr1-dev
Jorim Jaggi [Wed, 14 Jun 2017 23:04:59 +0000 (16:04 -0700)]
Remove snapshot when screen gets rotated in mean time
We also need to wait for windows that are not gone for layout, as
otherwise we'd unfreeze before the surface is actually created.
Test: go/wm-smoke
Test: Open Camera in landscape but home screen locked to portrait
Change-Id: I0fc7a016445e18af1eead292665702b768b4e95b
Fixes:
38261533
Jorim Jaggi [Thu, 15 Jun 2017 04:25:08 +0000 (04:25 +0000)]
Merge "Use splashscreen if we can't fill horizontaly with snapshot" into oc-dev
am:
04c3cc6d12
Change-Id: I048aeb67b8e17bbece7a07827ffb3745c6adbe63
Jorim Jaggi [Thu, 15 Jun 2017 04:19:48 +0000 (04:19 +0000)]
Merge "Use splashscreen if we can't fill horizontaly with snapshot" into oc-dev
Jeff Davidson [Thu, 15 Jun 2017 03:35:07 +0000 (03:35 +0000)]
Merge "eUICC API error code cleanup." into oc-dr1-dev
TreeHugger Robot [Thu, 15 Jun 2017 03:20:52 +0000 (03:20 +0000)]
Merge "Fix NPE for KeyguardEsimArea#isEsimLocked" into oc-dr1-dev