Commit Graph

10866 Commits

Author SHA1 Message Date
Svetoslav Ganov
993f63270f Merge "Address API council comments" into oc-dev am: fb4fb03cc3
am: 375d615b30

Change-Id: Ibba72870f4d4da53ab411b5e279a967a86584e19
2017-04-20 15:28:57 +00:00
Selim Cinek
00511d3dfb Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev am: 947be6bed9
am: c40344bf86

Change-Id: I849b78ceb45e22ab1b63bf4fbb88aac40625fd22
2017-04-20 14:57:42 +00:00
Dianne Hackborn
9ab0f438e1 Merge "Fix issue #37470038: API Review: ServiceConnection.onBindingDead()" into oc-dev am: 232ff0bdc8
am: 54246d5374

Change-Id: Id414ddd56d711cf4f0e383d8e0964add4129eec0
2017-04-20 14:44:48 +00:00
Ian Lake
dcdbd97caa Create a valid ActivityOptions Bundle even for default animations am: b759bd3b4a
am: d85e60aa46

Change-Id: I4c863de66246d6d9a6c64ea1e428094a15c682c1
2017-04-20 13:39:13 +00:00
Chad Brubaker
696ab6b7ff Merge "Change ANDROID_ID for Instant Apps" into oc-dev am: 904e6cad28
am: 97eecf8d09

Change-Id: Ibbea27ef27bfaa43649d0ff86e23f0ffd559d7f6
2017-04-20 13:34:06 +00:00
TreeHugger Robot
fb4fb03cc3 Merge "Address API council comments" into oc-dev 2017-04-20 03:53:37 +00:00
George Mount
d7076453d9 Merge "Fix FragmentTransaction.show() to show the fragment." into oc-dev am: 681ff5c7d8
am: 300a24c282

Change-Id: I29988d21eaaf1b1e49d8f90be921b77b5f3a368d
2017-04-20 00:25:56 +00:00
George Mount
ffb489ec29 Merge "Merge "Adds getLayoutInflater() to return a cached value." into oc-dev am: f3ff7b8207" into oc-dev-plus-aosp
am: 5c08716a58

Change-Id: I6ece7583fe6305f08eac7605d171b3d3779f3883
2017-04-20 00:10:42 +00:00
Selim Cinek
947be6bed9 Merge changes Ic76d996f,Ib9eefacb,If1b63340,I399c66af into oc-dev
* changes:
  Changed the documentation of the colorization
  Fixed the appearance of colorized fullscreenintent notifications
  Adapted the interpolator when using fingerprint
  The row is now labeling the expand button
2017-04-20 00:08:57 +00:00
TreeHugger Robot
232ff0bdc8 Merge "Fix issue #37470038: API Review: ServiceConnection.onBindingDead()" into oc-dev 2017-04-19 23:55:40 +00:00
Selim Cinek
5bb18a14f1 Changed the documentation of the colorization
There was still a reference to ongoing, which wasn't needed

Test: non, documentation change
Fixes: 34469375
Change-Id: Ic76d996f92f339db869f25d7696313eefc0c07bb
2017-04-19 15:00:52 -07:00
Selim Cinek
622c64a9ce Fixed the appearance of colorized fullscreenintent notifications
Previously the background would stay grey.

Test: manual, add fullscreen intent colorized notification
Change-Id: Ib9eefacba58256d2cb0c6f0d70cf0e9b5afdaf06
Fixes: 35968024
2017-04-19 15:00:50 -07:00
Dianne Hackborn
ac26534996 Fix issue #37470038: API Review: ServiceConnection.onBindingDead()
Renamed.

Test: booted and ran.

Change-Id: Ic21f7ef66d43fb6db9f7ebbc833f28c09474ea59
2017-04-19 14:53:43 -07:00
Ian Lake
d85e60aa46 Create a valid ActivityOptions Bundle even for default animations
am: b759bd3b4a

Change-Id: Ib9b61f2bf4ac6b6001664ebbc40d115089e75326
2017-04-19 21:39:49 +00:00
TreeHugger Robot
28602c0921 Merge changes from topic 'chooser' into oc-dev
* changes:
  Rely on view animations for ResolverActivity
  Create a valid ActivityOptions Bundle even for default animations
  Remove scale up animation for startActivity from RemoteViews
2017-04-19 21:04:26 +00:00
Chad Brubaker
904e6cad28 Merge "Change ANDROID_ID for Instant Apps" into oc-dev 2017-04-19 21:00:55 +00:00
TreeHugger Robot
681ff5c7d8 Merge "Fix FragmentTransaction.show() to show the fragment." into oc-dev 2017-04-19 19:06:09 +00:00
TreeHugger Robot
f3ff7b8207 Merge "Adds getLayoutInflater() to return a cached value." into oc-dev 2017-04-19 18:15:36 +00:00
Chad Brubaker
0d277a7b18 Change ANDROID_ID for Instant Apps
ANDROID_ID for Instant Apps now has the following properties:
1) per-app scoped
2) reset if the user clears the Instant App
3) remains the same if the Instant App gets upgraded to an installed
app.

Note that if the user goes instant -> installed_1 -> uninstall ->
installed_2 the ANDROID_ID at installed_1 will not be the same as
installed_2. This was deemed better than the id changing on the upgrade
step.

Test: manual
Change-Id: I532975c50049c94ff80902a897e001dd35a69f9f
2017-04-19 11:10:53 -07:00
George Mount
c5828b50ed Fix FragmentTransaction.show() to show the fragment.
Bug 37413327

When there was an animation and the fragment transaction wasn't
optimized, the fragment visiiblity wasn't being set during show().

Test: I0fd4029a02d6c9f082011bf56f0d3c8245803f68
Change-Id: Idc2c74ae2fc4759a755a5988ce6ca1b39ef8d554
2017-04-19 07:32:36 -07:00
Sunny Goyal
bfb5991945 Merge "Creating a common class for loading drawables and handling various badging" into oc-dev am: 15b48ff4de
am: cdb51ebb41

Change-Id: If4ee1ff513c4f52b102a9252c99e813d783f6d1d
2017-04-19 03:03:37 +00:00
Svetoslav Ganov
345ffa5421 Address API council comments
Test: cookie CTS tests pass

bug:37327624
bug:37325276
bug:37323696

Change-Id: I52b10470759e471629ec6772e115df94482eb341
2017-04-18 16:44:43 -07:00
Sunny Goyal
bab3075e2e Creating a common class for loading drawables and handling various badging
Test: Manually tested on device
Bug: 36591157
Change-Id: Ic847537d416650015cecaeb68f47f7f032e0dbaa
2017-04-18 16:36:15 -07:00
Ian Lake
b759bd3b4a Create a valid ActivityOptions Bundle even for default animations
The ActivityOptions bundle can hold additional information beyond the
animation details (such as the usage time report, launch, display id, etc). We
need to return a non-null Bundle even if we're using the default animations to
retain that information.

Test: Added in 8209c4bf

BUG: 34235073
Change-Id: If69edadb3f7ff937f07fc618bddbd10cf46666e6
2017-04-18 15:04:41 -07:00
Bryce Lee
57f7a1486e Merge "Deprecate ActivityManager#getRunningServices" into oc-dev am: 25b7687771
am: 178fe0d0f3

Change-Id: Id6c0c4f36d29071497d43f36bdc8a87ade9a2e43
2017-04-18 14:29:57 +00:00
Bryce Lee
25b7687771 Merge "Deprecate ActivityManager#getRunningServices" into oc-dev 2017-04-18 14:10:57 +00:00
Felipe Leme
0c74b14cc8 Merge "Renamed ViewNode's getAutoFillHints() to getAutofillHints()" into oc-dev am: cf7cb9c993
am: 1f59e1b241

Change-Id: I8ddce0c944404386f6b0f291805215ef369b2812
2017-04-18 04:19:27 +00:00
TreeHugger Robot
cf7cb9c993 Merge "Renamed ViewNode's getAutoFillHints() to getAutofillHints()" into oc-dev 2017-04-18 04:02:03 +00:00
Christopher Tate
058641607f Merge "Turn down the preliminary foreground service API" into oc-dev am: 00ed0baca8
am: 663de998e7

Change-Id: I1c70471deaa3991945d2950d1c6e0f5bc90805b4
2017-04-18 03:16:49 +00:00
Winson Chung
95d1b07936 Merge "Account for content insets in source rect hint for transition into PiP" into oc-dev am: eef5d285f9
am: 60c9403f10

Change-Id: I9d14c0aaeaa84548c307c315b022729092cd0e49
2017-04-18 02:43:19 +00:00
Dianne Hackborn
2dc576f922 Merge "Finish impl of job queue: handle URI permissions." into oc-dev am: 6e8f116647
am: cc4763071d

Change-Id: I02ee3531c37cc990ac4b6408f3452636680c8728
2017-04-18 02:37:06 +00:00
Dianne Hackborn
e60e736de2 Merge "More small fixes/adjustments to job scheduler." into oc-dev am: 950fa06a29
am: 46c91418e9

Change-Id: Ifef32df2ad01134bed8cb662287ebedd461dcccf
2017-04-18 02:32:36 +00:00
Adrian Roos
266d403281 Merge "AOD: Implement redacted notificatinos" into oc-dev am: 89e8b7b58e
am: 0ded7c8578

Change-Id: I83239f9124595c1bd8ca113e3b6afcee48935375
2017-04-18 02:26:35 +00:00
Felipe Leme
b118021972 Renamed ViewNode's getAutoFillHints() to getAutofillHints()
Test: CtsAutoFillServiceTestCases pass
Bug: 35956626
Bug: 35364993
Change-Id: I2ad5a625da6ed4ff889315923c81cfd629e34074
2017-04-17 18:51:18 -07:00
TreeHugger Robot
00ed0baca8 Merge "Turn down the preliminary foreground service API" into oc-dev 2017-04-18 01:48:31 +00:00
TreeHugger Robot
eef5d285f9 Merge "Account for content insets in source rect hint for transition into PiP" into oc-dev 2017-04-18 01:33:28 +00:00
TreeHugger Robot
6e8f116647 Merge "Finish impl of job queue: handle URI permissions." into oc-dev 2017-04-18 01:07:18 +00:00
TreeHugger Robot
950fa06a29 Merge "More small fixes/adjustments to job scheduler." into oc-dev 2017-04-18 00:47:09 +00:00
TreeHugger Robot
89e8b7b58e Merge "AOD: Implement redacted notificatinos" into oc-dev 2017-04-18 00:31:59 +00:00
George Mount
3fd812988f Adds getLayoutInflater() to return a cached value.
Bug 37156970

Many applications need to get the LayoutInflater used for
fragment View inflation. onGetLayoutInflater() can be heavy
weight, so a version that caches that last value is added.

Support Lib: I11d719d7416a5bb3b65f37a78e6ed96a69c32332
Test: I6aa0ecfe7136d133d15a597857f6cf6f3cf68fca

Change-Id: I686d5b39f7a046396fff124c33c22a73952ee5d7
2017-04-17 16:59:15 -07:00
Jeff Sharkey
498e095b6e Merge "Storage API polishing." into oc-dev am: 200d72d933
am: aead06b971

Change-Id: I13baad3e589cfe6b1ee257fa13742394cdee3c51
2017-04-17 23:57:40 +00:00
Dianne Hackborn
342e603710 Finish impl of job queue: handle URI permissions.
The job queue now handles URI permissions associated with
the Intent of each job.  Just (kind-of) like Service!

Also do the second pass of locking in job scheduler, getting
rid of all the async dispatching on a handler, and just executing
calls right in line with simple locking.  This probably fixes
a few other race issues, and allows us to make sure that we
always finish a job correctly when dequeuing the last work (we
will always atomically dequeue and finish, so no new work can
slip in between).

And fix a little debug output in IntentFilter.

Test: ran CtsJobSchedulerTestCases, added new test for URI perms.

Change-Id: I52f700ef0cd5be3ff70050f9c0f5fe3e8a5ccac1
2017-04-17 16:14:58 -07:00
Winson Chung
8802eac3d8 Account for content insets in source rect hint for transition into PiP
- As a part of transitioning into PiP, we remove the content insets, and
  as a result, we also need to adjust the source hint rect for the change
  in insets as well.

Bug: 37418994
Test: Enter PiP from YT, ensure no jump at the end

Change-Id: I74219b05c91d3c8b8466dd8fff4d6dd692f08725
2017-04-17 16:11:28 -07:00
Bryce Lee
f17e1d1a4d Deprecate ActivityManager#getRunningServices
This change deprecates the method akin to the previous deprecation of
ActivityManager#getRunningTasks. The documentation has been updated
to reflect the current limitations of the method.

Change-Id: I6f35309c1224fdf1f890bce3cc614be8aa343368
Fixes: 36937370
Test: documentation
2017-04-17 15:57:07 -07:00
Adrian Roos
1a1ecfcf5a AOD: Implement redacted notificatinos
Test: Turn on "show sensitive notifications on lockscreen", receive notification, observe AOD
Bug: 36610748
Change-Id: I981ef4cea7cefc76dcd55ebad9d05c758927dabb
2017-04-17 15:41:09 -07:00
Dianne Hackborn
fd8807accf More small fixes/adjustments to job scheduler.
- JobServiceEngine now takes a concrete Service instead of
generic Context in its constructor, since it really must be
associated with a real Service.

- Expand documentation of how dequeueWork() operates.

- Fix some job scheduler implementation to hopefully actually
match the docs: transfer remaining executing work to the new
job, and actually correctly transfer state from old and new
jobs if we are rescheduling due to a true return from onStopJob().

Test: bit CtsJobSchedulerTestCases:*
Change-Id: Ia66797049883eefb566264f930070afb69d469b1
2017-04-17 15:31:15 -07:00
Julia Reynolds
4914803e05 Merge "Add user to channel/group modification callbacks." into oc-dev am: 1ed2771450
am: c04cb25cdb

Change-Id: Ic73c2271e9a764a032392c71a6cf46839e2c06e0
2017-04-17 22:27:58 +00:00
Jeff Sharkey
200d72d933 Merge "Storage API polishing." into oc-dev 2017-04-17 22:26:44 +00:00
Philip P. Moltmann
955b263deb Merge "Allow to finish session when all views are gone" into oc-dev am: 3440e92009
am: 88a9bd73bb

Change-Id: I90aa430b7bcb5494804abc3960273c32b1c1bf81
2017-04-17 22:10:49 +00:00
Selim Cinek
79606abc48 Merge changes I22b55b73,Id050f2f5 into oc-dev am: d8d7a283bd
am: 324b399798

Change-Id: I1b8d5eb716a80f26370e3e46d587a9a4922c343e
2017-04-17 21:45:43 +00:00