Commit Graph

253881 Commits

Author SHA1 Message Date
Makoto Onuki
598aca4672 Hide APIs that shouldn't have been public
Change-Id: I40f1c8e9c6fe991e782bf3dd772f305df641b267
2016-07-06 16:11:54 -07:00
TreeHugger Robot
6f8d49db99 Merge "Capture fingerprint statistics for estimating FRR" into nyc-mr1-dev 2016-07-06 23:00:19 +00:00
Scott Main
83f71845af Merge "remove "referenceonly" flag from the offline-docs build. Add new offline-docs-referenceonly make rule. And update online-sdk and offline-sdk to use the new site templates." into nyc-dev 2016-07-06 22:48:02 +00:00
Annie Chin
0aff5ad83e Merge "Add getters for ButtonDispatcher HomeButton and its views" into nyc-mr1-dev 2016-07-06 22:36:37 +00:00
Michael Kwan
929c8f4a75 Merge "Allow preference theming to remove divider." into nyc-mr1-dev 2016-07-06 22:34:29 +00:00
Winson
cbb625bc6d Fixing app transition due to left-nav bar inset.
- Also center in available space regardless of which side the bar inset
  is on.

Bug: 29917174
Change-Id: If84dfb3bbff3c3d3de70473c74f5bfc5a8f32a59
2016-07-06 15:34:22 -07:00
Fan Zhang
75ee8d18f1 Move phone number formatting logic into DeviceInfoUtils.
Bug: 28419411
Change-Id: Ib9a0ad60d44e4e24fdb6484d5bb582f4f796f8b3
2016-07-06 15:30:57 -07:00
Svetoslav Ganov
dcf2e205bf Merge "Use proper lock when accessing the generation registry" into nyc-dev 2016-07-06 22:10:09 +00:00
Jorim Jaggi
e31f6b8024 Preparations for different scrim depending on wallpaper
- Allow wallpaper info to be queried by user
- Refactor ScrimController for extensibility

Bug: 28936996
Change-Id: Ib019331a844110f1f24f35d225d2648626545233
2016-07-06 14:42:25 -07:00
Jim Miller
bcc100aae9 Capture fingerprint statistics for estimating FRR
Fixes bug 29258254

Change-Id: I10620c9bf07e4cdd7df456548b6516b5e1f1f5ee
2016-07-06 14:16:49 -07:00
Tim Murray
b89970e0fb Add isThreadInProcess.
Use this to make sure that the VR thread belongs to a given process when
it is assigned.

bug 28715706

Change-Id: I4e5b0d8493e69e443eb907f0a6f2a9482fb64bac
2016-07-06 14:15:29 -07:00
Ashutosh Joshi
848c8c4c43 Make ContextHubService compliant with new context hub interface.
Context Hub HAL added messages with definition for all distinguished
messages. Fixing the ContextHubService to be compliant.

Bug: 29835220
Change-Id: I70751d0f5b06cd3c8a4ce93003bdaa86b7317a2c
2016-07-06 13:54:28 -07:00
TreeHugger Robot
e7f14ced54 Merge "Skip screenshots when user storage is locked." into nyc-mr1-dev 2016-07-06 20:54:03 +00:00
TreeHugger Robot
d683945251 Merge "Don't cache external storage directories." into nyc-mr1-dev 2016-07-06 20:47:51 +00:00
Jeff Sharkey
12f6687bd5 Merge "Ignore serial number checks when emulating FBE." into nyc-mr1-dev 2016-07-06 20:39:43 +00:00
Pankaj Kanwar
33cdc4d136 Merge "Make registerDefaultNetwork work on metered networks." into nyc-dev 2016-07-06 20:35:23 +00:00
Daniel Nishi
9459f93c97 Merge "Move the MIME type icon detection into the platform." into nyc-mr1-dev 2016-07-06 19:54:27 +00:00
Svet Ganov
51b839544b Use proper lock when accessing the generation registry
We use 'this' for synchronization in NameValueCache but some code
that accesses the generation registry uses 'this' in a different
context ending up syncing on the wrong instance. This is why
sync on this is just a bad idea.

bug:29956424

Change-Id: Ide2d4f07a5f40cb3f0e8f50e4c8de216d15a31ee
2016-07-06 19:52:36 +00:00
TreeHugger Robot
e6fcebbf50 Merge "Frameworks/base: Refactor UserHandle and Environment a bit" into nyc-mr1-dev 2016-07-06 19:45:15 +00:00
Alan Viverette
c71fc2456a Merge "Fix: DatePicker can't show long date string at landscape" into nyc-mr1-dev 2016-07-06 19:33:20 +00:00
Amith Yamasani
0f6c2bfe30 Merge "Log as histogram instead of counter" into nyc-mr1-dev 2016-07-06 18:09:55 +00:00
Andreas Gampe
6e16714c68 Frameworks/base: Refactor UserHandle and Environment a bit
Refactor slightly to forbid using myUserId in the zygote (uid == 0).
Also factor Environment to put user data (vs shared data) into its
own class, which should keep the page the shared data is on actually
shared between processes.

Bug: 29338430
Change-Id: I05d1306b57658a83299e38076171f56cb364ea80
2016-07-06 18:07:44 +00:00
Julia Reynolds
3c32cf8a8c Merge "Don't bridge autobundle summaries to other devices." into nyc-mr1-dev 2016-07-06 18:03:37 +00:00
Daniel Nishi
c29d2b0492 Move the MIME type icon detection into the platform.
This allows the MIME type icons to be used in other system apps.
In this instance, the StorageManager app needs to show file icons
for a given file. By moving the icon mapping into a static library,
we can avoid duplicating the mapping and resources.

Bug: 29826961
Change-Id: Ic2dc7970cc5a5ca430e33425eb9f1ecbd733fe9a
2016-07-06 10:57:06 -07:00
Sudheer Shanka
400960a40e Merge "Grant location permission to camera app." into nyc-mr1-dev 2016-07-06 17:05:40 +00:00
Robin Lee
da68f0614c Merge "Update isValidLockdownProfile to block PPTP" into nyc-mr1-dev 2016-07-06 15:57:23 +00:00
Geoffrey Pitsch
d6d9a1d0b9 OpenSL-based audio support for BootAnimation
Respects dnd settings for sound playback.
Basic implementation uses in-memory wavs as buffers.
audioplay::playClip should not be called before previous clip ends.
Updated FORMAT.md to reflect no more audio_conf.txt

Bug: 29055299
Change-Id: Ifc358d7c85f11b8b54ae6446c40643b87bc567f2
2016-07-06 11:13:48 -04:00
Julia Reynolds
2960700fcd Don't bridge autobundle summaries to other devices.
Change-Id: I2d0df16b2fbd32569e564399696c86e499910ddb
Fixes: 29114754
2016-07-06 10:45:35 -04:00
Alan Viverette
73ab965178 Fix: DatePicker can't show long date string at landscape
maxLines="2" is not enough for some languages. Date string is
cut down at landscape. There is a room for additional 2 lines.
maxLines="4" is reasonable.

Bug: 29732198

Change-Id: I312d7ca7f8bf3f4c09dd76fa99274a7f7592bd22
2016-07-06 10:24:11 -04:00
Rubin Xu
ca081ca396 Bump ACTION_CHOOSE_PRIVATE_KEY_ALIAS broadcast to foreground
Bug: 29966726
Change-Id: Ifdbdd26df40518d9e50f9a0b0dfc5c01cb9accb2
2016-07-06 14:21:42 +01:00
TreeHugger Robot
58ef88927d Merge "[net mgmt svc] add method to retrieve INetd reference" into nyc-mr1-dev 2016-07-06 13:09:42 +00:00
Erik Kline
4e37b70440 [net mgmt svc] add method to retrieve INetd reference
Bug: 21859053
Bug: 28135208
Change-Id: Idfb5ca65788ae8c7aea91f12d9d461686ad836d6
2016-07-06 19:32:01 +09:00
Robin Lee
bae6d820d2 Update isValidLockdownProfile to block PPTP
Since this isn't supported and it will take a framework update to make
it work.

Bug: 28807474
Change-Id: I12371134a1c51a53af26fe8c4db1f04b0f687abe
2016-07-06 09:41:05 +00:00
TreeHugger Robot
0a4315194d Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-06 04:14:46 +00:00
Bill Yi
77a07ca30b Import translations. DO NOT MERGE
am: 4c78b8e544  -s ours

Change-Id: Iccd725b45dc4a9e128bad1a7a28a48558eee4ea1
2016-07-06 03:49:51 +00:00
TreeHugger Robot
5303849195 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-06 03:21:09 +00:00
Bill Yi
5a238464dd Import translations. DO NOT MERGE
Change-Id: If1956ac983530432b46246ee0a53bfdccd81fcb1
Auto-generated-cl: translation import
2016-07-05 19:37:55 -07:00
Bill Yi
1cd0497bc2 Import translations. DO NOT MERGE
Change-Id: Ic110e666b92152c5280d96f51129c7ba0b53ef2e
Auto-generated-cl: translation import
2016-07-05 14:35:11 -07:00
Bill Yi
d4286f5ce8 Import translations. DO NOT MERGE
Change-Id: I95cfccce32e6cb1431bc2d700573b73f5f983210
Auto-generated-cl: translation import
2016-07-05 14:21:42 -07:00
Bill Yi
4c78b8e544 Import translations. DO NOT MERGE
Change-Id: Idf9776c5e49200e5880dd16b81e43ae095471caa
Auto-generated-cl: translation import
2016-07-05 14:07:10 -07:00
TreeHugger Robot
018a205824 Merge "IpConn metrics: use @IntDef" into nyc-mr1-dev 2016-07-05 14:39:47 +00:00
Hugo Benichi
cf6b12f50a IpConn metrics: use @IntDef
Change-Id: Iae23f04abd3d1a43e7217f4fd641cd5fa61a7a1b
2016-07-05 21:52:15 +09:00
Hugo Benichi
54756fdfd9 Merge "IpConn metrics: correctly read RA lifetimes" into nyc-mr1-dev 2016-07-05 12:25:55 +00:00
Hugo Benichi
176ed01a1f IpConn metrics: add dhcp transition times
This patch adds lifetime durations of DhcpClient states to
DhcpClientEvents.

To record the duration of a state, the event is now recorded when the
DhcpClient state machine exits that state.

In addition this patch removes event logging of StoppedState,
DhcpState and DhcpHaveLeaseState.

Change-Id: Ibd37b5e3070f35113b6b45942b1e1ff19c27a90b
2016-07-05 17:32:56 +09:00
Tony Mak
5133b6204c Disallow OobConfig being suspended
Change-Id: I79d8e6b8bb77878767a0572a567a10ff08c0b6b8
Fix: 29892597
2016-07-05 07:28:57 +01:00
Hugo Benichi
6ccd51a338 IpConn metrics: correctly read RA lifetimes
This patch
  - adds a Builder class for RaEvent.
  - uses this Builder class for correctly recording the minimum
    lifetime seen for every ICMP6 options tracked, instead of
    recording the last lifetime seen.
  - adds unit test coverage for RaEvent logging.

Change-Id: I6443932f5cf7a613a5c695c65a60eab01e60602a
2016-07-05 13:52:24 +09:00
TreeHugger Robot
b4db945883 Merge "Add test coverage for a bug in the lingering code." into nyc-mr1-dev 2016-07-05 03:35:40 +00:00
Lorenzo Colitti
f9b050ed9e Merge "Unbreak unregisterNetworkCallback." into nyc-mr1-dev 2016-07-05 02:07:06 +00:00
Lorenzo Colitti
1ec11eb5bc Unbreak unregisterNetworkCallback.
http://ag/1194313 broke unregisterNetworkCallback because the
system does not parcel the type of the request back to the app.
So when the app calls unregisterNetworkCallback, the
NetworkRequest that's passed in does not have a type and thus
doesn't match the request in mNetworkRequests.

Fix this by parceling over the type as well.

This was not caught by the unit test because the unit test all
runs in the same process with no parceling.

Bug: 23113288
Change-Id: I58b2ed651b9bf5cbdcca5b25c3ca24db53cffdf1
2016-07-05 01:59:49 +09:00
TreeHugger Robot
1c86bfbcf4 Merge "Annotate public methods in ConnectivityService." into nyc-mr1-dev 2016-07-04 16:07:33 +00:00