Commit Graph

47992 Commits

Author SHA1 Message Date
Abodunrinwa Toki
56546bd883 am 785c0a02: am 1f21d2a8: Merge "Hide floating toolbar when user interacts with screen." into mnc-dev
* commit '785c0a02c0016fc6c1981bd3e509948d1c1cb227':
  Hide floating toolbar when user interacts with screen.
2015-05-19 14:28:57 +00:00
Abodunrinwa Toki
1f21d2a8b1 Merge "Hide floating toolbar when user interacts with screen." into mnc-dev 2015-05-19 14:06:46 +00:00
Abodunrinwa Toki
fd3a3a1163 Hide floating toolbar when user interacts with screen.
- Adds an ActionMode.snooze(int) API.
- Clients call this to hide the floating toolbar on DOWN touch event.
- This is called repeatedly as a snooze timeout will re-show the
  toolbar.
- ActionMode.snooze(0) will "wake" the toolbar, reshowing it.
- Clients call this to re-show the toolbar on UP touch event.
- This CL also adds code to hide the toolbar when the "content rect"
  is changing.

Bug: 20148125
Change-Id: If5a9a15f72c73cad8ca01a4328a58570b3e29f66
2015-05-19 14:25:39 +01:00
Clara Bayarri
f11210a36c am 9053af6f: am e94561ec: Merge "Fix Cancelling a text action activity deletes the selected text" into mnc-dev
* commit '9053af6f84ae396d4bddceb9dc1cab3487dbf087':
  Fix Cancelling a text action activity deletes the selected text
2015-05-19 11:07:02 +00:00
Lorenzo Colitti
e5b49e8d1c am f9118608: am aba6cccd: Merge "Make NET_CAPABILITY_VALIDATED (almost) a first-class citizen." into mnc-dev
* commit 'f9118608703b11b002125eca81929f2b6647ebf3':
  Make NET_CAPABILITY_VALIDATED (almost) a first-class citizen.
2015-05-19 10:48:46 +00:00
Clara Bayarri
e94561ecbc Merge "Fix Cancelling a text action activity deletes the selected text" into mnc-dev 2015-05-19 10:42:20 +00:00
Robin Lee
4f874010a4 am 855867b1: am 3e5484d4: Merge "Support cross-user VPN calls (with permission)" into mnc-dev
* commit '855867b1ef8b760d0695921fa7ba040785416a70':
  Support cross-user VPN calls (with permission)
2015-05-19 10:36:56 +00:00
Lorenzo Colitti
aba6cccd40 Merge "Make NET_CAPABILITY_VALIDATED (almost) a first-class citizen." into mnc-dev 2015-05-19 10:29:48 +00:00
Robin Lee
3e5484d452 Merge "Support cross-user VPN calls (with permission)" into mnc-dev 2015-05-19 10:14:59 +00:00
Lorenzo Colitti
76f6779703 Make NET_CAPABILITY_VALIDATED (almost) a first-class citizen.
1. Always keep ConnectivityService's validated bits current:
   - Apply the validated bit whenever a NetworkAgent updates its
     NetworkCapabilities.
   - Set or clear the validated bit whenever lastValidated changes.
2. Send callbacks when the validation state of a network changes.
3. Delete getNetworkCapabilitiesAndValidation, removing code
   duplication with getNetworkCapabilities.
4. Add the validated bit to NetworkCapabilities#toString.

Bug: 18591282
Bug: 20081183
Change-Id: I6aa53b61c15cc137f203f9fc6bbd4c16894be750
2015-05-19 18:29:02 +09:00
Jorim Jaggi
0f9d315217 am 06ac707d: am c6767354: Merge "Add setting to disable assist data (1/2)" into mnc-dev
* commit '06ac707daf039a08367fe9127767434a3e58f758': (30 commits)
  Add setting to disable assist data (1/2)
  Make all icon fields & extras sent to listeners backward-compatible.
  Revert "Fix IMMS#mInputShown state inconsistency."
  Fix bug with jobservice context giving wrong value
  camera2: Fix work-profile eviction handling.
  Fix missing break in Icon class
  Fix post dial for remote connections
  Fix build: udpate parser factory method
  Don't keep LayoutlibCallback reference.
  Adjust lockscreen style to spec
  [RenderScript] Add dummy getMinorID to maintain compatible with old RS compat lib.
  Change the location of Brandmaster statement file.
  Revert "Update IME focus when the active view is losing the focus."
  Revert "Icon support comes to Notification."
  Fix icon-related crash.
  Don't display the "no Internet access" prompt on captive portals.
  Rewriting should fail when any paths are null.
  Ignore abandon after install relinquished.
  Fix build - Revert "Revert "Use default constructor to get anti-aliasing""
  Fix crash in setup wizard
  ...
2015-05-19 05:02:29 +00:00
Jorim Jaggi
c6767354c5 Merge "Add setting to disable assist data (1/2)" into mnc-dev 2015-05-19 04:40:15 +00:00
Jorim Jaggi
9d91083034 Add setting to disable assist data (1/2)
Bug: 20944446
Change-Id: I8050df3177b6d540829c3f0989a4e4b1381c87ec
2015-05-18 21:39:05 -07:00
Erik Kline
1f2e423c9c am 0427cf9a: am 2b0196a7: Merge "Add IpReachabilityMonitor#probeAll() to begin doing DNAv4/v6-like probing" into mnc-dev
* commit '0427cf9a4d52d9c81644f3f8329b5b4fe3c5ddd2':
  Add IpReachabilityMonitor#probeAll() to begin doing DNAv4/v6-like probing
2015-05-19 03:05:21 +00:00
Erik Kline
2b0196a7d3 Merge "Add IpReachabilityMonitor#probeAll() to begin doing DNAv4/v6-like probing" into mnc-dev 2015-05-19 02:36:56 +00:00
Adam Powell
ac6122c042 am 5418cde8: am f9a0d44d: Merge "Migrate uses of config_windowIsRound to Configuration.isScreenRound" into mnc-dev
* commit '5418cde8aac5f239bfab2056767e42a5e2aeb270':
  Migrate uses of config_windowIsRound to Configuration.isScreenRound
2015-05-19 01:24:18 +00:00
Dianne Hackborn
eefbef3e91 am 7f26b6e7: am fde50024: Merge "Remove screenshot APIs." into mnc-dev
* commit '7f26b6e715a92ffee22ef06020f2caf00ad95b82':
  Remove screenshot APIs.
2015-05-19 01:24:13 +00:00
Adam Powell
f9a0d44d2e Merge "Migrate uses of config_windowIsRound to Configuration.isScreenRound" into mnc-dev 2015-05-19 01:10:55 +00:00
Dianne Hackborn
fde500245c Merge "Remove screenshot APIs." into mnc-dev 2015-05-19 01:05:53 +00:00
Dianne Hackborn
38a499edf5 Remove screenshot APIs.
Change-Id: I1efdb7945bd52f5f43c7103480be3d7dac60018b
2015-05-18 17:48:40 -07:00
Svet Ganov
cbe0916ebf am e7896371: am f7b541ff: Merge "Do not report WiFi and Bluetooth MAC addresses - framework." into mnc-dev
* commit 'e78963712e59963b2c6e3b2082231879fe8ba737':
  Do not report WiFi and Bluetooth MAC addresses - framework.
2015-05-19 00:36:56 +00:00
Vladislav Kaznacheev
7c953911fb am e1c3cebf: am 10e23977: am d2368d07: Merge "Make VPA.setInterpolator(null) unset the interpolator." into lmp-mr1-ub-dev
* commit 'e1c3cebff3140e5c17cd42ca9b85fad0e16ed490':
  Make VPA.setInterpolator(null) unset the interpolator.
2015-05-19 00:17:15 +00:00
Svet Ganov
f7b541ff74 Merge "Do not report WiFi and Bluetooth MAC addresses - framework." into mnc-dev 2015-05-19 00:13:22 +00:00
Stefan Kuhne
332914448a am c1523029: am a2968ad5: Merge "Revert "Backup/restore recents task list"" into mnc-dev
* commit 'c15230299f9c9130af74712be5f866a50196f286':
  Revert "Backup/restore recents task list"
2015-05-19 00:05:15 +00:00
Erik Kline
9ce5d602cd Add IpReachabilityMonitor#probeAll() to begin doing DNAv4/v6-like probing
Note that this change is not sufficient to force probing in all cases,
but does cause probing to occur on Linux if the target node hasn't been
confirmed as reachable in the past 5 seconds (delay_first_probe_time).

Bug: 18581716
Bug: 19866451
Bug: 20944464
Change-Id: I29393897118311b48c966c41e2cddb7a784f136f
2015-05-19 09:04:18 +09:00
Vladislav Kaznacheev
10e23977bd am d2368d07: Merge "Make VPA.setInterpolator(null) unset the interpolator." into lmp-mr1-ub-dev
* commit 'd2368d07a71fa77edc07be4ada89f70065bc940f':
  Make VPA.setInterpolator(null) unset the interpolator.
2015-05-18 23:54:08 +00:00
Jeff Brown
912bda17ea am b8d5c965: am d5538758: Merge "Rename file descriptor listener API." into mnc-dev
* commit 'b8d5c965533bda3fc62210a12d2b74468fa51a06':
  Rename file descriptor listener API.
2015-05-18 23:53:11 +00:00
Adam Powell
01f280d376 Migrate uses of config_windowIsRound to Configuration.isScreenRound
Move existing code that previously relied on config_windowIsRound to
use the new Configuration.isScreenRound() method. Also move the system
property override for emulators over to the initial setup of a Display
so that the configuration property is consistent with existing
expectations.

Remove config_windowIsRound from symbols.xml. The symbol now only
exists as a default value redirect for overlays already configured to
supply this value.

Change-Id: I24e6564030a6051c3ac7262868983b43e13eee65
2015-05-18 16:07:42 -07:00
Stefan Kuhne
a2968ad51e Merge "Revert "Backup/restore recents task list"" into mnc-dev 2015-05-18 23:05:11 +00:00
Stefan Kuhne
e88d1e5926 Revert "Backup/restore recents task list"
Reverts commits 92dd1abef4,
18795a2299, and
ac6a3a5e9d which make-up
changes required for backing-up and restoring recent
tasks from one device to another.

The implementation had too many unresolved issues including
the ordering of the restored recent tasks which was depending
on when the task package is installed on the new device that
puts the restored recents list out of order compared to the
old device.

Bug: 15986349
Bug: 19014377
Bug: 20763296

Change-Id: I06fd35a43036ef0b7260cf4db9c42890df63b95d
2015-05-18 16:00:15 -07:00
Jeff Brown
d5538758af Merge "Rename file descriptor listener API." into mnc-dev 2015-05-18 22:47:47 +00:00
Robin Lee
3b3dd942ec Support cross-user VPN calls (with permission)
Settings and SystemUI need to act on other users than USER_OWNER.

This is gated by INTERACT_ACROSS_USERS_FULL in addition to the existing
CONTROL_VPN checks, so the number of processes able to interfere with
other profiles' VPNs should be quite small.

Bug: 20692490
Bug: 20747154
Bug: 20872408
Change-Id: I6e5d7220f73435bec350719e7b4715935caf4e19
2015-05-18 23:35:31 +01:00
Jose Lima
e1cf58cb18 am 637e776b: am 8783d3fe: Make all icon fields & extras sent to listeners backward-compatible.
* commit '637e776b2ad5048f3d76dad0e1d6992ad6233251':
  Make all icon fields & extras sent to listeners backward-compatible.
2015-05-18 22:27:42 +00:00
Svet Ganov
408abf7f1b Do not report WiFi and Bluetooth MAC addresses - framework.
As a part of the new runtime permissions work we are limiting
the PII apps can access. BT and WiFi MAC addresses are PII and
based on our research there is no valid use case for app dev
to get these addresses aside of user tracking which we are
trying to limit.

bug:21078858

Change-Id: Ib48223b272c0fd4f5c36acc889d4f44df204b309
2015-05-18 15:14:24 -07:00
Adam Powell
e918222288 am dc9ca092: am 98465f99: Merge "Add Configuration data for round displays" into mnc-dev
* commit 'dc9ca0925c7dcca8300b4ab72e5a2f69958dddb8':
  Add Configuration data for round displays
2015-05-18 21:52:47 +00:00
Jose Lima
8783d3fe76 Make all icon fields & extras sent to listeners backward-compatible.
This also had to be done for when retrieving existing notifications.
For final release, we will only be doing this for
notification listeners targeting older SDKs.

Bug: 21207612
Change-Id: I351f9e13cd052410e7355c956c750c3859f972cb
2015-05-18 14:51:33 -07:00
Daniel Sandler
ae1eac53a7 Make all icon fields & extras sent to listeners backward-compatible.
For final release, we will only be doing this for
notification listeners targeting older SDKs.

Bug: 21207612
Change-Id: I28fdaa5666698150ab455f9bfb63251b9418519e
2015-05-18 14:23:55 -07:00
Adam Powell
49e7ff9647 Add Configuration data for round displays
Add round values to the screenLayout field for Configuration
and a convenience method to check roundness.

Plumb this through the DisplayManager, making roundness the property
of a DisplayAdapter. The built-in main display will read the
configuration resource config_mainBuiltInDisplayIsRound to determine
its roundness. Device-specific resource overlays should set this to
true for devices with round primary displays.

By default, this config resource inherits from the existing
config_windowIsRound value currently used by some Android Wear
device configurations.

This change awaits another for aapt/native resources code to make the
resource filtering system aware of this property.

Change-Id: I1daced7ca6d6e172789e7c32bebfd43753bfa2ae
2015-05-18 14:13:33 -07:00
Zhijun He
6da323d30d am 62329511: am 855d5495: Merge "Camera2: stop log spamming when closing a closed camera" into mnc-dev
* commit '62329511af033dff183fc31925e3f399db8e653a':
  Camera2: stop log spamming when closing a closed camera
2015-05-18 20:53:11 +00:00
Zhijun He
855d5495ff Merge "Camera2: stop log spamming when closing a closed camera" into mnc-dev 2015-05-18 20:42:18 +00:00
Daniel Sandler
a73adbaf50 am 03631a91: am 4d19a860: Merge "Make all icon fields & extras sent to listeners backward-compatible." into mnc-dev
* commit '03631a918ca4a04503e8b2c67541e49cb8a26468':
  Make all icon fields & extras sent to listeners backward-compatible.
2015-05-18 20:41:22 +00:00
Daniel Sandler
4d19a86063 Merge "Make all icon fields & extras sent to listeners backward-compatible." into mnc-dev 2015-05-18 20:21:24 +00:00
Zhijun He
125ff3cacd Camera2: stop log spamming when closing a closed camera
Bug: 21268174
Change-Id: I711380c52f5ce9829a660c6e1b999b0377ea6c7b
2015-05-18 13:04:34 -07:00
Daniel Sandler
f5a7838e19 Make all icon fields & extras sent to listeners backward-compatible.
For final release, we will only be doing this for
notification listeners targeting older SDKs.

Bug: 21207612
Change-Id: I28fdaa5666698150ab455f9bfb63251b9418519e
2015-05-18 11:55:26 -04:00
Simon Baldwin
d1f1f3d514 am d7f3a3d2: am 128b3c86: Merge "Handle load from APK correctly for shared relro" into mnc-dev
* commit 'd7f3a3d2bd7f4d6ac2084b3799d0c7207cfcfcb3':
  Handle load from APK correctly for shared relro
2015-05-18 15:19:33 +00:00
Simon Baldwin
128b3c86c6 Merge "Handle load from APK correctly for shared relro" into mnc-dev 2015-05-18 14:57:22 +00:00
Simon Baldwin
b98082dcfb Handle load from APK correctly for shared relro
Update WebViewFactory's shared relro handling so that it operates
correctly where libraries are loaded directly from APK files.

Bug: http://b/20810492
Bug: http://b/8076853
Change-Id: I7887c7c0f235388d6a40c366693563b4876de992
2015-05-18 15:56:27 +01:00
Keisuke Kuroyanagi
7af748f2a5 am 4fddad17: am e20b22fe: Merge "Fix: Drag handle isn\'t updated after crossing bidi boundary." into mnc-dev
* commit '4fddad171ed7b29254112909e59c4945dd3cbef8':
  Fix: Drag handle isn't updated after crossing bidi boundary.
2015-05-18 05:20:07 +00:00
Keisuke Kuroyanagi
e20b22feb3 Merge "Fix: Drag handle isn't updated after crossing bidi boundary." into mnc-dev 2015-05-18 04:57:09 +00:00
Keisuke Kuroyanagi
33f81ac108 Fix: Drag handle isn't updated after crossing bidi boundary.
mDrawable is updated, but it was not re-drawn properly.
postInvalidate() should be called when the drawable is
updated.

Bug: 21141841
Change-Id: Icb3ddf18d05285ffa8758a9be256482d594ab8ed
2015-05-18 13:56:06 +09:00