OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Hide autofill popup if anchor removed" into oc-mr1-dev
TreeHugger Robot [Mon, 25 Sep 2017 22:24:25 +0000 (22:24 +0000)]
Merge "Hide autofill popup if anchor removed" into oc-mr1-dev

6 years agoMerge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev
Adrian Roos [Mon, 25 Sep 2017 18:33:01 +0000 (18:33 +0000)]
Merge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev

6 years agoMerge "Fixed that telephony registry service reference incorrectly assigned" into...
TreeHugger Robot [Mon, 25 Sep 2017 17:23:08 +0000 (17:23 +0000)]
Merge "Fixed that telephony registry service reference incorrectly assigned" into oc-mr1-dev

6 years agoMerge "Fixing session abandon logging bug" into oc-mr1-dev
TreeHugger Robot [Mon, 25 Sep 2017 15:42:49 +0000 (15:42 +0000)]
Merge "Fixing session abandon logging bug" into oc-mr1-dev

6 years agoMerge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev
TreeHugger Robot [Mon, 25 Sep 2017 15:19:01 +0000 (15:19 +0000)]
Merge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev

6 years agoFRP: Add config flag for disabling credential FRP
Adrian Roos [Tue, 5 Sep 2017 15:01:42 +0000 (17:01 +0200)]
FRP: Add config flag for disabling credential FRP

Bug: 65258606
Test: Verify FRP still works when not disabled
Change-Id: I78e308b6eaba73c794615b1eebdbfacb334ae72f

6 years agoFixing session abandon logging bug
Jan Althaus [Fri, 22 Sep 2017 16:26:06 +0000 (18:26 +0200)]
Fixing session abandon logging bug

Previously, making two selections quickly one after the other could lead
to the first session missing the terminal event, and the second one getting
terminated prematurely - getting marked incorrectly as abandoned.

Bug: 64914512
Test: Manually tested that logs are correct.
Change-Id: Icd75dcabe707b591f30629b9b9b42c5459ed7dda

6 years agoFixed bug in handling of OTHER as terminal
Jan Althaus [Fri, 22 Sep 2017 17:55:17 +0000 (19:55 +0200)]
Fixed bug in handling of OTHER as terminal

This bug resulted in a tap on a non-default action mode item to get logged
as OTHER, followed by ABANDON.

Bug: 64914512
Test: Manually tested that logs are correct.
Change-Id: I3cdba7ccff896939e22c567843f335c54d4a97f3

6 years agoMerge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev
TreeHugger Robot [Mon, 25 Sep 2017 07:06:42 +0000 (07:06 +0000)]
Merge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev

6 years agoSelect correct system audio route in updateAudioRoutes
Sungsoo Lim [Mon, 18 Sep 2017 05:28:38 +0000 (14:28 +0900)]
Select correct system audio route in updateAudioRoutes

While update audio routes, MediaRouter had an access to the variable
of MediaRouterService.mGlobalBluetoothA2dpOn, which was updated in
the callback of AudioRoutesObserver.dispatchAudioRoutesChanged().
However, since updateAudioRoutes() was also called by the same
callback, mGlobalBluetoothA2dpOn could be used in updateAudioRoutes()
before its value was updated.

Bug: 65629167
Test: passed MediaRouterTest
Test: Manually confirmed that the issue is fixed with this CL
Change-Id: Id0034996a51a6d8d1e8bd9d2c6ca386aabbb8baf
Merged-In: Id0034996a51a6d8d1e8bd9d2c6ca386aabbb8baf

6 years agoMerge "Logs how long it took to show the Autofill UI after a field was focused."...
TreeHugger Robot [Sun, 24 Sep 2017 05:42:38 +0000 (05:42 +0000)]
Merge "Logs how long it took to show the Autofill UI after a field was focused." into oc-mr1-dev

6 years agoHide autofill popup if anchor removed
Svet Ganov [Sat, 23 Sep 2017 00:19:04 +0000 (17:19 -0700)]
Hide autofill popup if anchor removed

Test: Manual
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

bug:64601372

Change-Id: Ic55dabb99cd5015d318ab3be1231b6aa5c67294e

6 years agoMerge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev
Mathieu Chartier [Sat, 23 Sep 2017 00:49:17 +0000 (00:49 +0000)]
Merge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev

6 years agoLogs how long it took to show the Autofill UI after a field was focused.
Felipe Leme [Fri, 22 Sep 2017 16:23:02 +0000 (09:23 -0700)]
Logs how long it took to show the Autofill UI after a field was focused.

Test: adb shell logcat -b events | grep sysui_
Test: adb dumpsys autofill
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 65376559
Bug: 66508098

Merged-In: Ia17f8b30d6eef0141b020085985b9ebacff7a455
Change-Id: Ia17f8b30d6eef0141b020085985b9ebacff7a455

6 years agoMerge "Speculative fix for missing target crash" into oc-mr1-dev
TreeHugger Robot [Fri, 22 Sep 2017 22:41:59 +0000 (22:41 +0000)]
Merge "Speculative fix for missing target crash" into oc-mr1-dev

6 years agoMerge "Add metrics (and moar logging) for when a service disables itself." into oc...
TreeHugger Robot [Fri, 22 Sep 2017 21:04:02 +0000 (21:04 +0000)]
Merge "Add metrics (and moar logging) for when a service disables itself." into oc-mr1-dev

6 years agoMerge "Remove isHighEndGfx check" into oc-mr1-dev
Zhi An Ng [Fri, 22 Sep 2017 20:17:15 +0000 (20:17 +0000)]
Merge "Remove isHighEndGfx check" into oc-mr1-dev

6 years agoMerge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev
Tenghui Zhu [Fri, 22 Sep 2017 19:45:17 +0000 (19:45 +0000)]
Merge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev

6 years agoAdd systrace for VectorDrawable inflation and draw
ztenghui [Wed, 13 Sep 2017 17:32:50 +0000 (10:32 -0700)]
Add systrace for VectorDrawable inflation and draw

We didn't trace the draw from cache.
Here we add trace for draw into bitmap, which is normally heavy.

fix: 65060698
Bug: 65060698
Test: run test app and get systrace and check

Change-Id: Ia81127c4aa285b3277e9c9edbdf356d85cb28b5e
(cherry picked from commit cf0c41dbc221c2619212c7e25e6d90a9c4d05b05)

6 years agoMerge "hwuitest: added hwui test for TV application" into oc-mr1-dev
Dake Gu [Fri, 22 Sep 2017 19:26:42 +0000 (19:26 +0000)]
Merge "hwuitest: added hwui test for TV application" into oc-mr1-dev

6 years agoAdd preopt profile logic for compiling during first boot
Mathieu Chartier [Fri, 15 Sep 2017 02:22:39 +0000 (19:22 -0700)]
Add preopt profile logic for compiling during first boot

Allows pushing profiles on device that are used to optimize apps
during first boot.

Added logic to copy profiles to reference location for compressed APKs.

Bug: 38032017
Bug: 64503246
Test: adb shell rm -rf /data/app/*
Test: adb shell rm /data/system/package*
Test: adb shell stop && adb shell start
Test: look at apps in /data/app to make sure they are profile compiled

Change-Id: I30452098a19a65a331d098107d37498e5b10c10f

6 years agoFixed that telephony registry service reference incorrectly assigned
Jack Yu [Fri, 22 Sep 2017 06:48:29 +0000 (23:48 -0700)]
Fixed that telephony registry service reference incorrectly assigned

The reference to telephony registry service was assigned
prior telephony registry service was ready. Fixed by
casting the binder every time when we use it.

Test: Manual
Bug: 65593241
Change-Id: Ib234cdfd93130f7af44ef79271b106fffb8ebad5

6 years agoSpeculative fix for missing target crash
Chris Craik [Fri, 22 Sep 2017 16:31:05 +0000 (09:31 -0700)]
Speculative fix for missing target crash

Bug: 66451158
Test: manual app usage

Change-Id: I2db3aa73edcb80da25ead64205011705f0beef91

6 years agoRemove isHighEndGfx check
Ng Zhi An [Fri, 22 Sep 2017 16:15:29 +0000 (09:15 -0700)]
Remove isHighEndGfx check

We want the nav bar to be translucent, having a solid black
bar on small gobo devices looks heavy.
The memory impact of removing this check has been accessed
in the referenced bug and is minimal.

Change-Id: Iaa967623fc2252ada268a7045f014a791fe83c29
Fixes: 65024600
Test: runtest frameworks-services

6 years agoAdd metrics (and moar logging) for when a service disables itself.
Felipe Leme [Wed, 20 Sep 2017 20:55:28 +0000 (13:55 -0700)]
Add metrics (and moar logging) for when a service disables itself.

Test: adb shell logcat -b events | grep sysui_
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 65376559
Bug: 65856399

Change-Id: Ieb54bb0a58ecd51da663170a12817d33188ac9f0

6 years agoBump the importance of foreground service notis
Julia Reynolds [Mon, 18 Sep 2017 20:52:37 +0000 (16:52 -0400)]
Bump the importance of foreground service notis

Unless the user has chosen an importance.

Change-Id: Ibe82c91c6a98a75fc623784300f3f906879e8a80
Fixes: 65640487
Test: runtest systemui-notification

6 years agoMerge "Move non-public intent out of the public namespace" into oc-mr1-dev
TreeHugger Robot [Fri, 22 Sep 2017 10:24:43 +0000 (10:24 +0000)]
Merge "Move non-public intent out of the public namespace" into oc-mr1-dev

6 years agoMerge "Bump up OOM priority of bound VrListenerService." into oc-mr1-dev
TreeHugger Robot [Fri, 22 Sep 2017 00:59:29 +0000 (00:59 +0000)]
Merge "Bump up OOM priority of bound VrListenerService." into oc-mr1-dev

6 years agoMerge "Implement ConnectivityService TODO and fix many race conditions" into oc-mr1-dev
Hugo Benichi [Fri, 22 Sep 2017 00:50:39 +0000 (00:50 +0000)]
Merge "Implement ConnectivityService TODO and fix many race conditions" into oc-mr1-dev

6 years agoMerge "Swipe for notifications should work when navigation occludes keyguard" into...
Kevin Chyn [Fri, 22 Sep 2017 00:07:16 +0000 (00:07 +0000)]
Merge "Swipe for notifications should work when navigation occludes keyguard" into oc-mr1-dev

6 years agoMerge "Remove debug logging from PowerManagerService." into oc-mr1-dev
Santos Cordon [Thu, 21 Sep 2017 22:23:48 +0000 (22:23 +0000)]
Merge "Remove debug logging from PowerManagerService." into oc-mr1-dev

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1
Andre Eisenbach [Thu, 21 Sep 2017 21:52:43 +0000 (21:52 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev am: 5c54a732f1
am: 60315cab7a

Change-Id: I951c387b9f3d2c2df5eccb6b3d5e50206b0db84e

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev
Andre Eisenbach [Thu, 21 Sep 2017 21:40:45 +0000 (21:40 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev
am: 5c54a732f1

Change-Id: I62bacf450c64f98e44e15e0a1ec7a4f13f2982c4

6 years agoMerge "Only call negative listener when SaveUI is dismissed by tapping button." into...
TreeHugger Robot [Thu, 21 Sep 2017 20:44:50 +0000 (20:44 +0000)]
Merge "Only call negative listener when SaveUI is dismissed by tapping button." into oc-mr1-dev

6 years agoMerge "Camera: Add more documentation about thrown exceptions." into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 19:50:33 +0000 (19:50 +0000)]
Merge "Camera: Add more documentation about thrown exceptions." into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 18:42:51 +0000 (18:42 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoSwipe for notifications should work when navigation occludes keyguard
Kevin Chyn [Thu, 21 Sep 2017 18:41:01 +0000 (11:41 -0700)]
Swipe for notifications should work when navigation occludes keyguard

Fixes: 65780650

Test: 1) Enable FP swipe
2) Start navigation
3) Turn off screen
4) Turn on screen
5) Swipe for notifications should work while maps is on top of keyguard

Change-Id: I5d8c75db940bfdfa4e29643c1ba89a119ec6a954

6 years agoMerge "Improve AVRCP quality and state handling (2/2)" into oc-dev
Andre Eisenbach [Thu, 21 Sep 2017 18:15:27 +0000 (18:15 +0000)]
Merge "Improve AVRCP quality and state handling (2/2)" into oc-dev

6 years agoRemove debug logging from PowerManagerService.
Santos Cordon [Wed, 20 Sep 2017 22:25:44 +0000 (15:25 -0700)]
Remove debug logging from PowerManagerService.

Previously set to true accidentally.
Bug: 66209945
Test: Manual

Change-Id: Ie34ff30b43107897cbffc6258cb6c3e867d5da2e

6 years agoMerge "Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS." into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 16:54:44 +0000 (16:54 +0000)]
Merge "Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS." into oc-mr1-dev

6 years agoMerge "Ensure profile-specific PiP notification is shown." into oc-mr1-dev
Winson Chung [Thu, 21 Sep 2017 16:38:16 +0000 (16:38 +0000)]
Merge "Ensure profile-specific PiP notification is shown." into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours am: 9d008286c7 -s ours...
Bill Yi [Thu, 21 Sep 2017 16:19:40 +0000 (16:19 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours am: 9d008286c7  -s ours am: b4e9b3f651  -s ours
am: 7139a4dd5e  -s ours

Change-Id: I7192304b8aaad74dfab22571892b66e8c84a9736

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours am: 9d008286c7 -s ours
Bill Yi [Thu, 21 Sep 2017 16:13:13 +0000 (16:13 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours am: 9d008286c7  -s ours
am: b4e9b3f651  -s ours

Change-Id: I8b727efb19b68f7adfc1f3eda4240e70551b8102

6 years agoImport translations. DO NOT MERGE am: 50e19c566e -s ours
Bill Yi [Thu, 21 Sep 2017 16:11:12 +0000 (16:11 +0000)]
Import translations. DO NOT MERGE am: 50e19c566e  -s ours
am: e708378dc9  -s ours

Change-Id: Ifdce36eb6dbb6c0af7a1f65d9142e77b05a2f5da

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 16:06:29 +0000 (16:06 +0000)]
Import translations. DO NOT MERGE
am: 50e19c566e  -s ours

Change-Id: I82b5f21b00ed2e75a74859ffe70560e6999902a6

6 years agoImport translations. DO NOT MERGE am: de5eefa935 -s ours
Bill Yi [Thu, 21 Sep 2017 16:04:11 +0000 (16:04 +0000)]
Import translations. DO NOT MERGE am: de5eefa935  -s ours
am: 9d008286c7  -s ours

Change-Id: I5535968d3817e8c09e9d5e3e0a75180d29dbe303

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 15:56:53 +0000 (15:56 +0000)]
Import translations. DO NOT MERGE
am: de5eefa935  -s ours

Change-Id: I53abfc53a067bca1cec279285f59185b8b18a64e

6 years agoMove non-public intent out of the public namespace
Neil Fuller [Thu, 21 Sep 2017 12:00:23 +0000 (13:00 +0100)]
Move non-public intent out of the public namespace

Move a non-public intent out of the public android.intent.action
namespace. The new name is
com.android.intent.action.timezone.TRIGGER_RULES_UPDATE_CHECK.

Bug: 65991376
Test: CTS: run -m CtsIntentSignatureTestCases
Test: PTS: run -m PtsTimeZoneTestCases
Change-Id: I619b564aa6262108ab2d1c95ba6e288efd8cc9f2

6 years agoImplement ConnectivityService TODO and fix many race conditions
Hugo Benichi [Wed, 20 Sep 2017 02:20:14 +0000 (11:20 +0900)]
Implement ConnectivityService TODO and fix many race conditions

This patch implements an outstanding TODO in ConnectivityService to add
synchronization over the map of network request ids to network agent
info objects.

This structure is accessed from multiple threads:
 - Binder thread on public aidl methods, most notably via
   getDefaultNetwork().
 - Internal handler.

This leads to many race conditions that can crash the system server and
reboot the phone if getDefaultNetwork() is called on a Binder thread to
service a public ConnectivityManager api while the default network state
is being updated on the internal handler after losing the default
network.

Bug: 65911184
Test: runtest frameworks-net
Merged-In: I86c830ebd559e31d4576a7606705a056afb064ac
Merged-In: I2011e23c9f894c079ab66cd7cc5c14af572a956d
Merged-In: Ic70901a6aa22a03e97f494e793920ab07a0fd612
Merged-In: I4a7658e1fa6946063ab86a251269413903841ee8
Merged-In: Ia59d45f4e95a536d7982f61ac9c9a1bfc5e8ebb8

(cherry picked from commit cd95278e55bd0e4935f42214d964f8c6aa52b4ea)

Change-Id: I2e26bef9eddd342f51c02b991632c7ea04fe7e66

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 10:12:01 +0000 (03:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I0e4df67a950b6e0d541548c01f0812141102fb91

6 years agoMerge "Use noteOpNoThrow instead in AMS" into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 09:17:12 +0000 (09:17 +0000)]
Merge "Use noteOpNoThrow instead in AMS" into oc-mr1-dev

6 years agoUse noteOpNoThrow instead in AMS
Tony Mak [Wed, 20 Sep 2017 20:23:48 +0000 (21:23 +0100)]
Use noteOpNoThrow instead in AMS

We just want a boolean result to tell whether a package has certain permissions,
we do not expect the check to throw SecurityException, so let's use
noteOpNoThrow instead.

Fixes: 65912167

Test: Disable Gmail, install a test app and run setPassword. No crash.
Change-Id: Ifc6e7fbbae1121bda329f0a291522af9698959db

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 03:12:47 +0000 (20:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: If6f78b65137e2f7cd0e64ddc2bcdb7e2aa32817c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Revert "Increased the text size for colorized notifications"" into oc-mr1-dev
TreeHugger Robot [Thu, 21 Sep 2017 01:29:53 +0000 (01:29 +0000)]
Merge "Revert "Increased the text size for colorized notifications"" into oc-mr1-dev

6 years agoBump up OOM priority of bound VrListenerService.
Ruben Brunk [Tue, 19 Sep 2017 01:26:05 +0000 (18:26 -0700)]
Bump up OOM priority of bound VrListenerService.

Bug: 38390640

Test: Ensure that the priority of the main VrCore process is >
foreground with:

adb shell procrank -o

Change-Id: I5d9dd74cbaa7bc3bf586d6e851c8f92ce3af1fca

6 years agohwuitest: added hwui test for TV application
Dake Gu [Wed, 13 Sep 2017 21:23:59 +0000 (14:23 -0700)]
hwuitest: added hwui test for TV application

This is a test that simulates a standard TV application screen.

The UI elements:
A full screen background bitmap.
Few rows of cards.
Each card has a bitmap and an info area.
Info area has two lines text.
Each card is dimmed, implemented in two modes:
1. adding translucent color RenderNode on top of card
2. applying ColorFilter to bitmap.
Firt card of each row is scaled up and has shadow.

The animations:
Cards are updating translation Y and updating display list
and overlay color alpha or colorfilter.

Test: there are four tests:
tvapp: baseline test, with rounded corner, use Color RenderNode to dim
tvapp_norc: no rounded corner
tvapp_cf: use colorfilter to dim
tvapp_norc_cf: no rounded corner, use colorfilter to dim

Bug: 64990221

Change-Id: I385e349386c41e32b7313180db8c81b8f3e39f88

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 21 Sep 2017 00:30:59 +0000 (17:30 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Id18eae6765a58a33689a652fca0d0d48e78596f1

6 years agoRemove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS.
Felipe Leme [Tue, 19 Sep 2017 20:08:24 +0000 (13:08 -0700)]
Remove finished sessions on ACTION_CLOSE_SYSTEM_DIALOGS.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testTapHomeWhileSaveUiIsShowing
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testTapHomeWhileDatasetPickerUiIsShowing
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 65414762

Change-Id: I7dc9fd8f40341164e0ca320ff49b99cf8614fdbf

6 years agoMerge "have OffloaderController store and re-push more state" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 23:28:08 +0000 (23:28 +0000)]
Merge "have OffloaderController store and re-push more state" into oc-mr1-dev

6 years agoOnly call negative listener when SaveUI is dismissed by tapping button.
Felipe Leme [Wed, 20 Sep 2017 23:13:21 +0000 (16:13 -0700)]
Only call negative listener when SaveUI is dismissed by tapping button.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 66235266

Change-Id: Ieb3085b64e96ccbd3dd97fca58fcb9d4930c82fa

6 years agoRevert "Increased the text size for colorized notifications"
Selim Cinek [Wed, 20 Sep 2017 22:52:29 +0000 (22:52 +0000)]
Revert "Increased the text size for colorized notifications"

This reverts commit 299b3302ef6ea5094f094e92f384853aa012172b.

Change-Id: Id887bd37f8f7b0c1ff48c339c9d59491f65cae84
Bug: 35925915
Fixes: 66067974

6 years agoMerge "Track the earliest alarm for exiting DND." into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 20:02:05 +0000 (20:02 +0000)]
Merge "Track the earliest alarm for exiting DND." into oc-mr1-dev

6 years agoMerge "DND apps might not have a service, and that's ok" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 20:01:33 +0000 (20:01 +0000)]
Merge "DND apps might not have a service, and that's ok" into oc-mr1-dev

6 years agoMerge "Convert ICarrierService to oneway." into oc-mr1-dev
Jonathan Basseri [Wed, 20 Sep 2017 19:16:24 +0000 (19:16 +0000)]
Merge "Convert ICarrierService to oneway." into oc-mr1-dev

6 years agoMerge "LegacyCamera: fix wrong class name in JNI" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 19:06:01 +0000 (19:06 +0000)]
Merge "LegacyCamera: fix wrong class name in JNI" into oc-mr1-dev

6 years agoMerge "Fix STOPSHIP in SyncManager" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 17:27:40 +0000 (17:27 +0000)]
Merge "Fix STOPSHIP in SyncManager" into oc-mr1-dev

6 years agoAudioService: reduce EU volume warning thresdhold for USB headsets
Eric Laurent [Wed, 20 Sep 2017 16:54:47 +0000 (16:54 +0000)]
AudioService: reduce EU volume warning thresdhold for USB headsets
am: 630f37a4ad

Change-Id: Ied24bdcddc54255c3a287ffa871148177ad097f7

6 years agoMerge "Fix compiler filter for downgrading unused apps" into oc-mr1-dev
Shubham Ajmera [Wed, 20 Sep 2017 16:13:00 +0000 (16:13 +0000)]
Merge "Fix compiler filter for downgrading unused apps" into oc-mr1-dev

6 years agoMerge "packagemanager_native access to package installer, version" into oc-mr1-dev
Ray Essick [Wed, 20 Sep 2017 16:08:47 +0000 (16:08 +0000)]
Merge "packagemanager_native access to package installer, version" into oc-mr1-dev

6 years agoMerge "DND alert info set to INVISIBLE (not GONE) to retain formatting." into oc...
TreeHugger Robot [Wed, 20 Sep 2017 16:02:46 +0000 (16:02 +0000)]
Merge "DND alert info set to INVISIBLE (not GONE) to retain formatting." into oc-mr1-dev

6 years agoMerge "Fix reliability triggering" into oc-mr1-dev
Neil Fuller [Wed, 20 Sep 2017 15:36:47 +0000 (15:36 +0000)]
Merge "Fix reliability triggering" into oc-mr1-dev

6 years agoMerge "Fail gracefully if password reset token is invalidated" into oc-mr1-dev
Rubin Xu [Wed, 20 Sep 2017 15:15:42 +0000 (15:15 +0000)]
Merge "Fail gracefully if password reset token is invalidated" into oc-mr1-dev

6 years agoMerge "Handle null left and right tab strip drawables" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 13:59:05 +0000 (13:59 +0000)]
Merge "Handle null left and right tab strip drawables" into oc-mr1-dev

6 years agoTrack the earliest alarm for exiting DND.
Julia Reynolds [Tue, 19 Sep 2017 17:10:26 +0000 (13:10 -0400)]
Track the earliest alarm for exiting DND.

Test: manual
Change-Id: Ifa7ae6b6f3f8ff2c7cc8382ab73bf2bc89cd085e
Fixes: 65332502

6 years agoDND apps might not have a service, and that's ok
Julia Reynolds [Fri, 15 Sep 2017 18:26:32 +0000 (14:26 -0400)]
DND apps might not have a service, and that's ok

Also add logging for permission changes.

Bug: 64969998
Test: manual; trigger backup and verify dnd apps still have dnd
access.
Change-Id: Iefa14a6a1130fb4cc823fe6979f6b5a7b212ca4b

6 years agoMerge "Fix window visibility during layout" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 03:17:44 +0000 (03:17 +0000)]
Merge "Fix window visibility during layout" into oc-mr1-dev

6 years agoMerge "Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 03:11:22 +0000 (03:11 +0000)]
Merge "Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d" into oc-mr1-dev

6 years agoMerge "Select a system audio route only when needed" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 02:54:45 +0000 (02:54 +0000)]
Merge "Select a system audio route only when needed" into oc-mr1-dev

6 years agohave OffloaderController store and re-push more state
Erik Kline [Tue, 19 Sep 2017 08:56:10 +0000 (17:56 +0900)]
have OffloaderController store and re-push more state

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Bug: 64976634
Change-Id: Ib1421438a1e748722fc41f1fbfb01ada187bb1c8

6 years agoMerge changes Ied9d0cec,I3087f446,Ibe706872 into oc-mr1-dev
Hugo Benichi [Wed, 20 Sep 2017 00:58:35 +0000 (00:58 +0000)]
Merge changes Ied9d0cec,I3087f446,Ibe706872 into oc-mr1-dev

* changes:
  Wakeup packet events: addressing a few comments
  Connectivity metrics: add WakeupStats events
  Connectivity metrics: collect NFLOG wakeup events

6 years agoMerge "Handle night display state when timezone changes" into oc-mr1-dev
Christine Franks [Wed, 20 Sep 2017 00:23:28 +0000 (00:23 +0000)]
Merge "Handle night display state when timezone changes" into oc-mr1-dev

6 years agoMerge "Handle autofill auth scenarios where the FillContext cannot be retrieved:...
TreeHugger Robot [Wed, 20 Sep 2017 00:19:03 +0000 (00:19 +0000)]
Merge "Handle autofill auth scenarios where the FillContext cannot be retrieved:" into oc-mr1-dev

6 years agoMerge "Handle showWhenLocked on secondary displays" into oc-mr1-dev
David Stevens [Wed, 20 Sep 2017 00:09:04 +0000 (00:09 +0000)]
Merge "Handle showWhenLocked on secondary displays" into oc-mr1-dev

6 years agoMerge "Consider task's root activity when determining if resizable." into oc-mr1-dev
Bryce Lee [Tue, 19 Sep 2017 23:21:54 +0000 (23:21 +0000)]
Merge "Consider task's root activity when determining if resizable." into oc-mr1-dev

6 years agoConsider task's root activity when determining if resizable.
Bryce Lee [Fri, 15 Sep 2017 00:06:41 +0000 (17:06 -0700)]
Consider task's root activity when determining if resizable.

We consider an activity resizable if the root activity of the its
parent task is resizable. This changelist adds this condition to
consideration.

Change-Id: I4162ff7eb6cad3f4a3f9fdf35ccc0b0d2383ff15
Fixes: 65668913
Test: bit FrameworksServicesTests:com.android.server.am.ActivityRecordTests#testCanBeLaunchedOnDisplay
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerDisplayTests#testLaunchNonResizeableActivityFromSecondaryDisplaySameTask

6 years agoMerge "Autofill optimization: don't contact server when session is finished." into...
TreeHugger Robot [Tue, 19 Sep 2017 22:47:16 +0000 (22:47 +0000)]
Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev

6 years agoMerge "Deferred setup banner updates intermittently" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 22:13:28 +0000 (22:13 +0000)]
Merge "Deferred setup banner updates intermittently" into oc-mr1-dev

6 years agoMerge "Fix dexopt dump" into oc-mr1-dev
Calin Juravle [Tue, 19 Sep 2017 21:58:14 +0000 (21:58 +0000)]
Merge "Fix dexopt dump" into oc-mr1-dev

6 years agoMerge "Add an explicit reason for the compilation of shared apks" into oc-mr1-dev
Calin Juravle [Tue, 19 Sep 2017 21:56:41 +0000 (21:56 +0000)]
Merge "Add an explicit reason for the compilation of shared apks" into oc-mr1-dev

6 years agoPartially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d
Shubham Ajmera [Tue, 19 Sep 2017 21:07:05 +0000 (14:07 -0700)]
Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d

We have already reverted A/B dexopt for secondary dex files in commit
7c1471197427b59f99578fd2483b1e113ba4b7f1. This removes secondary dex
opt during boot after OTA.

Bug: 65067046
Test: make and boot.
Change-Id: I76009ed609a608e009a50860b53a8dfed9d57334

6 years agoHandle night display state when timezone changes
Christine Franks [Fri, 25 Aug 2017 20:57:26 +0000 (13:57 -0700)]
Handle night display state when timezone changes

Bug: 64458884
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services and manually tested Hawaii and London

Change-Id: I052034a4c64eb73c42672215e8847c11e00efeb5

6 years agoEnsure profile-specific PiP notification is shown.
Winson Chung [Fri, 15 Sep 2017 22:41:00 +0000 (15:41 -0700)]
Ensure profile-specific PiP notification is shown.

- Pipe through user id when an activity is pinned, to ensure we show the
  right notification with the correct profile badge that launches into the
  correct profile's PiP settings.

Bug: 65417722
Test: Enter PiP for work profile app, ensure that it shows the notification
      for that profile, and launches the profile-specific PiP settings.

Change-Id: I62b8e1b23cb81bfc60c93f452cf950ab06cbf32d

6 years agoFix compiler filter for downgrading unused apps
Shubham Ajmera [Tue, 19 Sep 2017 04:13:59 +0000 (21:13 -0700)]
Fix compiler filter for downgrading unused apps

Bug: 65861247
Test: Verified manually that dex files are getting downgraded for \
       unused packages.

Change-Id: Ice2b111ab5bfd231a592ac5ed416362b95d27e8a

6 years agoMerge "Do not pause scanning during Network state changes." into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 20:52:49 +0000 (20:52 +0000)]
Merge "Do not pause scanning during Network state changes." into oc-mr1-dev

6 years agoMerge "Remove all FATAL_IFs from graphicsstats service" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 20:33:25 +0000 (20:33 +0000)]
Merge "Remove all FATAL_IFs from graphicsstats service" into oc-mr1-dev

6 years agoMerge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 20:32:56 +0000 (20:32 +0000)]
Merge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev

6 years agoMerge "Mark uid as non-idle/FG-entitled when launching for fg service" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 19:50:42 +0000 (19:50 +0000)]
Merge "Mark uid as non-idle/FG-entitled when launching for fg service" into oc-mr1-dev

6 years agoConvert ICarrierService to oneway.
Jonathan Basseri [Tue, 25 Jul 2017 20:34:36 +0000 (13:34 -0700)]
Convert ICarrierService to oneway.

Change the carrier config AIDL used by CarrierService to a oneway call.
This is the IPC used to fetch carrier config bundles from carrier apps.
Converting to oneway allows CarrierConfigLoader to be non-blocking while
it fetches config.

Bug: 63176442
Test: runtest carrierconfig-unit & manual
Change-Id: Iceaf0446321f719011f67897398da7d5998c5fc7

6 years agoDND alert info set to INVISIBLE (not GONE) to retain formatting.
Beverly [Tue, 19 Sep 2017 18:56:58 +0000 (14:56 -0400)]
DND alert info set to INVISIBLE (not GONE) to retain formatting.

Change-Id: I182aed5f48d4c2a935a7bfbb9a240046b27dea58
Fixes: 64688590
Test: Manual based on repro steps

6 years agoAutofill optimization: don't contact server when session is finished.
Felipe Leme [Tue, 19 Sep 2017 16:06:20 +0000 (09:06 -0700)]
Autofill optimization: don't contact server when session is finished.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug: 65414762

Change-Id: I214a7835727c3ff71de9dc65c8d6fe54507265fb