OSDN Git Service
Tyler Gunn [Mon, 17 Apr 2017 17:40:44 +0000 (17:40 +0000)]
Merge "DO NOT MERGE Expose phone account register/unregister intents." into oc-dev
Tyler Gunn [Fri, 14 Apr 2017 20:43:30 +0000 (13:43 -0700)]
DO NOT MERGE Expose phone account register/unregister intents.
These were previously @SystemApi. Retaining the existing SystemAPI
behavior which sends the intents to those with a private permission.
Extending to ALSO send these intents to the default dialer app as well
using an explicit intent.
Cherry-pick from aosp-master to resolve merge conflicts.
Test: Manual
Bug:
37106957
Merged-In: Ifb72870105be5ba024af196a8c3165a9afb397ab
Change-Id: Ifb72870105be5ba024af196a8c3165a9afb397ab
(cherry picked from commit
d9da6ce9938b4222cfb409f172cacfe4cf1593e6)
Chris Tate [Mon, 17 Apr 2017 17:35:46 +0000 (17:35 +0000)]
Merge "Don't back up disabled apps" into oc-dev
TreeHugger Robot [Mon, 17 Apr 2017 17:28:33 +0000 (17:28 +0000)]
Merge "Fix EmergencyCryptKeeperText initialization" into oc-dev
Hangyu Kuang [Mon, 17 Apr 2017 17:04:17 +0000 (17:04 +0000)]
Merge "media: Address API review comments" into oc-dev
Andrii Kulian [Mon, 17 Apr 2017 16:59:56 +0000 (16:59 +0000)]
Merge "Temporary remove resource-display caching" into oc-dev
Bryce Lee [Mon, 17 Apr 2017 16:57:11 +0000 (16:57 +0000)]
Merge "Don't allow stacks above pinned stack." into oc-dev
Andrii Kulian [Mon, 17 Apr 2017 02:28:02 +0000 (19:28 -0700)]
Temporary remove resource-display caching
An instance of ResourceKey may correspond to different instances
of Resources at different points in time. This can lead to old
instances of Display returned from cache even if resources have
changed.
We need to ensure 1:1 correspondence between Resources and
ResourceKey before using this kind of cache. Disabling it for now
to fix CTS.
Change-Id: Ib53550c4f2d969c06a570ab6051529269b04b38d
Fixes:
37328072
Fixes:
37305567
Bug:
33430498
Test: android.server.cts.ActivityManagerAppConfigurationTests
Test: android.app.cts.DisplayTest#testRotation
TreeHugger Robot [Mon, 17 Apr 2017 16:34:49 +0000 (16:34 +0000)]
Merge "Synchronously update APs in during forceUpdate." into oc-dev
TreeHugger Robot [Mon, 17 Apr 2017 16:23:49 +0000 (16:23 +0000)]
Merge "Also use the notification's sound for the misc channel" into oc-dev
Yoshinori Hirano [Mon, 10 Apr 2017 11:33:49 +0000 (20:33 +0900)]
Fix EmergencyCryptKeeperText initialization
Moved the initialization to CollapsedStatusBarFragment
because EmergencyCryptKepperText is included in status_bar.xml
Bug:
37198942
Test: visual
Change-Id: I1b87e4857cea7f7b582f7e0f6062b70da98df13a
TreeHugger Robot [Mon, 17 Apr 2017 15:01:46 +0000 (15:01 +0000)]
Merge "Remove @removed method" into oc-dev
Julia Reynolds [Mon, 17 Apr 2017 14:31:03 +0000 (10:31 -0400)]
Also use the notification's sound for the misc channel
Even if it's nonexistent.
Test: runtest systemui-notification
Change-Id: I1167fdf10b776460de696657dd49ab6f2be85753
Fixes:
37414045
TreeHugger Robot [Mon, 17 Apr 2017 14:17:20 +0000 (14:17 +0000)]
Merge "expose the instant app installer component" into oc-dev
TreeHugger Robot [Mon, 17 Apr 2017 07:20:54 +0000 (07:20 +0000)]
Merge "MediaSessionService: Cache active sessions per an user" into oc-dev
TreeHugger Robot [Mon, 17 Apr 2017 05:11:14 +0000 (05:11 +0000)]
Merge changes I76ae853c,If94102c7 into oc-dev
* changes:
Ignore potential SystemProperties errors when setting net.dns
Make ConnectivityServiceTest pass on wifi-only devices.
Winson Chung [Wed, 5 Apr 2017 21:17:08 +0000 (14:17 -0700)]
Use vsync choreographer when moving PIP.
Bug:
36371375
Test: Enter PIP, move PIP
Change-Id: I5956a3ed9e92a4cdd4bf0a55723b9f1574c1a86f
Rebecca Silberstein [Sat, 15 Apr 2017 20:37:32 +0000 (20:37 +0000)]
Merge "Add a default SSID prefix for local only hotspot" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 18:52:01 +0000 (18:52 +0000)]
Merge "Rework getMetrics() api per API council" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 10:01:21 +0000 (10:01 +0000)]
Merge "Update for removing mount arg to VintfObject::CheckCompatibility" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 09:04:30 +0000 (09:04 +0000)]
Merge "Remove ScoredNetwork.BADGING constants." into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 07:05:44 +0000 (07:05 +0000)]
Merge "Keyguard should authenticate with FP even after getting valid FP" into oc-dev
Jorim Jaggi [Sat, 15 Apr 2017 04:52:20 +0000 (04:52 +0000)]
Merge "Wallpaper color extraction API stub" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 04:15:34 +0000 (04:15 +0000)]
Merge "API for notification listener for Companioon apps" into oc-dev
Svetoslav Ganov [Sat, 15 Apr 2017 03:29:08 +0000 (03:29 +0000)]
Merge "Add support for multiple fill contexts" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 02:16:10 +0000 (02:16 +0000)]
Merge changes from topics 'network_specifier', 'networkspecifier' into oc-dev
* changes:
[CM] Unhide the NetworkSpecifier as object API
Make the NetworkSpecifier a class instead of a string.
Add test coverage for NetworkSpecifiers.
Eugene Susla [Mon, 10 Apr 2017 18:51:58 +0000 (11:51 -0700)]
API for notification listener for Companioon apps
Test: 1. Trigger the confitrmation dialog.
Ensure it looks exactly like the one from settings.
2. Call an API without associating the appa first
Ensure exception is thrown with a message mentioning the need to associate 1st
Change-Id: I94d4116e1988db869ed445ae3fd018c50590e3f4
Adrian Roos [Sat, 15 Apr 2017 01:48:25 +0000 (01:48 +0000)]
Merge "AOD: Prolong AOD2 after interaction, turn off AOD when prox covered" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 01:44:30 +0000 (01:44 +0000)]
Merge "Support flagNoPersonalizedLearning in layout XML" into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 01:34:03 +0000 (01:34 +0000)]
Merge "BLE scan API using PendingIntent" into oc-dev
Lucas Dupin [Sat, 15 Apr 2017 01:33:08 +0000 (18:33 -0700)]
Wallpaper color extraction API stub
Now it's possible to listen to changes on wallpaper colors by
registering a listener on WallpaperManager. It's also possible
to get the current wallpaper text color hints.
Bug:
36856508
Test: compilation
Change-Id: I5102cb7be9a4af60b85fc8913154a79dfe5c21a0
TreeHugger Robot [Sat, 15 Apr 2017 01:18:31 +0000 (01:18 +0000)]
Merge "Reduce effect on PipMenuActivity during animation" into oc-dev
Christopher Tate [Sat, 15 Apr 2017 01:08:23 +0000 (18:08 -0700)]
Don't back up disabled apps
Bug
37150882
Test: manual
Change-Id: I9d8e34de880727325206f4d173a03f1fca4613a4
Dianne Hackborn [Sat, 15 Apr 2017 00:55:50 +0000 (00:55 +0000)]
Merge "Introduce a new JobServiceEngine class." into oc-dev
TreeHugger Robot [Sat, 15 Apr 2017 00:50:45 +0000 (00:50 +0000)]
Merge "Remove autofillMode attribute" into oc-dev
Stephen Chen [Wed, 29 Mar 2017 22:51:42 +0000 (15:51 -0700)]
Remove ScoredNetwork.BADGING constants.
Bug:
35323372
Bug:
35114358
Test: make, runtest --path
frameworks/base/core/tests/coretests/src/android/net/ScoredNetworkTest.java
Change-Id: I9640e374abe428235d94e0407d9d21f390550d2f
Svet Ganov [Fri, 14 Apr 2017 04:56:16 +0000 (21:56 -0700)]
Add support for multiple fill contexts
When saving data filled by the user the platform provides to
an autofill provider the state of the UI allowing the provider
to interpret this state and store relevant information.
A limitation of the current design is that the fill provider
needs to interpret the screen content twice, once handling a
fill request and once handling a save request. To address this
we are introducing a id for each fill request allowing the
autofill provider to associate arbitrary state with each fill
request and store it in the client data bundle later passed
to save.
Another limitation of the current design is that if the screen
changes dynamically while the user interacts with the app the
UI state passed on save represents a static snapshot, therefore
it is not possible to the autofill provider to determine the
context in which the data in the UI was filled. We could
keep the views and have deltas for views being removed/added
/moved/changed but this is not enough as the fill provider
needs to know not only what changed but what changed for every
fill request and in one session there could be multiple fill
requests. To address this we provide a list of fill contexts
on save each of which has the id of the corresponding fill
request. This allows the fill provider to know the exact context
in which the data was popuplated and also use its custom client
state for this fill request if desired.
This change deprecates the old APIs and the new ones delegate
to the old ones. Once the clients migrate to the new APIs we
will remove the old ones.
Test: all autofill CTS tests pass
Change-Id: Idcebcc671aa3c078a305d8c358e225274fccc588
Kevin Chyn [Mon, 10 Apr 2017 21:53:59 +0000 (14:53 -0700)]
Keyguard should authenticate with FP even after getting valid FP
There may be strange states where the user is already authenticated
but still on the lockscreen. The user should be able to dismiss
keyguard in that state.
Fixes:
29306222
Test: unlock phone
go back to keyguard
swipe up screen half way
touch fingerprint sensor (icon should change to unlocked)
then touch fingerprint sensor again (keyguard should be dismissed)
Test: unlock phone and go to settings -> Pixel Imprint
lock phone, unlock phone with fingerprint
touch sensor again and make sure Pixel Imprint page also responds to FP
do this test at least 10 times
Change-Id: I86acd520a06a68fab3548dd4cf6153a7833114fe
TreeHugger Robot [Sat, 15 Apr 2017 00:30:27 +0000 (00:30 +0000)]
Merge "Clear identity to handle ALLOCATE_AGGRESSIVE." into oc-dev
Ray Essick [Fri, 14 Apr 2017 17:22:55 +0000 (10:22 -0700)]
Rework getMetrics() api per API council
Reworking the media metrics getMetrics() calls (currently in MediaCodec,
MediaExtractor, MediaPlayer, and MediaRecorder) to fit new direction
from the API Council.
Drop the MediaMetricsSet that we had in the first round; go back
to a PersistableBundle as the return type. Moves the key definitions
from MediaMetricsSet.MediaCodec to MediaCodec.MetricsConstants
Bug:
37083862
Test: ran the corresponding CTS tests
Change-Id: I7905959ad2109887dd8fd16f0eb2831247abab2a
Sudheer Shanka [Sat, 15 Apr 2017 00:09:26 +0000 (00:09 +0000)]
Merge "Add new api Activity.getStartInitiatedTime." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 23:50:22 +0000 (23:50 +0000)]
Merge "MASTER_CLEAR action should not be public" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 23:49:13 +0000 (23:49 +0000)]
Merge "BluetoothMidi: request higher priority, for lower latency" into oc-dev
Makoto Onuki [Fri, 14 Apr 2017 23:29:07 +0000 (23:29 +0000)]
Merge "Fix the wrong IMPORTANCE_ values." into oc-dev
Svetoslav Ganov [Fri, 14 Apr 2017 23:22:26 +0000 (23:22 +0000)]
Merge "[DO NOT MERGE] Fix associations serialization optimization bug" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 23:22:07 +0000 (23:22 +0000)]
Merge "Support overriding display locale for SuggestedLocaleAdapter" into oc-dev
Eugene Susla [Wed, 29 Mar 2017 03:27:28 +0000 (20:27 -0700)]
[DO NOT MERGE] Fix associations serialization optimization bug
There mas a missing defensive copy causing false positive detections of
"associations not changed" case, leading to xml file not being updated once
at least one record is present
Bug:
30932767
Test: Associate at least two different devices and ensure the xml has both.
Change-Id: Ic0dc615dd2b847e137555c1084c616831b4dde83
Eugene Susla [Wed, 5 Apr 2017 17:36:24 +0000 (10:36 -0700)]
[DO NOT MERGE] Add an opnion to use advertised name for renaming
Test: Use new API, make sure renaming works
Change-Id: I9251c5db24495b8594fadce2beab3347a1aec884
Eugene Susla [Tue, 28 Mar 2017 22:40:44 +0000 (15:40 -0700)]
[DO NOT MERGE] Stop scan on device chooser activity backgrounded
This effectively treats chooser activity pause event as cancel.
Bug:
30932767
Test: Install two toy apps and call associate API from both.
Ensure foreground app always end up showing fresh data.
Change-Id: I7f5742e9878245550f678efd244bf84c427baef3
Amith Yamasani [Fri, 14 Apr 2017 00:46:53 +0000 (17:46 -0700)]
BLE scan API using PendingIntent
This allows apps to listen for beacons, etc., without having to
run a foreground service and register a callback. They can instead
register a PendingIntent which will be fired when scan results
are available or when an error occurs.
Bug:
37254611
Test: WIP
Change-Id: I1793eee67ff0211370ed6fc38be4d95a4c5853f5
Eugene Susla [Mon, 27 Mar 2017 23:57:40 +0000 (16:57 -0700)]
[DO NOT MERGE] Improve the error msg when started not for result
This makes sure that if the association request callback IntentResult
s accidentally started not for result, the resulting exception is
metioning it explicitly.
Test: Ensure the error message when calling the IntentSender not for result
explicitly mentions the requirement for the activity to be called for result.
Bug:
30932767
Change-Id: I950f262af43c555fb20dd5e49e935e476f24bba8
Svetoslav Ganov [Fri, 14 Apr 2017 23:11:26 +0000 (23:11 +0000)]
Merge "[DO NOT MERGE] Fix a bug with filtering by raw bytes" into oc-dev
Eugene Susla [Tue, 28 Mar 2017 22:04:12 +0000 (15:04 -0700)]
[DO NOT MERGE] Fix a bug with filtering by raw bytes
(when such filter is not provided)
See change in BluetoothDeviceFilterUtils
Bug:
30932767
Test: Call API with a BLE filter with no raw bytes filter, matching some device.
Ensure that the device eventually shows up.
Change-Id: I4397fa33dd0c48771c8a754791a171f2d0bd64eb
Adrian Roos [Thu, 13 Apr 2017 23:52:51 +0000 (16:52 -0700)]
AOD: Prolong AOD2 after interaction, turn off AOD when prox covered
Turns off AOD 1 and 2 when the proximity sensor is covered.
Also extends the AOD2 duration when the screen is touched or
the lift gesture is triggered.
Also fixes some issues with the fingerprint unlock transition
from AOD where the doze state for the NotificationPanelView
was cleared too early.
Also hides the wallpaper while we're dozing.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeMachineTest.java
Fixes:
36893539
Fixes:
36893538
Fixes:
36033906
Fixes:
37327153
Change-Id: I3fccae1515a0daf2ff99589ed78ec947687e6262
Dianne Hackborn [Fri, 14 Apr 2017 22:46:00 +0000 (15:46 -0700)]
Introduce a new JobServiceEngine class.
This allows any service to interact with JobScheduler, which
should give us a lot more opportunity to do interesting stuff
in the support lib.
Test: bit CtsJobSchedulerTestCases
Change-Id: I0843e8b212a0a63a17558b837b899b90cac22805
Yifan Hong [Fri, 14 Apr 2017 22:39:20 +0000 (15:39 -0700)]
Update for removing mount arg to VintfObject::CheckCompatibility
It is default to false.
Test: pass
Bug:
36814503
Change-Id: Ib06850d3355f54996b17cc6c2980a7d17af132e5
Jeff Sharkey [Fri, 14 Apr 2017 22:28:59 +0000 (16:28 -0600)]
Clear identity to handle ALLOCATE_AGGRESSIVE.
We're not actually clearing any files, only deciding how much free
space is available, so we're fine assuming the remote caller has the
permission.
Test: builds, boots
Bug:
37169076
Change-Id: I6cd42f77c43e9d2de40e2b8b937c7f2145f1b869
TreeHugger Robot [Fri, 14 Apr 2017 22:16:19 +0000 (22:16 +0000)]
Merge "Fix boot loop issue on Android Wear." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 22:04:34 +0000 (22:04 +0000)]
Merge "Fix some racines in AutofillManager" into oc-dev
Amith Yamasani [Fri, 14 Apr 2017 21:41:45 +0000 (14:41 -0700)]
MASTER_CLEAR action should not be public
Limit it to SystemApi, for passing intent tests
Bug:
36977779
Test: cts test
Change-Id: I716b94fc3cef43db1fafbfdad8dba0d850bec474
Philip P. Moltmann [Fri, 14 Apr 2017 20:55:57 +0000 (13:55 -0700)]
Remove autofillMode attribute
Bug:
36171235
Test: CtsAutoFillServiceTestCases
Change-Id: I69f0e1c4fa3c68f73049726e7ae8f10d9d81bf5e
Sudheer Shanka [Thu, 13 Apr 2017 19:32:55 +0000 (12:32 -0700)]
Add new api Activity.getStartInitiatedTime.
This api will return the timestamp at which this activity start was last
initiated by the system. Implementation is wip.
Bug:
9058261
Test: cts-tradefed run singleCommand cts-dev -m CtsAppTestCases -t \
android.app.cts.ActivityStartTimeTest
Change-Id: I396458ecefbb09108f414b95f9c0beb6d609a4e1
Phil Burk [Fri, 14 Apr 2017 19:15:56 +0000 (12:15 -0700)]
BluetoothMidi: request higher priority, for lower latency
Request a higher connection priority.
This will result in a Connection Interval below 15 msec
vs 45 msec for some devices.
Fix:
34710538
Test: Connect a BLE-MIDI device using the MIDI+BTLE test app. See bug.
Change-Id: I846a76a36c864f82969173a94d86b05059a786ad
Signed-off-by: Phil Burk <philburk@google.com>
Romain Guy [Fri, 14 Apr 2017 21:08:34 +0000 (21:08 +0000)]
Merge "Add BitmapFactory.Options.inColorSpace" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 20:53:22 +0000 (20:53 +0000)]
Merge "Clarify doc for Bitmap.createBitmap()" into oc-dev
Yohei Yukawa [Fri, 14 Apr 2017 20:46:37 +0000 (13:46 -0700)]
Support flagNoPersonalizedLearning in layout XML
In my previous CL [1] a new flag IME_FLAG_NO_PERSONALIZED_LEARNING
was added for EditorInfo.imeOptions. What was missed in the
previous CL is that new flag definition for layout XML and as a
result currently IME_FLAG_NO_PERSONALIZED_LEARNING is the only
IME option flag that cannot be specified in layout XML.
For instance, EditorInfo.IME_FLAG_FORCE_ASCII can be specified as
follows.
<EditText
android:id="@+id/edittext_force_ascii"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:imeOptions="actionSend|flagForceAscii" />
With this CL, application developers can specify
IME_FLAG_NO_PERSONALIZED_LEARNING as follows.
<EditText
android:id="@+id/edittext_no_personalized_learning"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:imeOptions="actionSend|flagNoPersonalizedLearning" />
[1]: Ibf5ac3d2b8f39542baf2635c0cadbe242b059f81
5959af13d069e77ff2b2ac729225e7d248b83a79
Bug:
28157942
Fixes:
37305520
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: Ifca0b13bf336cdc609af820aadcdb1b45ca1d5ba
TreeHugger Robot [Fri, 14 Apr 2017 20:44:14 +0000 (20:44 +0000)]
Merge "Convert signal icon to be custom drawable" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 20:42:15 +0000 (20:42 +0000)]
Merge "Fix API feedback on Color" into oc-dev
Hangyu Kuang [Thu, 13 Apr 2017 20:10:08 +0000 (13:10 -0700)]
media: Address API review comments
Change setNextOutputFile to accept File instead of String. Also add new version
of setOutputFile to accept File.
Bug:
36791064
Test: CTS test.
Change-Id: I1a3d574e7cf36acbf181407131bc9dbf114d30de
Mady Mellor [Fri, 14 Apr 2017 20:40:00 +0000 (20:40 +0000)]
Merge "Fix issue where menu items visible on 'closed' notification on lockscreen" into oc-dev
Wale Ogunwale [Fri, 14 Apr 2017 20:15:55 +0000 (13:15 -0700)]
Reduce effect on PipMenuActivity during animation
- Set windowDisablePreview to true so no starting window is added for
the pip menu activity.
- setDisablePreviewScreenshots() so we don't waste time taking
screenshot for the pip menu activity.
Test: manual
Change-Id: I327603b9b0edc0baff779b00c8f6f035852aad15
Nathan Harold [Fri, 14 Apr 2017 20:21:13 +0000 (20:21 +0000)]
Merge changes from topic 'ipsec-api-tweaks-merge' into oc-dev
* changes:
Add FileDescriptor Versions of applyTransportModeTransform()
IpSecManager and IpSecAlgorithm API Tweaks
Rebecca Silberstein [Sun, 26 Mar 2017 00:19:38 +0000 (17:19 -0700)]
Add a default SSID prefix for local only hotspot
Add a default prefix for local only hotspot that will be used to
generate WifiConfiguration objects. This prefix will have
random digits appended to reduce AP name collisions.
Bug:
36704909
Test: compiles
Change-Id: I2b9478a12de27cabe13ece2973bce7cd4976ba2f
Merged-In: I2b9478a12de27cabe13ece2973bce7cd4976ba2f
Andrew Zeng [Fri, 14 Apr 2017 20:03:20 +0000 (20:03 +0000)]
Merge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev am:
2c42db20e4 -s ours
am:
812594f573 -s ours
Change-Id: I54ee864eadfe657ab560c6490a23227532d96b0c
Andrew Zeng [Fri, 14 Apr 2017 19:52:58 +0000 (19:52 +0000)]
Merge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev
am:
2c42db20e4 -s ours
Change-Id: I1c4ddbf044df414cffa282d9e9aba4261b23a975
Philip P. Moltmann [Tue, 11 Apr 2017 17:13:33 +0000 (10:13 -0700)]
Fix some racines in AutofillManager
- The session might be gone by the time the handler is called, hence check
the sessionID
- Access getClientLocked() and mSession only under mLock.
Test: cts-tradefed run cts-dev AutoFillServiceTestsCases
Change-Id: I445a24557589afadb1f5372b63ef9db88021b609
Andrew Zeng [Fri, 14 Apr 2017 19:40:51 +0000 (19:40 +0000)]
Merge "DO NOT MERGE Notify keyguard of when power button is pressed." into cw-f-dev
TreeHugger Robot [Fri, 14 Apr 2017 19:24:36 +0000 (19:24 +0000)]
Merge "Sysui Leaks: Leak check destroyed fragments" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 19:04:30 +0000 (19:04 +0000)]
Merge "Introduce NETWORK_TYPE_METERED job constraint" into oc-dev
Jason Monk [Mon, 10 Apr 2017 19:01:27 +0000 (15:01 -0400)]
Convert signal icon to be custom drawable
This will make it really easy to change the number of bars it
displays.
Test: runtest systemui
Change-Id: If0b8a606f56430ea08fa0887af85aa0e90de1d40
Fixes:
35902355
TreeHugger Robot [Fri, 14 Apr 2017 18:52:36 +0000 (18:52 +0000)]
Merge "Synchronize access to ranking helper records." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 18:28:31 +0000 (18:28 +0000)]
Merge "Lock access to managed services." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 18:21:41 +0000 (18:21 +0000)]
Merge "Bug fix: use legacy SkCanvas regardless of color space tag" into oc-dev
Roozbeh Pournader [Thu, 13 Apr 2017 22:51:32 +0000 (15:51 -0700)]
Support overriding display locale for SuggestedLocaleAdapter
The method now accepts a locale for overriding the labels
"Suggested", "All regions", etc.
Fixes:
31257462
Test: Manual
Change-Id: I6e8c95d8d3e7b05a284b171f2cf2819d32e53d8d
Vikas Marwaha [Fri, 14 Apr 2017 18:06:18 +0000 (18:06 +0000)]
Merge "Make android.intent.action.MASTER_CLEAR depreciation explicit" into oc-dev
Wale Ogunwale [Fri, 14 Apr 2017 17:32:59 +0000 (17:32 +0000)]
Merge "Move stack to front in-sync with task reparenting" into oc-dev
Svet Ganov [Fri, 14 Apr 2017 17:11:46 +0000 (10:11 -0700)]
Fix NPE in autofill
Test: manual
bug:
37330744
Change-Id: I110ece0b9283adb9998f8df795e2107da772482e
Romain Guy [Fri, 14 Apr 2017 01:43:42 +0000 (18:43 -0700)]
Add BitmapFactory.Options.inColorSpace
This allows applications to load bitmap in a preferred
target color space, similar to inPreferredConfig for
configurations.
This change also applies recent changes made to BitmapFactory
to BitmapRegionDecoder: support for outColorSpace, inColorSpace
and outConfig.
Bug:
32984164,
36905374
Test: CtsGraphicsTestCase (BitmapColorSpaceTest/BitmapRegionDecoderTest)
Change-Id: I4eded9190d1aa9c7f3033f9bb78a6854cc48a3ef
Daniel Nishi [Fri, 14 Apr 2017 17:11:26 +0000 (17:11 +0000)]
Merge "Revert "Use the StorageStatsManager in FileCollector."" into oc-dev
Julia Reynolds [Fri, 14 Apr 2017 16:29:04 +0000 (12:29 -0400)]
Synchronize access to ranking helper records.
Fixes:
36282438
Test: fix is mostly hypothetical. did try clearing data
on a lot of apps while a backup was in process.
Change-Id: I58977a972d187bce2c013d55a95298b23bc0eda8
Dongwon Kang [Fri, 14 Apr 2017 17:05:26 +0000 (17:05 +0000)]
Merge "TIF: add ASPECT_RATIO_4_3 for Preview/WatchNextPrograms" into oc-dev
Julia Reynolds [Fri, 14 Apr 2017 14:55:00 +0000 (10:55 -0400)]
Remove @removed method
Change-Id: I0b92edcc0440674003694ace9b53cad6124948dc
Fixes:
37340967
Test: make
Julia Reynolds [Fri, 14 Apr 2017 14:01:24 +0000 (10:01 -0400)]
Lock access to managed services.
Fixes:
35873807
Test: manual, set a notification to enqueue once a second for a few
minutes while also repeatedly granting and denying notification listener
access to a couple of apps in Settings and verifying
that nothing crashes and log is clean.
Change-Id: I15f429d61bf5f9ad639e524a94288a6d2db2cb56
TreeHugger Robot [Fri, 14 Apr 2017 16:56:23 +0000 (16:56 +0000)]
Merge "Remove unnecessary casts on calls to findViewById" into oc-dev
Todd Kennedy [Wed, 12 Apr 2017 21:10:12 +0000 (14:10 -0700)]
expose the instant app installer component
Bug:
35873804
Test: TreeHugger
Change-Id: I4d962927587bb10833bfe3c3db27fdceab668fc3
Makoto Onuki [Thu, 13 Apr 2017 21:54:56 +0000 (14:54 -0700)]
Fix the wrong IMPORTANCE_ values.
Bug:
36697597
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsAppTestCases -t android.app.cts.AlertWindowsTests
Change-Id: I3327d4668470400e8b30faeebb77534eeb2583ed
Wale Ogunwale [Fri, 14 Apr 2017 16:45:27 +0000 (09:45 -0700)]
Move stack to front in-sync with task reparenting
When reparenting a task to another stack have window manager move the
destination stack to the front at the same time it is reparenting the
task if REPARENT_MOVE_STACK_TO_FRONT is set to avoid jank.
Test: manual
Bug:
37299899
Change-Id: I45678e742188a4871f93a11178f7ab2b60c7bcc3
Matt Sarett [Thu, 13 Apr 2017 16:18:47 +0000 (12:18 -0400)]
Bug fix: use legacy SkCanvas regardless of color space tag
Test: Added unit test. CtsGraphicsModule.
Bug:
32984164
Change-Id: If72e1e31c98e01f97f3a05d763f5d4c71cf88313
TreeHugger Robot [Fri, 14 Apr 2017 16:26:20 +0000 (16:26 +0000)]
Merge "Update more implementations of findViewById()" into oc-dev
Chad Brubaker [Fri, 14 Apr 2017 16:07:11 +0000 (16:07 +0000)]
Merge "Implicitly expose SEND intents to Instant Apps" into oc-dev