258450 Commits

Author SHA1 Message Date
Bill Yi
94a1e0fca6 Import translations. DO NOT MERGE
Change-Id: Ia854a721fe3df7212deb75df8ab7c4adb5b531c1
Auto-generated-cl: translation import
2017-02-16 21:18:39 -08:00
TreeHugger Robot
daacf547ac Merge "ReolverActivity: try auto launching single choice" into nyc-mr2-dev 2017-02-16 19:22:02 +00:00
TreeHugger Robot
d663b483d1 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-16 15:37:17 +00:00
TreeHugger Robot
c527941449 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-16 15:29:39 +00:00
TreeHugger Robot
aeab162647 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-16 15:29:09 +00:00
TreeHugger Robot
495542837c Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-16 15:25:34 +00:00
TreeHugger Robot
ea62e92c27 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-16 15:25:03 +00:00
TreeHugger Robot
0860f41afc Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-16 15:24:31 +00:00
Bill Yi
d236ff79b9 Import translations. DO NOT MERGE
Change-Id: I3ee5f071cb664f57f316b70a4036973aba9312bd
Auto-generated-cl: translation import
2017-02-16 04:54:38 -08:00
Bill Yi
705f732f24 Import translations. DO NOT MERGE
Change-Id: If44132000703aba49ea891bd59b3006c7cc8dc31
Auto-generated-cl: translation import
2017-02-16 03:29:57 -08:00
Bill Yi
e13670c036 Import translations. DO NOT MERGE
Change-Id: I10af9bcccabc29f816d9602bc0a371aef8fb3e77
Auto-generated-cl: translation import
2017-02-16 02:52:18 -08:00
Bill Yi
999923709f Import translations. DO NOT MERGE
Change-Id: I3ee247ad24da92edcf93e0edadcddcce8bda17b5
Auto-generated-cl: translation import
2017-02-16 02:48:51 -08:00
Bill Yi
b1fb46745a Import translations. DO NOT MERGE
Change-Id: I95db0b4941fbfbd4ad6bf625de876ffdc07210e6
Auto-generated-cl: translation import
2017-02-16 02:31:50 -08:00
Bill Yi
9f4a2d427a Import translations. DO NOT MERGE
Change-Id: I5987eba5f40b632fd475e57fb8c8ff1343b2d6bc
Auto-generated-cl: translation import
2017-02-16 02:16:44 -08:00
TreeHugger Robot
e0e08f3f41 Merge "DO NOT MERGE - Ensuring that there are per-user last stack active times." into nyc-mr2-dev 2017-02-16 03:02:17 +00:00
Hall Liu
4d3435637f Merge "Add extra key for app-specified outgoing call timeout" into nyc-mr2-dev 2017-02-16 01:09:38 +00:00
Chris Tate
38f1b6dbc9 Merge "Harden against jobscheduler client app misbehavior" into nyc-mr2-dev 2017-02-16 00:51:01 +00:00
Manu Cornet
512bbdde69 DO NOT MERGE - Ensuring that there are per-user last stack active times.
- This fixes an issue where the last stack active time would be clobbered
  when switching between users.  With the policy in the phone/stack
  recents, this is fine, but with the grid recents, it no longer only
  applies when out of the historical window, so it is always wrong (it
  would normally be wrong if switching back from another user after the
  historical time of six hours).

  This CL will migrate the last stack active time to a per-user secure
  setting, which will be used going forward.

[This is a manual merge of change 1913535]

Bug: 35375206
Test: On the Ryu, launch some tasks, switch users, launch more tasks, and
      return to the original user

Change-Id: Idc72920240093d15f822f5d9e3ee11b12a56edae
2017-02-15 16:37:19 -08:00
Hall Liu
67c708bed8 Add extra key for app-specified outgoing call timeout
Bug: 34474757
Test: manual
Merged-In: I6e7e67c946205b28440a4daeeab3a002f8d6bccc
Change-Id: Ia93d68d6a01308b0b93b88977daf983a0ed3a22c
2017-02-15 14:39:43 -08:00
Xiaohui Chen
393c8018a1 ReolverActivity: try auto launching single choice
We already does this on start.  Now we also do the same when
the list of options changes.

Test: locally on device
Bug: 34470067
Change-Id: Ib184d67b532c5afd584fb9cd52daac69a7c50d0a
2017-02-15 09:48:38 -08:00
Michael Kwan
83b072c48c Merge "Fix incorrect values for VelocityTracker in SwipeDismissLayout." into cw-f-dev
am: c61cd1a635

Change-Id: Ib1cff2ace082862c2a1c250170453b989f6697df
2017-02-14 22:53:41 +00:00
TreeHugger Robot
c61cd1a635 Merge "Fix incorrect values for VelocityTracker in SwipeDismissLayout." into cw-f-dev 2017-02-14 22:47:00 +00:00
Michael Kwan
390120b925 Fix incorrect values for VelocityTracker in SwipeDismissLayout.
The offset used to adjust MotionEvents for swipe velocity tracking
was incorrect, and caused issues when touch points where close
together. Fixed the offset used, which resolved swiping issues.

Bug: 34673753
Change-Id: Ide6060b511510bcf299e3db778e6ffc6afda5e19
2017-02-14 12:04:38 -08:00
Philip P. Moltmann
d043a840f7 Merge "[DO NOT MERGE] Revert "[DO NOT MERGE] Delay SharedPreferences.apply() by 50 ms"" into nyc-mr2-dev 2017-02-14 16:03:32 +00:00
TreeHugger Robot
f47658f120 Merge "2D Recents: Fix a glitch during task relayout after a dismiss" into nyc-mr2-dev 2017-02-14 15:24:45 +00:00
TreeHugger Robot
dee514fae3 Merge changes from topic 'pixel-c' into nyc-mr2-dev
* changes:
  Introduce debounce to filter rapidly toggling type-c ports [DO NOT MERGE]
  Fix handling usb dialog for wall chargers. [DO NOT MERGE]
2017-02-14 03:34:51 +00:00
Badhri Jagan Sridharan
e8b0e11371 Introduce debounce to filter rapidly toggling type-c ports [DO NOT MERGE]
Type-c ports can quickly toggle between connected/disconnected
states. Introduce debounce to prevent sending spurious notifications.

Bug: 34972898
Test: notification should not be queued for a pixel-c charger not connected
to the power outlet.
Change-Id: I4aa19f9f864fe5b77e65f6a07a3184d8aba1f5fc
2017-02-13 17:44:11 -08:00
Badhri Jagan Sridharan
8b0807c789 Fix handling usb dialog for wall chargers. [DO NOT MERGE]
UsbPort.POWER_ROLE_SINK is orthogonal to the type of the charger
attached. POWER_ROLE_SINK would be the case for AC charging and
USB charging. Therefore query BatteryManager for the charger
type.

Bug: 34972898
Test: Charging notification should not show for pixel-c chargers.
Change-Id: I8dddcd7727b6af973bd173d2c6e325aa4be2ca3a
2017-02-13 17:44:05 -08:00
Amith Yamasani
ee37330dff Merge "DO NOT MERGE : Revert "DO NOT MERGE. No direct Uri grants from system."" into nyc-mr1-dev am: 7556690cf5
am: c510e19d18

Change-Id: I367d15ea4ab849ee16e58d08793dc7971304740f
2017-02-14 01:02:53 +00:00
Amith Yamasani
c510e19d18 Merge "DO NOT MERGE : Revert "DO NOT MERGE. No direct Uri grants from system."" into nyc-mr1-dev
am: 7556690cf5

Change-Id: Ib0446301e56751f6a72403155c576516cd7e559c
2017-02-14 00:57:56 +00:00
Michael Kwan
d56887f8fa Merge "Only modify window layout params when necessary." into cw-f-dev
am: 9fbd981f23

Change-Id: I14316841b80bdb25755e174528ef4bb271d3e005
2017-02-14 00:55:29 +00:00
TreeHugger Robot
7556690cf5 Merge "DO NOT MERGE : Revert "DO NOT MERGE. No direct Uri grants from system."" into nyc-mr1-dev 2017-02-14 00:49:44 +00:00
Michael Kwan
9fbd981f23 Merge "Only modify window layout params when necessary." into cw-f-dev 2017-02-14 00:48:12 +00:00
Hakan Seyalioglu
45fa749c5a DO NOT MERGE - Check exported status in chooser
am: 7bae18232e

Change-Id: Ieda18baab005a6a85b5107dfab37d20dec990110
2017-02-14 00:41:51 +00:00
Philip P. Moltmann
755d78dbd9 [DO NOT MERGE] Revert "[DO NOT MERGE] Delay SharedPreferences.apply() by 50 ms"
This reverts commit 2fc44947dd4f45a23c56985d4c12f01332027a9f.

Bug: 30662828
Change-Id: Ia22343c19e155555dff3b0cb58f7b58df0ce6301
2017-02-13 23:44:31 +00:00
Hakan Seyalioglu
7bae18232e DO NOT MERGE - Check exported status in chooser
Relevant change in master is ag/1844170

bug: 34147053
Change-Id: Ic9d9d65c66325904c95ab3966bdcc16e7668278b
(cherry picked from commit e3286c3145d54564e783333ac2a2bb89b9ffdc49)
2017-02-13 23:12:28 +00:00
Amith Yamasani
55100571da DO NOT MERGE : Revert "DO NOT MERGE. No direct Uri grants from system."
Reason: Breaking setting the user avatar in Settings.
Bug: 35158271
This reverts commit b61338ecb307a2f595a8f78e290b5287a6503aaa.

Change-Id: Ia08c12be3da06b0d02e71635b46350c8ff50ec19
2017-02-13 22:00:12 +00:00
Michael Kwan
134ad6ef3f Only modify window layout params when necessary.
Cancelling swipe-to-dismiss will trigger a check to ensure the window
is reset to its original state. Ensure that the reset is actually
required before setting the new layout attributes.

Bug: 34816397
Change-Id: Idf26ce7c8b63dc44a76effefcb32eb8d8665f605
2017-02-13 13:20:09 -08:00
TreeHugger Robot
5de3e5ab36 Merge "Fix live wallpaper not showing on lock screen after restore" into nyc-mr2-dev 2017-02-13 20:49:53 +00:00
TreeHugger Robot
29e3920c4e Merge "Workaround wallpaper restore race" into nyc-mr2-dev 2017-02-13 20:04:11 +00:00
Michael Kwan
ddc6e0b7ae Add tweaks to smooth out swipe to dismiss.
am: 5758a9a94c

Change-Id: Id10a31504aa5a579e8670e7a23d2d99a990ed6e5
2017-02-13 19:32:29 +00:00
Bryan Mawhinney
e7aadaaa3a Workaround wallpaper restore race
If WallpaperManager is asked to read a wallpaper between when we
call mWm.clear and mWm.setStream, it is possible for us to end
up losing restored state such as cropHint and allowBackup

By not calling mWm.clear, we make this much less likely to happen.
It isn't necessary to call clear, as will explicitly overwrite
all the interesting state anyway.

Test: by repeated adb restore
Bug: 34760753
Change-Id: I2750695d5dd16077b47b5b8fca3a667b98cc4f6c
(cherry picked from commit 5c14853296172fe9885eee26d86351bd935e8430)
2017-02-13 18:29:57 +00:00
Bryan Mawhinney
cd757d4979 Fix live wallpaper not showing on lock screen after restore
A recent change in nyc-mr2 means that setWallpaperComponent will
promote any static system wallpaper to the lock screen.  If we don't
actually have a static lock wallpaper to restore, we need to explicitly
clear the lock wallpaper to have the live one show through

Test: manually using adb backup / restore
Bug: 35090402
Change-Id: I8a2c5ffbaefe172c9d78a9f746ab87d9bc6b7448
(cherry picked from commit 96eb5b724bab31125e15eef2c926f6648567c3a1)
2017-02-13 18:26:31 +00:00
Bill Yi
c342666ac8 Import translations. DO NOT MERGE
Change-Id: I3355bb35c1500306ddaf5102f82beb010b67c208
Auto-generated-cl: translation import
2017-02-13 06:10:54 -08:00
Michael Kwan
5758a9a94c Add tweaks to smooth out swipe to dismiss.
Bug: 34673753
Change-Id: I5a9d420c70d124fc764803d505291e66818b1aa2
(cherry picked from commit 2e11adaac3ec959044e8154c67b6ab9cde82fdab)
2017-02-13 06:17:06 +00:00
Jeff Sharkey
41c9029be0 DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70 -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f -s ours am: 9aca89293a am: ab296986fc am: 55ef8ba763
am: 62314d7dd3

Change-Id: I1eca65886210f095a29125506422a846ae6567f9
2017-02-12 10:26:51 +00:00
Jeff Sharkey
62314d7dd3 DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70 -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f -s ours am: 9aca89293a am: ab296986fc
am: 55ef8ba763

Change-Id: Ie2f9e943501b62177b23b701a9eea219a1dc696f
2017-02-12 10:22:43 +00:00
Jeff Sharkey
55ef8ba763 DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70 -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f -s ours am: 9aca89293a
am: ab296986fc

Change-Id: Idd20eb270f3824840900b60a0b507b3c135ddc9e
2017-02-12 10:18:15 +00:00
Jeff Sharkey
d491410316 DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 3f3da42ef9 am: 32c71b078c am: 75f767afa1 am: 502ee22a9d -s ours am: deea677359 am: 853e178de4 am: c7b754f62b
am: 86f242b071

Change-Id: Iaf37416af9d8d3e31b1825719f2f0cc8e860a603
2017-02-12 10:16:12 +00:00
Jeff Sharkey
ab296986fc DO NOT MERGE. Grant MMS Uri permissions as the calling UID. am: 6f754e48e9 am: a0b1198e70 -s ours am: 48f1ddc94a am: 00f5232dd0 am: 9335807fc4 am: 208dcadb4f -s ours
am: 9aca89293a

Change-Id: Ifc71c14cbdfe8e93cb6bca789daa17117b8f214f
2017-02-12 10:14:09 +00:00