OSDN Git Service
TreeHugger Robot [Fri, 11 May 2018 09:33:20 +0000 (09:33 +0000)]
Merge "Add new type into metrics_constants.proto" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 03:14:33 +0000 (03:14 +0000)]
Merge "Treat fg service alarms like bg service alarms under FAS" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 02:45:25 +0000 (02:45 +0000)]
Merge "Add a path to allow detection of task changes to the top of the ActivityView" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 02:42:38 +0000 (02:42 +0000)]
Merge "Document system activity intents that may not be implemented" into pi-dev
TreeHugger Robot [Fri, 11 May 2018 02:03:55 +0000 (02:03 +0000)]
Merge "Cannot add null callbacks to ZenController" into pi-dev
Christopher Tate [Thu, 10 May 2018 20:09:48 +0000 (13:09 -0700)]
Document system activity intents that may not be implemented
All of these activity-start intents might be unimplemented on some
Android products. Document this to make sure that developers are
aware of the need to safeguard against this.
Bug:
68300743
Bug:
62201251
Bug:
69587018
Fixes:
77282739
Test: atest CtsContentTestCases:.AvailableIntentsTest
Change-Id: Ia2346d03ccb7f2bdad2b84ba9efff72413fdc3c2
TreeHugger Robot [Fri, 11 May 2018 00:46:42 +0000 (00:46 +0000)]
Merge "Add new category keys." into pi-dev
TreeHugger Robot [Fri, 11 May 2018 00:06:37 +0000 (00:06 +0000)]
Merge "Added support to run autofill service from instant apps." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 23:44:33 +0000 (23:44 +0000)]
Merge "Allow mobile status bar icon to overflow" into pi-dev
Selim Cinek [Thu, 10 May 2018 22:09:38 +0000 (22:09 +0000)]
Merge "Fix User unable to view the keyboard input" into pi-dev
Jordan Liu [Thu, 10 May 2018 22:09:16 +0000 (22:09 +0000)]
Merge "Update documentation of ApnSetting with V5 example" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 22:03:41 +0000 (22:03 +0000)]
Merge "Fix failure in ExifInterface on certain HEIF files" into pi-dev
Winson Chung [Thu, 10 May 2018 21:33:53 +0000 (21:33 +0000)]
Merge "Remove failsafe runnable once the animation finishes." into pi-dev
Winson Chung [Thu, 10 May 2018 21:33:49 +0000 (21:33 +0000)]
Merge "Expose rotation button as hit target for deferring recents animation." into pi-dev
Beverly [Thu, 10 May 2018 20:43:52 +0000 (16:43 -0400)]
Cannot add null callbacks to ZenController
- In StatusBar: remove callback on destroy
Bug:
79418729
Test: atest ZenModeControllerImplTest
Change-Id: I92729b0c0414d0ed8f844371cbf357b613ced0b5
Felipe Leme [Wed, 9 May 2018 17:17:50 +0000 (10:17 -0700)]
Added support to run autofill service from instant apps.
Bug:
79422318
Test: m -j CtsAutoFillServiceTestCases && \
cts-tradefed run commandAndExit cts-instant-dev \
-m CtsAutoFillServiceTestCases
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Change-Id: I1e885fe7edcbc0ace3a0f60abacb9cea9b6c03e7
Android Build Merger (Role) [Thu, 10 May 2018 21:07:45 +0000 (21:07 +0000)]
Merge "[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8 am:
fb67a0f5f3 am:
2cb239cf3c am:
8914d11b15 am:
675ad12059 am:
ed2d7b7d62 am:
e4204fa020 am:
5f26706929" into pi-dev
Tony Mak [Thu, 10 May 2018 21:07:25 +0000 (14:07 -0700)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8 am:
fb67a0f5f3 am:
2cb239cf3c am:
8914d11b15 am:
675ad12059 am:
ed2d7b7d62 am:
e4204fa020
am:
5f26706929
Change-Id: Ibd4fff1bb0266441b7245bea886826aa0b18765d
TreeHugger Robot [Thu, 10 May 2018 21:04:41 +0000 (21:04 +0000)]
Merge "Fix notificationinfo test breakage" into pi-dev
Makoto Onuki [Thu, 10 May 2018 21:00:51 +0000 (21:00 +0000)]
Merge "SyncManager: Suppress WTF until ready to sync" into pi-dev
Eugene Susla [Thu, 10 May 2018 20:56:56 +0000 (13:56 -0700)]
[automerger] Nullcheck to fix Autofill CTS am:
6c68a69288 am:
743abb939a am:
a99414f51f am:
6b95503960 am:
9e291fe8c2 am:
97f7498c18 am:
232f42c7b8 am:
76a04ff670 am:
2bd91daa06 am:
3543522564 am:
775b8adf7b
am:
dd7d1ca671
Change-Id: I6e03797e8b08d7ee74554745e67489034a8ac953
Tony Mak [Thu, 10 May 2018 20:39:43 +0000 (13:39 -0700)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8 am:
fb67a0f5f3 am:
2cb239cf3c am:
8914d11b15 am:
675ad12059 am:
ed2d7b7d62
am:
e4204fa020
Change-Id: I4c1426d98c470490c9a62ca88bafbd5d5c62c09c
Doris Ling [Thu, 10 May 2018 20:29:38 +0000 (13:29 -0700)]
Add new category keys.
Adding 2 new category keys for injecting dynamic tiles:
- night light
- gestures
Bug:
79530682
Bug:
79532703
Test: make RunSettingsLibRoboTests
Change-Id: I4e7f10c8abdf425f24d5b51bcc8a5f80faca5281
Tony Mak [Thu, 10 May 2018 20:28:09 +0000 (13:28 -0700)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8 am:
fb67a0f5f3 am:
2cb239cf3c am:
8914d11b15 am:
675ad12059
am:
ed2d7b7d62
Change-Id: Ibfff2e78a363925207bd6ea0364aa494f99fe6b3
Eugene Susla [Thu, 10 May 2018 20:20:16 +0000 (13:20 -0700)]
[automerger] Nullcheck to fix Autofill CTS am:
6c68a69288 am:
743abb939a am:
a99414f51f am:
6b95503960 am:
9e291fe8c2 am:
97f7498c18 am:
232f42c7b8 am:
76a04ff670 am:
2bd91daa06 am:
3543522564
am:
775b8adf7b
Change-Id: I835e777e7e6bee5e91bfa729d095f8b6f0653c43
Lei Yu [Thu, 10 May 2018 20:10:41 +0000 (20:10 +0000)]
Merge "Add new method in PowerWhitelistBackend" into pi-dev
Rohan Shah [Thu, 10 May 2018 20:00:54 +0000 (13:00 -0700)]
Fix notificationinfo test breakage
Bind no longer logs unnecessarily - log was moved over to the manager
already.
Test: Ran test
Fixes:
79533793
Change-Id: I1d893935fa93ff7dbb91e922ae2444c4ac42b046
Eugene Susla [Thu, 10 May 2018 20:07:48 +0000 (13:07 -0700)]
[automerger] Nullcheck to fix Autofill CTS am:
6c68a69288 am:
743abb939a am:
a99414f51f am:
6b95503960 am:
9e291fe8c2 am:
97f7498c18 am:
232f42c7b8 am:
76a04ff670 am:
2bd91daa06
am:
3543522564
Change-Id: I62fb1c7d3eb618e7f3d8b2033303761c5f75e9c8
TreeHugger Robot [Thu, 10 May 2018 19:58:00 +0000 (19:58 +0000)]
Merge "VintfObjectTest: fix test with respect to deprecation schedule changes" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 18:43:42 +0000 (18:43 +0000)]
Merge "Extend Location setting to show location usage within 24 hours." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 18:23:07 +0000 (18:23 +0000)]
Merge "Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL" into pi-dev
Winson Chung [Thu, 10 May 2018 18:12:55 +0000 (11:12 -0700)]
Expose rotation button as hit target for deferring recents animation.
Bug:
78906750
Test: Hit rotation button with Camera open, no flash
Change-Id: Id5abc2d255d35debcade0ccbc55f20aedcf89e35
Winson Chung [Thu, 10 May 2018 17:32:39 +0000 (10:32 -0700)]
Remove failsafe runnable once the animation finishes.
- The scheduled failsafe runnable was running after we had already
cleaned up the reference to the animation runner. Clear the runnable
and also mark the animation as canceled so that future calls that
happen to get through (from the runner as well) are also ignored.
Bug:
79514993
Test: atest FrameworksServicesTests:com.android.server.wm.RecentsAnimationControllerTest
Change-Id: Ib8d565022068833ccad212df3a7f6df68f5343d7
TreeHugger Robot [Thu, 10 May 2018 17:41:28 +0000 (17:41 +0000)]
Merge "Disallow animating when opening home" into pi-dev
Android Build Merger (Role) [Thu, 10 May 2018 17:41:07 +0000 (17:41 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8 am:
fb67a0f5f3 am:
2cb239cf3c am:
8914d11b15 am:
675ad12059
Change-Id: I9435814e67948c466a6bebc7acdcb2e68b30d4be
Android Build Merger (Role) [Thu, 10 May 2018 17:41:03 +0000 (17:41 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8 am:
fb67a0f5f3 am:
2cb239cf3c am:
8914d11b15
Change-Id: I72861a0685af1981b9a50ebbb8eb315d150f5f63
Android Build Merger (Role) [Thu, 10 May 2018 17:40:57 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8 am:
fb67a0f5f3 am:
2cb239cf3c
Change-Id: I8f405684aae1cdb6aac377861d3387622a20f661
Android Build Merger (Role) [Thu, 10 May 2018 17:40:52 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8 am:
fb67a0f5f3
Change-Id: I756b595747e3d97ddb14dc45ed1b6001ec6ebed8
Android Build Merger (Role) [Thu, 10 May 2018 17:40:46 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3 am:
42ded39df8
Change-Id: I315da9ccb85d9e69edf18dd85b7bdf183bd6f738
Android Build Merger (Role) [Thu, 10 May 2018 17:40:32 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360 am:
6a42ea18b3
Change-Id: If82fd8b2c76bedf089bec4501169417427854b1d
Android Build Merger (Role) [Thu, 10 May 2018 17:40:27 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510 am:
884d2c7360
Change-Id: I0e5ba8adaed2d6247137319262278fac98f467e1
Android Build Merger (Role) [Thu, 10 May 2018 17:40:22 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373 am:
b1f2848510
Change-Id: I689d44b6617f0ed949e3f72367980158ea06ad0d
Android Build Merger (Role) [Thu, 10 May 2018 17:40:16 +0000 (17:40 +0000)]
[automerger] clearCallingIdentity before calling into getPackageUidAsUser am:
857326e373
Change-Id: I2166c2f9ca0a6654e1a88b1d183062eb1564c24d
Tony Mak [Thu, 14 Dec 2017 12:40:07 +0000 (12:40 +0000)]
clearCallingIdentity before calling into getPackageUidAsUser
Fix:
70585244
Bug:
69981755
Test: Enable any accessibility service -> inflate work profile
-> Tap on any work app -> no longer crash
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.CrossProfileAppsHostSideTest.testPrimaryUserToManagedProfile
Change-Id: I80d18f4e2ab76a228cb0aa2c8312c323a9b5c84d
TreeHugger Robot [Thu, 10 May 2018 17:40:03 +0000 (17:40 +0000)]
Merge "[Notif] Limit shown events to manager.show" into pi-dev
Wei Wang [Tue, 1 May 2018 18:21:31 +0000 (11:21 -0700)]
Extend Location setting to show location usage within 24 hours.
Bug:
79089524
Test: manual, unit test.
Change-Id: I0058479a3b8e139c68c688e6e14f837a335bba6f
Merged-In: I0058479a3b8e139c68c688e6e14f837a335bba6f
Patrick Baumann [Thu, 10 May 2018 17:10:26 +0000 (10:10 -0700)]
Expands javadocs for Intent.FLAG_ACTIVITY_MATCH_EXTERNAL
This change adds much needed detail to the new MATCH_EXTERNAL flag,
explaining some of the behavior changes that come with using it.
Test: none
Bug:
63117034
Bug:
79325769
Change-Id: Iab320d2171ffe8d8012a2928656ea61d5e0f0862
Evan Laird [Thu, 10 May 2018 17:13:27 +0000 (13:13 -0400)]
Allow mobile status bar icon to overflow
With display size set to larest, a wide notch emulated, and battery
percentage showing, it's possible to not be able to fit a single status
icon other than the battery. In this case, the mobile icon needs to
overflow into the etc area.
Some other changes:
- set View.INVISIBLE instead of View.GONE when hiding the mobile view so
that it correctly reports its width on measure
- Don't subtract padding from width when laying out StatusIconContainer
Test: visual
Change-Id: Ic8e73402a3371331dd4c803f3c4559da276ba0a2
Fixes:
78149953
Fixes:
77504032
TreeHugger Robot [Thu, 10 May 2018 17:02:35 +0000 (17:02 +0000)]
Merge "Combine a message as one string and give it to snet_event_log" into pi-dev
Nicolas Geoffray [Thu, 10 May 2018 16:55:46 +0000 (16:55 +0000)]
Merge "Revert "Add static analysis data."" into pi-dev
Nicolas Geoffray [Thu, 10 May 2018 16:54:21 +0000 (16:54 +0000)]
Revert "Add static analysis data."
bug:
64382372
Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa
This reverts commit
43293cfd3320661f3bfb19490ab0cf4927c1882f.
Change-Id: I324819bba610426f5ea63077275f792374386b6c
Ryan Mitchell [Thu, 10 May 2018 16:47:09 +0000 (16:47 +0000)]
Merge "RRO: Fix black screen flashes for splits" into pi-dev
Ryan Mitchell [Wed, 9 May 2018 16:01:12 +0000 (09:01 -0700)]
RRO: Fix black screen flashes for splits
Downloading splits of an app while the app is open lead to black screen
flashes because apps would relaunch unnecessarily. This
change allows OMS to have correct state about targets while no longer
sending OVERLAY_CHANGED events or relaunching activities when packages
are changed or upgraded.
Bug:
79376331
Test: App provided in b/
79376331 and regression testing of previous
black screen flash problems
Change-Id: I6e725dbe44b910959bc14304801b314024d9e831
Makoto Onuki [Tue, 8 May 2018 22:21:56 +0000 (15:21 -0700)]
SyncManager: Suppress WTF until ready to sync
"Sync job didn't start" check shouldn't be triggered until we're
actually ready to sync.
Bug:
78590632
Test: run a sync and make sure log has "readyToSync=true"
Change-Id: I64d43e21624d4e6415aa508fdbe7fffb51489608
TreeHugger Robot [Thu, 10 May 2018 16:39:59 +0000 (16:39 +0000)]
Merge "Fix BatterySaverPolicyTest and add more accessibility test" into pi-dev
Rohan Shah [Thu, 10 May 2018 16:20:18 +0000 (16:20 +0000)]
Merge "Move BH test to flaky and change it slightly" into pi-dev
Sunny Goyal [Thu, 10 May 2018 16:04:17 +0000 (16:04 +0000)]
Merge "Desaturating the icon disabled on app widgets for a suspended app" into pi-dev
Koji Fukui [Wed, 9 May 2018 02:38:01 +0000 (11:38 +0900)]
Combine a message as one string and give it to snet_event_log
snet_event_log gets 3 arguments. Combine a message of revoking
permission when group changed and give it to 3rd argument of
snet_event_log.
Test: Repo'd scenario and looked at log
Bug:
79443138
Change-Id: Iecf0505bb7927891aa879d0cacedcf94872b9452
Bo Zhu [Thu, 10 May 2018 15:56:48 +0000 (15:56 +0000)]
Merge "Revert "Change the root of trust for CryptAuth Vault Service"" into pi-dev
Bo Zhu [Thu, 10 May 2018 15:37:41 +0000 (15:37 +0000)]
Revert "Change the root of trust for CryptAuth Vault Service"
This reverts commit
1f4097860987a7e8337f7ffb101488512698e69c.
Reason for revert: Will resubmit once the server side change is ready
Bug:
79513473
Bug:
78920513
Change-Id: I4c94d307a9181390a59cdc1602cc9d04c1661ad0
TreeHugger Robot [Thu, 10 May 2018 15:50:47 +0000 (15:50 +0000)]
Merge "Only set text when it actually changes" into pi-dev
Nicolas Geoffray [Thu, 10 May 2018 15:25:44 +0000 (15:25 +0000)]
Merge "Add static analysis data." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 15:14:20 +0000 (15:14 +0000)]
Merge "Disable APF memory clear on pre-APFv4 devices" into pi-dev
Nicolas Geoffray [Wed, 9 May 2018 20:55:50 +0000 (21:55 +0100)]
Add static analysis data.
bug:
64382372
Test: m
Merged-in: I188a69ad05fffa69be79fec36b180fc9f76998fa
Change-Id: I1320c833bf2084d03627fca6bb1f5d365cf289c2
Bernie Innocenti [Wed, 9 May 2018 08:58:50 +0000 (17:58 +0900)]
Disable APF memory clear on pre-APFv4 devices
Fixes a system crash on HU when connecting to a wifi AP.
Change-Id: I8b71323985b6c5fc8a75f99470c9f86343d57f90
Bug:
78905546
Test: manually on android auto device
Kenny Guy [Thu, 10 May 2018 11:37:38 +0000 (11:37 +0000)]
Merge "Fix colorized messaging layout and smart replies." into pi-dev
hughchen [Thu, 10 May 2018 10:04:25 +0000 (18:04 +0800)]
Add new type into metrics_constants.proto
* Change DIALOG_UPDATABLE_LIST_PREFERENCE to DIALOG_SWITCH_A2DP_DEVICES.
* Add DIALOG_SWITCH_HFP_DEVICES
* This is for a new dialog which is able to update content instantly when connected devices change
Bug:
77783217
Test: build
Change-Id: I1dd79f35a2b26be071acceca5fe984c8f17d44ec
Annie Meng [Thu, 10 May 2018 09:47:29 +0000 (09:47 +0000)]
Merge "Add navbar magnification to critical accessibility check" into pi-dev
Kenny Guy [Wed, 2 May 2018 18:10:36 +0000 (19:10 +0100)]
Fix colorized messaging layout and smart replies.
Modify messaging style and smart replies view to
cope with colorized backgrounds.
Bug:
78928664
Bug:
77927019
Test: atest SystemUITests (with patch from ag/
3992401)
Test: visual - see bug for screenshots
Change-Id: Iee66931574fb48d0340986bf520532f798ef59fc
TreeHugger Robot [Thu, 10 May 2018 06:57:32 +0000 (06:57 +0000)]
Merge "Fixing a couple crashes in the SoundTriggerTestApp" into pi-dev
Lucas Dupin [Thu, 10 May 2018 06:49:42 +0000 (06:49 +0000)]
Merge "AOD group notification style" into pi-dev
Tracy Zhou [Thu, 10 May 2018 06:45:02 +0000 (06:45 +0000)]
Merge "Dismiss Quickstep onboarding tip sooner." into pi-dev
Calin Juravle [Thu, 10 May 2018 06:03:08 +0000 (06:03 +0000)]
Merge "Make system server profiling an explicit runtime intent" into pi-dev
Chalard Jean [Thu, 10 May 2018 05:58:24 +0000 (05:58 +0000)]
Merge "Fix SSID not being logged by the validation logs" into pi-dev
Dianne Hackborn [Thu, 10 May 2018 05:49:08 +0000 (05:49 +0000)]
Merge "Further flesh out app ops foreground state." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 05:43:33 +0000 (05:43 +0000)]
Merge "Allow keep showing to bypass bouncer" into pi-dev
Tracy Zhou [Tue, 8 May 2018 22:24:17 +0000 (15:24 -0700)]
Dismiss Quickstep onboarding tip sooner.
We want to dismiss the quickstep tip immediately after swipe up gesture
crosses threshold.
Bug:
70180942
Test: Manual test
Change-Id: I760e2b5cad4b38c84b1199729f9d5f2a8827af4c
Jaewan Kim [Thu, 10 May 2018 04:48:35 +0000 (04:48 +0000)]
Merge "MediaSessionService: Provide caller information for media key events" into pi-dev
Shuo Qian [Thu, 10 May 2018 04:32:36 +0000 (04:32 +0000)]
Merge "Enhance adding subscription logs" into pi-dev
Rohan Shah [Thu, 10 May 2018 03:32:15 +0000 (20:32 -0700)]
Allow keep showing to bypass bouncer
User experience improvement that alleviates the current bouncer bug with
the blocking helper (where users can't swipe after interacting with the
blocking helper).
Bug:
78222122
Test: Added test case, verified on device with lock screen pin + helper
Change-Id: I54806df8b960ea305b120aef6217a6b90f30590b
Rohan Shah [Thu, 10 May 2018 02:55:30 +0000 (19:55 -0700)]
[Notif] Limit shown events to manager.show
We have a slight over-fire of show events due to bindNotification being
called multiple times on density or user config changes. To be extra
careful, limit the show events to only get called with
perhapsShowBlockingHelper.
Bug:
74609669
Test: Through adb logcat -b events + thru config changes
Change-Id: I0719052869e53ff1cba5030579daf512f324e99c
TreeHugger Robot [Thu, 10 May 2018 02:43:20 +0000 (02:43 +0000)]
Merge "Fix the gauge metric data size estimation." into pi-dev
Yang Lu [Thu, 10 May 2018 02:37:49 +0000 (02:37 +0000)]
Merge "Add a sampling method to pull gauge when condition changes to true." into pi-dev
TreeHugger Robot [Thu, 10 May 2018 02:02:37 +0000 (02:02 +0000)]
Merge "Skip writing metrics to disk if it's entirely composed of no_report_metric" into pi-dev
Rohan Shah [Thu, 10 May 2018 01:59:44 +0000 (18:59 -0700)]
Move BH test to flaky and change it slightly
Marked the test as flaky. Additionally, changed how mocks are created.
This may or may not affect the test's passing rate. Also updated the
double spy horribleness.
Bug:
79444334
Test: Ran atest, no functional changes
Change-Id: Ieb901a1702ab15bdf98f37cb4b37d5068882162d
Chong Zhang [Thu, 10 May 2018 01:52:01 +0000 (18:52 -0700)]
Fix failure in ExifInterface on certain HEIF files
Some sniffers in MediaExtractor might issue reads past the end of
the file. This results in IOException in our MediaDataSource. The
exception itself is not fatal, but need to make sure MediaDataSource
state is kept in sync otherwise the other extractors can't continue.
Bug:
79497983
Test: test the ExifInterface on the attached file in bug, as well as
selected HEIF files from other devices, Exif should be extracted
without error in the log.
Change-Id: I5c8f597b8ef14288e3465670b202adc93c09e6ea
Dianne Hackborn [Wed, 9 May 2018 00:30:48 +0000 (17:30 -0700)]
Further flesh out app ops foreground state.
Fix some bugs, add the ability to monitor state changes, improve
dumpsys output to help debugging, add a new check API that allows
the caller to get the real state.
Bug:
78480444
Test: atest FrameworksServicesTests:AppOpsServiceTest
Test: atest CtsPermissionTestCases:AppOpsTest
Change-Id: I3d41be9968c1d95a1456f4052da958ea64aa068d
Svetoslav Ganov [Thu, 10 May 2018 01:02:17 +0000 (01:02 +0000)]
Merge "Fix an accidentally reverted condition" into pi-dev
TreeHugger Robot [Thu, 10 May 2018 01:02:10 +0000 (01:02 +0000)]
Merge "Fix the flaky gauge/value e2e test due to cached events." into pi-dev
Svet Ganov [Wed, 9 May 2018 22:27:43 +0000 (15:27 -0700)]
Fix an accidentally reverted condition
The conditional was accidentally reversed so bringing it
back to the correct state and also bringing back the security
exception being thrown on violation.
Test: manual
bug:
67773960
Change-Id: I1223297b8662e94413cc0bdcbe86089d1af296c2
Lucas Dupin [Thu, 10 May 2018 00:40:20 +0000 (17:40 -0700)]
Only set text when it actually changes
Bug:
77823972
Test: runtest systemui-jank -c android.platform.systemui.tests.jank.SystemUiJankTests -m testUnlock
Change-Id: Ie056d3c0d9bf413f10864356ba1f57913b87d066
Mehdi Alizadeh [Thu, 10 May 2018 00:38:50 +0000 (00:38 +0000)]
Merge "Adds overlay field for Swipe Up gesture's default opt-in value" into pi-dev
Felipe Leme [Wed, 9 May 2018 23:48:50 +0000 (23:48 +0000)]
Merge "Fixed name of autofill service on save UI." into pi-dev
Yangster-mac [Wed, 11 Apr 2018 20:55:04 +0000 (13:55 -0700)]
Fix the gauge metric data size estimation.
Test: statsd test
BUG: b/
77906846
Change-Id: Ie5ab54771acadde1e825289fe5ec491cc2225458
Christopher Tate [Wed, 9 May 2018 20:49:41 +0000 (13:49 -0700)]
Treat fg service alarms like bg service alarms under FAS
Change-Id: I8e60b76aba07b286ff7f75c07d399ed2c7a4efbc
Fixes:
73559697
Test: atest -m AlarmManagerTestCases
yro [Wed, 9 May 2018 23:03:27 +0000 (16:03 -0700)]
Skip writing metrics to disk if it's entirely composed of
no_report_metric
Test: unit test, cts
Bug:
79488249
Change-Id: I3e13a6271cc36665a43d0f09d8663e5996224477
Yangster [Wed, 9 May 2018 22:51:07 +0000 (15:51 -0700)]
Add a sampling method to pull gauge when condition changes to true.
Test: statsd test
BUG: b/
79490890
Change-Id: I82ed6681151f8a217e74bd0d855f817b4fa0619c
Jordan Liu [Wed, 9 May 2018 22:51:49 +0000 (15:51 -0700)]
Update documentation of ApnSetting with V5 example
ApnSetting#fromString has had 2 version bumps since the documentation
was written. Users of the resource overlay can mix and match versions,
so this documentation gives an example of a V5 format ApnSetting with a
V3 one.
Bug:
70172263
Test: manual; no behavior change
Change-Id: I20ff199fb60304fbb7c2a8b837869bfd143eba16
TreeHugger Robot [Wed, 9 May 2018 22:47:40 +0000 (22:47 +0000)]
Merge "add install action for carrier id to system API" into pi-dev
Leon Scroggins [Wed, 9 May 2018 22:44:39 +0000 (22:44 +0000)]
Merge "Allow ImageDecoder to read SkFILEStream directly" into pi-dev