Commit Graph

3025 Commits

Author SHA1 Message Date
Selim Cinek
2cae5760c6 Added Emergency affordance feature am: 705442fa7d am: 0e1f78da65
am: 10691456b8

Change-Id: Ieb3a0da5d5693a186c92ab1c21ba189558207ae3
2016-09-26 08:46:30 +00:00
Daniel Nishi
e58d2a72b3 Add a hidden action to trigger the storage manager settings.
Bug: 31621740
Change-Id: I3ad0b65b0810d468e1f297c7ad312ea8a919ea2a
(cherry picked from commit 4bd88df1fb)
2016-09-25 22:25:12 +00:00
Selim Cinek
10691456b8 Added Emergency affordance feature am: 705442fa7d
am: 0e1f78da65

Change-Id: I6f8220b18bce7889e3b9efe1b075a680a0ae7187
2016-09-23 22:12:33 +00:00
Selim Cinek
0e1f78da65 Added Emergency affordance feature
am: 705442fa7d

Change-Id: I03ebb84119f9cb310882ba9ea90ee1e1d7118d03
2016-09-23 22:00:42 +00:00
Todd Kennedy
20cb45c465 Add remote control of Instant Apps am: d15bb75af6 am: f308ffc915
am: 6f38e68456

Change-Id: I4e2344f16a82008023c63f278bce7e215d0874b8
2016-09-22 23:27:21 +00:00
Todd Kennedy
6f38e68456 Add remote control of Instant Apps am: d15bb75af6
am: f308ffc915

Change-Id: If7a6884bb896c1bab38c7d0fe963c06125a44c26
2016-09-22 21:55:44 +00:00
Todd Kennedy
f308ffc915 Add remote control of Instant Apps
am: d15bb75af6

Change-Id: I0433b101966f65daeb5d1d2ea04cf648572a8e58
2016-09-22 19:58:11 +00:00
Selim Cinek
705442fa7d Added Emergency affordance feature
Added a service that listens whether emergency affordances
are necessary.

If the they are needed, it adds an option to the
global actions dialog that directly launches the
emergency call and also adds a long-press listener
to the keyguard emergency button.

Test: adb shell settings put global force_emergency_affordance 1 && adb shell settings put global emergency_affordance_number 111112
Fixes: 30404490
Change-Id: Ib96a15da2ef4b568a8d77140ebca6aa6f20f5ddb
2016-09-22 12:25:57 -07:00
Doris Ling
458ea2c05b Add secure settings for Ambient Display pick up and double tap gestures. am: 6403b4050f am: 6591ac6381
am: 4c25818533

Change-Id: I7e956c18c51eb1db10324ebb5f4d6b8ae9630c2d
2016-09-21 06:21:39 +00:00
Lorenzo Colitti
f700a6e87f Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb am: aab02df195 am: 63275aba54
am: 3f67cbec46

Change-Id: I60ebe27ec892658c5a051457b13506e59ba33824
2016-09-21 06:04:15 +00:00
Doris Ling
4c25818533 Add secure settings for Ambient Display pick up and double tap gestures. am: 6403b4050f
am: 6591ac6381

Change-Id: I67f40251da88b4e2161a1ff591cc1383079013c0
2016-09-20 18:46:19 +00:00
Doris Ling
6591ac6381 Add secure settings for Ambient Display pick up and double tap gestures.
am: 6403b4050f

Change-Id: I35832dc785c1570b5243910309d029ce3c8af2bc
2016-09-20 18:41:03 +00:00
Lorenzo Colitti
3f67cbec46 Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb am: aab02df195
am: 63275aba54

Change-Id: I7d8d9f91208bcbe3ff625acf20d943b13f813d8e
2016-09-20 17:39:19 +00:00
Lorenzo Colitti
63275aba54 Support "don't ask again" in the avoid bad wifi dialog. am: 165c51c0eb
am: aab02df195

Change-Id: Id9c694b14085b1959348ddfa91127cbb33f5e785
2016-09-20 17:22:51 +00:00
Lorenzo Colitti
aab02df195 Support "don't ask again" in the avoid bad wifi dialog.
am: 165c51c0eb

Change-Id: Ic6a1917a83e2d847bd673790e2c36f7316ca7acd
2016-09-20 17:14:50 +00:00
Lorenzo Colitti
165c51c0eb Support "don't ask again" in the avoid bad wifi dialog.
This contains the following changes:

1. Make NETWORK_AVOID_BAD_WIFI a tristate: 0 means never avoid
   bad wifi, unset means prompt the user, 1 means always avoid.
2. Look at NETWORK_AVOID_BAD_WIFI only if the carrier restricts
   avoiding bad wifi (previously, we relied on the setting being
   null and defaulting to the value of the config variable).
3. Add an avoidUnvalidated bit to NetworkAgentInfo to track
   whether the user has requested switching away from this
   unvalidated network even though avoiding bad wifi is generally
   disabled. This is set to true when the user selects "switch"
   in the dialog without setting the "Don't ask again" checkbox.
4. Add a hidden setAvoidUnvalidated API to ConnectivityManager to
   set the avoidUnvalidated bit.
5. Additional unit test coverage.

Bug: 31075769
Change-Id: I1be60c3016c8095df3c4752330149ce638bd0ce1
2016-09-20 16:03:53 +09:00
Todd Kennedy
d15bb75af6 Add remote control of Instant Apps
Bug: 31470039
Test: manual
Change-Id: I82eb47f4d24fb88d0f264eca1176aec55364867c
2016-09-15 13:55:56 -07:00
Hugo Benichi
744c370b7c Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8 am: edabb8e617
am: 9ae080aa9d

Change-Id: I995c1adc61263a0536704fd32bd89efe1a8ec42b
2016-09-15 15:45:03 +00:00
Hugo Benichi
9ae080aa9d Support ignoring penalty for bad wifi networks am: c8e9e1229a am: c53b5964f8
am: edabb8e617

Change-Id: Ib9a60eb528eb62ebf26d5d5a1941bfed0bb21163
2016-09-15 15:36:58 +00:00
Hugo Benichi
edabb8e617 Support ignoring penalty for bad wifi networks am: c8e9e1229a
am: c53b5964f8

Change-Id: Ideee96cc5fc1631cfbc90cd9a59f34a2d5fde160
2016-09-15 15:30:26 +00:00
Hugo Benichi
c53b5964f8 Support ignoring penalty for bad wifi networks
am: c8e9e1229a

Change-Id: I6666ee45e9a08c02444c6268b2232bbe8aa2adec
2016-09-15 15:23:57 +00:00
Hugo Benichi
c8e9e1229a Support ignoring penalty for bad wifi networks
This patch adds a way to configure devices so that a validated network
that becomes unvalidated is not penalized in the network scoring and
selection logic.

The intent is to prevent devices configured to do so from switching to a
lower scoring network such as cellular networks when a higher scoring
network such as wifi networks loses internet connectivity.

Bug: 31075769
Change-Id: Ie7e0f2607d214a178367fedfbef6c44768fa00a4
2016-09-15 18:34:13 +09:00
Bryce Lee
6d5ad4c0eb Support telecom related operations for watch back button usage. am: db776ce7f9
am: 9b2027a71c

Change-Id: I62a31f771ea390c59a4fafc4763a9ca3ec7c3228
2016-09-14 04:57:03 +00:00
TreeHugger Robot
bdff0542ec Merge "Implementing ContactNameColumns in PhoneLookup too" 2016-09-13 21:42:44 +00:00
Bryce Lee
9b2027a71c Support telecom related operations for watch back button usage.
am: db776ce7f9

Change-Id: I713a2c9b5c1a1bfb5bd498997ff6680f1e89764d
2016-09-11 01:13:11 +00:00
Bryce Lee
a480d0d81f Merge "Support telecom related operations for watch back button usage." into cw-f-dev 2016-09-11 01:07:10 +00:00
Doris Ling
6403b4050f Add secure settings for Ambient Display pick up and double tap gestures.
Splitting Ambient Display pulse configuration to have separate control
for incoming notification, pick up gesture, and double tap gesture.
Adding separate secure settings for the separate control.

Test: make SettingsTests and verify read/write of the new settings.

Bug: 30595437
Change-Id: Ic301c3234689d9132c283edf86962d1cfb640a28
2016-09-09 14:40:24 -07:00
Winson
9bf04523b4 Merge commit 'e0b767153ef978a4ca841c9891074717fd979400' into manual_merge_e0b7671
Change-Id: I6b6810db33e4b244cc872abd69d5b18a90547b35
2016-09-08 19:13:24 -07:00
Winson Chung
e0b767153e Revert "Fixing issue with old tasks being visible in Overview" am: 36f3f0337d
am: 4a8a09d1ab

Change-Id: Iac7a2c68ffcb154d2009e5700c2d12958374f549
2016-09-09 02:01:37 +00:00
Winson Chung
4a8a09d1ab Revert "Fixing issue with old tasks being visible in Overview"
am: 36f3f0337d

Change-Id: Ic89b6a3b204a6f55667df5c1459449092930d859
2016-09-09 01:54:42 +00:00
Winson Chung
99cf874cc3 Merge "Revert "Fixing issue with old tasks being visible in Overview"" into nyc-mr1-dev 2016-09-09 01:50:22 +00:00
Winson Chung
36f3f0337d Revert "Fixing issue with old tasks being visible in Overview"
Bug: 28908500

This reverts commit b258f6a4bd.

Change-Id: I9b3c04358d6ca693ed3fdcd9220af13f81eb704e
2016-09-09 01:29:18 +00:00
Bryce Lee
db776ce7f9 Support telecom related operations for watch back button usage.
This change allows for the back button to hang up or silence calls when
set through accessibility.

Bug: 30039247
Change-Id: Iff0e67180e1180c9bb8b27df023d7a7a64783543
2016-09-07 22:10:13 +00:00
Suprabh Shukla
2c3fb3fcab Implementing ContactNameColumns in PhoneLookup too
PhoneLookup queries did not have the column display name alternative.
Adding the ContactNameColumns to the list of columns in phone lookup.

Bug: 25022549
Change-Id: I4f534f406cf4cd0fcc2f735b83a37253d7089a96
2016-09-06 17:47:28 -07:00
Winson
70f21570bf Fixing issue with old tasks being visible in Overview am: b258f6a4bd am: f4806c80ca
am: 2a4cd1518e

Change-Id: I8a229f3515bebca4cd8456afae963bb97dac96d6
2016-09-02 22:22:43 +00:00
Winson
2a4cd1518e Fixing issue with old tasks being visible in Overview am: b258f6a4bd
am: f4806c80ca

Change-Id: I87bb9656b8d766ea4b2763f529bbf1d8873479f4
2016-09-02 22:15:06 +00:00
Winson
f4806c80ca Fixing issue with old tasks being visible in Overview
am: b258f6a4bd

Change-Id: I27ba3d057147b5200ac75b9f079d26423c9d0b05
2016-09-02 22:08:33 +00:00
Winson Chung
a8c0fe6606 Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev 2016-09-02 21:49:13 +00:00
Makoto Onuki
034de15cb6 Update CP2 javadoc am: 93d94ebac2 am: e3972019dc
am: e08b704cb7

Change-Id: Ie9e3aea4157d848044254a779b2d3a3df0f8152d
2016-08-31 23:32:38 +00:00
Lorenzo Colitti
e22143e855 Network switch notifications: rate & daily limits am: 84e6f1232c am: 858499b2c0 am: 2c535a4f7c
am: 98ed392cf7

Change-Id: I0c067ec355eb2a50af3c828b1fe3ee8a78e44536
2016-08-31 23:31:56 +00:00
Todd Kennedy
8402d225c0 Enable web action apps based on system setting am: efc1c4d501 am: 742f4de6cf
am: 66db34fbe2

Change-Id: Ic1726786e0baeaf758381f3a9a9324ea39b921be
2016-08-31 00:37:13 +00:00
Makoto Onuki
e08b704cb7 Update CP2 javadoc am: 93d94ebac2
am: e3972019dc

Change-Id: Ia988c68813311b042c6ba9fbaa3c486935e5566b
2016-08-30 22:49:57 +00:00
Makoto Onuki
e3972019dc Update CP2 javadoc
am: 93d94ebac2

Change-Id: I2b1cddae5407257aaad84f4b9dd492fe69ae5d27
2016-08-30 22:42:41 +00:00
Makoto Onuki
82babe050a Merge "Update CP2 javadoc" into nyc-mr1-dev 2016-08-30 22:31:22 +00:00
Winson
b258f6a4bd Fixing issue with old tasks being visible in Overview
- This CL does two things, firstly, it ensures that all first & last
  active times are monotonically increasing and independent of the
  current system time.  This allows us to better keep track of which
  tasks are historical and should be hidden, and which are not.
  Secondly, this CL moves the tracking of the last visible active time
  into the system (per user) where it can be adjusted along with the
  task active times when they are loaded.
- Following this CL, all active times in the future will be adjusted on
  boot such that old tasks are made relative to the current boot time.
  It’s not important exactly what time they are, only that they are
  adjusted along with the last visible task active time so that we
  always keep track of what is visible.

Bug: 28908500
Change-Id: I4f789df3a6bd825517cf3a70e26fb60deff89d06
2016-08-30 15:01:49 -07:00
Lorenzo Colitti
98ed392cf7 Network switch notifications: rate & daily limits am: 84e6f1232c am: 858499b2c0
am: 2c535a4f7c

Change-Id: I166dd693345ed9a63411f5f1ed6bdf33015b1957
2016-08-30 20:32:52 +00:00
Lorenzo Colitti
2c535a4f7c Network switch notifications: rate & daily limits am: 84e6f1232c
am: 858499b2c0

Change-Id: I9cf27874626c3034ef4fb4fc23ec75f3e1ac5f3f
2016-08-30 20:24:14 +00:00
Lorenzo Colitti
858499b2c0 Network switch notifications: rate & daily limits
am: 84e6f1232c

Change-Id: Ibf6fa695c5f8ef11c99fe075b59a36f52c5c177b
2016-08-30 20:17:33 +00:00
Lorenzo Colitti
84e6f1232c Network switch notifications: rate & daily limits
This patch adds a daily limit to the maximum number of notifications
shown when switching networks.

It also adds a rate limit to prevent rapid successive notifications in
flapping scenarios.

Bug: 31132499
Change-Id: Iccb6d0899646ea6df3cfad32a421922263e0eb85
2016-08-31 00:36:11 +09:00
Jason Monk
90a788e29b resolve merge conflicts of d70ed99 to master
Change-Id: I3a8d3708e050b3fb963dd057c0be9d2d249d037a
2016-08-30 10:54:03 -04:00