OSDN Git Service
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.
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
TreeHugger Robot [Sat, 15 Apr 2017 01:18:31 +0000 (01:18 +0000)]
Merge "Reduce effect on PipMenuActivity during animation" into oc-dev
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
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
TreeHugger Robot [Sat, 15 Apr 2017 00:30:27 +0000 (00:30 +0000)]
Merge "Clear identity to handle ALLOCATE_AGGRESSIVE." into oc-dev
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
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
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
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: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
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
Alan Viverette [Wed, 5 Apr 2017 14:00:01 +0000 (10:00 -0400)]
Remove unnecessary casts on calls to findViewById
Just frameworks/ this time. More paths to come.
Bug:
24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
Seigo Nonaka [Fri, 14 Apr 2017 15:13:12 +0000 (15:13 +0000)]
Merge "Use provided style for fallback font selection" into oc-dev
Hugo Benichi [Fri, 14 Apr 2017 12:28:37 +0000 (12:28 +0000)]
Merge "Captive portal: rotate fallback urls" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 11:54:38 +0000 (11:54 +0000)]
Merge "Implement new splash screen API" into oc-dev
Andrew Scull [Fri, 14 Apr 2017 11:31:00 +0000 (11:31 +0000)]
Merge "Service for OEM lock management." into oc-dev
Etan Cohen [Wed, 29 Mar 2017 20:57:08 +0000 (13:57 -0700)]
[CM] Unhide the NetworkSpecifier as object API
API visibility change: unhide allowing NetworkSpecifier
to be an arbitrary object.
Bug:
27533960
Bug:
36053921
Bug:
36275276
Test: builds and runs
Change-Id: I1d1705cca7ece077ef8d7c674c62d5369fedbb03
Merged-In: I7535495681da8f168c46d6d95e13925cffecc99b
Merged-In: I6500639ae839ee9ad5af34d1292d1539c943e2ad
Etan Cohen [Mon, 3 Apr 2017 19:17:51 +0000 (12:17 -0700)]
Make the NetworkSpecifier a class instead of a string.
Bug:
27533960
Bug:
36053921
Bug:
36275276
Test: connectivity, wifi, telephony unit tests
Change-Id: Idd9b10a8418c53c8cf386d9ff8252226b076bbf9
Merged-In: I7535495681da8f168c46d6d95e13925cffecc99b
Merged-In: I6500639ae839ee9ad5af34d1292d1539c943e2ad
Lorenzo Colitti [Mon, 3 Apr 2017 08:46:35 +0000 (17:46 +0900)]
Add test coverage for NetworkSpecifiers.
Tests various combinations of empty / non-empty NetworkSpecifiers
and changing specifiers on the fly.
Test: ConnectivityServiceTest passes
Bug:
27533960
Bug:
36053921
Change-Id: Ibd6b4efc861dc51689e46f3882ba859223411bf0
Merged-In: Ia7d36096f0e3f0b203d1d838043c03fcd1cea829
Merged-In: Ia71b72cc10dba6bac7c8fbe1ab3c5f40bc5506ff
Hugo Benichi [Mon, 10 Apr 2017 08:43:08 +0000 (17:43 +0900)]
Captive portal: rotate fallback urls
This patch introduces a new settings value to specify more than one url
for the fallback http probe in addition to the existing settings value.
If more than one url exists, a network will rotate urls for the fallback
probe one by one everytime the fallback probe is sent.
Test: built, flashed, tested manually with various portal networks.
Bug:
36532213
Merged-In: I3c010bfee5b99db03a500776fbf47959a29d0578
(cherry picked from commit
eef918a66c984ac7bb1f541665f4dc9bb88ea7ac)
Change-Id: If4d9a091c3a04a33895032d9b0d05c1dc66968e7
Svet Ganov [Fri, 14 Apr 2017 07:17:12 +0000 (00:17 -0700)]
Add back an id used by CTS
Test: tests can find the autofill dropdown
Change-Id: I4361960b4a12e02b06cca1e3112e4679cd6e484d
TreeHugger Robot [Fri, 14 Apr 2017 07:41:37 +0000 (07:41 +0000)]
Merge "Icon assets for magnification" into oc-dev
Jakub Pawlowski [Wed, 12 Apr 2017 15:51:22 +0000 (08:51 -0700)]
Bluetooth 5 PHY simplification
Having PHY_LE_* constants defined in four different places, with one
value being different than others is misleading. Leave just PHY_LE_*
definitions in BluetoothDevice, and add PHY_LE*_MASK for the mask used
in PHY update API.
This patch also removes need to translate PHY value between PHY update
request and event, as mask is used for request, and the value is
returned in event.
Bug:
30622771
Test: manual
Change-Id: I897effa1204a024465d55501c83c542566c4d37c
(cherry picked from commit
9e377194e35c0fb9ac5771f5658c095ed97e0838)
TreeHugger Robot [Fri, 14 Apr 2017 05:24:41 +0000 (05:24 +0000)]
Merge "Make sure theme attributes don't get lost" into oc-dev
Winson Chung [Fri, 14 Apr 2017 05:12:50 +0000 (05:12 +0000)]
Merge "Fix issue where we weren't dismissing the pip menu activity." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 05:06:39 +0000 (05:06 +0000)]
Merge "Fix javadoc typos" into oc-dev
Andrii Kulian [Fri, 14 Apr 2017 05:05:19 +0000 (05:05 +0000)]
Merge "Hide flag SHOW_WITH_INSECURE_KEYGUARD" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 04:49:39 +0000 (04:49 +0000)]
Merge "Fix instant app filtering in ApplicationsState" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 04:38:55 +0000 (04:38 +0000)]
Merge changes I789945c1,I532b0928,I62c6df8b,Ib2bd81ad into oc-dev
* changes:
Fixing missing movement bounds notification to SystemUI.
Fixing animating bounds regression.
Tightening up rotation behavior for PIP (2/3)
Tightening up rotation behavior for PIP (1/3)
TreeHugger Robot [Fri, 14 Apr 2017 04:22:06 +0000 (04:22 +0000)]
Merge "Allow custom buttons in autofill UI" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 03:53:48 +0000 (03:53 +0000)]
Merge "Add ACTION_ACCOUNT_REMOVED to Account Manager." into oc-dev
Casey Burkhardt [Fri, 14 Apr 2017 03:52:11 +0000 (20:52 -0700)]
Icon assets for magnification
Adds updated assets for the magnification icon to
AccessibilityButtonChooserActivity.
Bug:
37295643
Test: Manual - verified icon appearance in chooser
Change-Id: I1ddfb01889c86b481b2df0f924be6c0dc8daae04
Romain Guy [Fri, 14 Apr 2017 03:48:29 +0000 (20:48 -0700)]
Clarify doc for Bitmap.createBitmap()
Bug:
37323693
Test: compiles
Change-Id: I8cf316cf4c67b69c47c67848c576af6399a0111f
TreeHugger Robot [Fri, 14 Apr 2017 03:42:56 +0000 (03:42 +0000)]
Merge changes Id0d536ff,I4fcd0ad7 into oc-dev
* changes:
Connectivity metrics: add transports to connect stats
Connectivity metrics: log DnsEvents in-band
Romain Guy [Fri, 14 Apr 2017 03:40:46 +0000 (20:40 -0700)]
Fix API feedback on Color
Bug:
37323188
Test: Color_ColorLongTest and ColorSpaceTest in CtsGraphicsTestCases
Change-Id: I1e52d3f63f95b9bdb4410938b727a87c45429aac
TreeHugger Robot [Fri, 14 Apr 2017 03:37:33 +0000 (03:37 +0000)]
Merge "Relax enforcement of GET_USAGE_STATS permission." into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 03:10:12 +0000 (03:10 +0000)]
Merge "Add more doc to ColorSpace.getName()" into oc-dev
Romain Guy [Fri, 14 Apr 2017 03:06:41 +0000 (20:06 -0700)]
Fix javadoc typos
Bug:
37328228
Test: compiles
Change-Id: I75323ef5afb30381aa473ebe7172ebb145eac8f3
TreeHugger Robot [Fri, 14 Apr 2017 03:00:19 +0000 (03:00 +0000)]
Merge "Turn down dynamic toggle for background restriction policy" into oc-dev
Jesse Evans [Thu, 13 Apr 2017 01:06:50 +0000 (18:06 -0700)]
Fix instant app filtering in ApplicationsState
This fixes instant apps showing up as installed apps in the settings
UI where they should not be (namely the opening links page).
Test: Added tests for the filter
runtest -x packages/SettingsLib/tests/integ
Bug:
37108030
Change-Id: I0fc6cfd237d470a1f4dde7b2db38d8b3643ee6f7
Jorim Jaggi [Thu, 23 Feb 2017 14:35:51 +0000 (15:35 +0100)]
Implement new splash screen API
Test: mmm frameworks/base/tests/ActivityTests, launch
CustomSplashscreenActivity
Test: android.server.android.server.cts.SplashscreenTests
Bug:
37252694
Change-Id: Ie2aec4764d958086897296ed0fc3c39c55c4d8aa
Merged-In: I9a5bc19b8f63312e682e536500411e4ff4639f88
TreeHugger Robot [Fri, 14 Apr 2017 02:39:56 +0000 (02:39 +0000)]
Merge "Visual changes to PIP drag to dismiss UI" into oc-dev
Svet Ganov [Thu, 13 Apr 2017 23:03:34 +0000 (16:03 -0700)]
Check for non-null parent before delegating to it
Test: manual
bug:
37289681
Change-Id: If3055747471d4b7771256d8adaaa08b73641c09d
Winson Chung [Wed, 12 Apr 2017 01:31:21 +0000 (18:31 -0700)]
Fixing missing movement bounds notification to SystemUI.
- When WM updates from a configuration change, ensure that we update the
pinned stack controller even if there is currently no pinned stack.
- Also finish the menu activity once an activity is unpinned.
Bug:
36879891
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: I789945c1783693cf4b4e3d6663548c8669784001
TreeHugger Robot [Fri, 14 Apr 2017 02:13:21 +0000 (02:13 +0000)]
Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" into oc-dev
TreeHugger Robot [Fri, 14 Apr 2017 02:04:31 +0000 (02:04 +0000)]
Merge "Add Adlam font to fonts.xml" into oc-dev