Commit Graph

253881 Commits

Author SHA1 Message Date
Lorenzo Colitti
b60570c73e Make registerDefaultNetwork work on metered networks.
Bug: 29927488
Change-Id: I3b705c2ab0d1493546ffa5185bb5b07d5e25c897
2016-07-04 23:18:12 +09:00
Lorenzo Colitti
09e202103d Add test coverage for a bug in the lingering code.
Bug: 23113288
Change-Id: I573ee5908b9d973931234eb7d2db8ea0aaa4b31e
2016-07-04 17:00:27 +09:00
Lorenzo Colitti
186602842d Annotate public methods in ConnectivityService.
Ensure every public method is annotated with why it's public.
This can be either an @Override or @VisibleForTesting annotation
or a comment explaining why it's public.

Bug: 29927488
Change-Id: I3582aef7997dc0d723718ca5e3dd115647d22979
2016-07-04 12:58:29 +09:00
Michael Kwan
908523014e Allow preference theming to remove divider.
Bug: 27962897
Change-Id: I6632f2a3c3d1290c472594f127ad33c9b85023f1
2016-07-02 19:31:32 -07:00
Sergio Giro
4781057e78 Add bound checks to utf16_to_utf8
Test: ran libaapt2_tests64
Bug: 29250543
Change-Id: I1ebc017af623b6514cf0c493e8cd8e1d59ea26c3
2016-07-02 17:46:20 +01:00
David Friedman
10cb63fe41 Doc: Minor fixes following launch of Performance section on DAC.
Fixes the metaDescription, which had contained dummy text. Change pushed ahead as hotfix.
Also fixes a couple of image URLs, which hadn't reflected the move to under topic/

Change-Id: I9fd776f409934cd5d02e5abba8289f7a79d2ed22
2016-07-02 08:04:20 -07:00
Wonil Kim
6a4d333260 Fix simple typo in System Permissions guide
TYou to You

BUG: 29946799
Change-Id: I9796a91109d5f0d756f5273ebc56c44ff4cf25f6
2016-07-02 12:06:57 +09:00
Andrew Sapperstein
2573d83fa9 Merge "Update DocumentsUI to use theme colors." into nyc-mr1-dev 2016-07-02 02:57:22 +00:00
Sudheer Shanka
c46098b243 Grant location permission to camera app.
Change-Id: I9c73a0232e9fdc7043321b35a2721603dced8789
Fixes: 29911953
2016-07-01 18:19:00 -07:00
Andrew Sapperstein
0e59a22fcc Update DocumentsUI to use theme colors.
Properly assigns the app's colors for primary, primaryDark, accent, etc
to the colors used by the framework.

Moves a couple colors that are alternate shades of the accent color
into the framework for ease of overlaying.

Deletes a few unused colors as well.

Finally, fixes a bug where colorControlActivated was not being
properly set due to the theme depending upon AppCompat. To
workaround this undefined behavior, we explicitly set
colorControlActivated to colorAccent which is what the framework
sets it to.

Change-Id: Ie0cba19b1b83a21f65692102df91bf4daf27dc44
Fixes: 29581883
2016-07-01 17:59:07 -07:00
David Friedman
9e549cc14e Merge \"Docs: Performance final changes\" into nyc-dev
am: 7e8d17d73e

Change-Id: I3ecd311bdd1374cfec29d95c303df70bfa868816
2016-07-02 00:26:14 +00:00
Joe Fernandez
7e8d17d73e Merge "Docs: Performance final changes" into nyc-dev 2016-07-02 00:15:21 +00:00
David Friedman
06dfd514c0 Docs: Performance final changes
Change-Id: I50e7a2e7b455ca3032da339e48a217ce713d1c40
2016-07-01 17:12:55 -07:00
Andrii Kulian
5552dc341f Merge "Clarify documentation of Display#getSize()" into nyc-mr1-dev 2016-07-01 23:49:38 +00:00
Eric Schmidt
ce32beeacb Merge \"docs: performance: Reduce APK Sizes\" into nyc-dev
am: d08b0e9969

Change-Id: If4153a0e3f3845d7640290b511da8c19f977a56f
2016-07-01 23:26:05 +00:00
Joe Fernandez
d08b0e9969 Merge "docs: performance: Reduce APK Sizes" into nyc-dev 2016-07-01 23:21:36 +00:00
TreeHugger Robot
9f64b020bd Merge "Allow voice interaction window to control system bars" into nyc-mr1-dev 2016-07-01 23:16:07 +00:00
David Friedman
cdbd5f7fbb Merge \"Docs: Job-scheduling doc for new DAC Performance section.\" into nyc-dev
am: 1f64ea546b

Change-Id: Iabdad26cb23d6a318c93218328c5bffc31c515e5
2016-07-01 23:13:31 +00:00
fionaxu
b683dab1fb Merge \\\\\\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours am: 67f8e822ac am: f82ca1f3e9 am: 0f741391c3 am: 4000bdb3ea -s ours
am: 1d5fbe43ab

Change-Id: Id1224508ffee2c49243c958159bea70c14d55b91
2016-07-01 23:08:50 +00:00
Joe Fernandez
1f64ea546b Merge "Docs: Job-scheduling doc for new DAC Performance section." into nyc-dev 2016-07-01 23:08:49 +00:00
David Friedman
9c12816a62 Docs: Job-scheduling doc for new DAC Performance section.
Change-Id: Iccdbfcede6774bd7b5e368c53637ca8e194c7ec5
2016-07-01 16:05:16 -07:00
Chen Xu
1d5fbe43ab Merge \\\\\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours am: 67f8e822ac am: f82ca1f3e9 am: 0f741391c3
am: 4000bdb3ea  -s ours

Change-Id: I7a010f957438467d2edfb10a28a364527dac492e
2016-07-01 23:02:11 +00:00
Eric Schmidt
378d112b5a docs: performance: Reduce APK Sizes
Bug: 29152053
Change-Id: I5aa4e7d59c32ef5d6897a47263e055358b1c9dda
2016-07-01 15:56:53 -07:00
fionaxu
4000bdb3ea Merge \\\\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours am: 67f8e822ac am: f82ca1f3e9
am: 0f741391c3

Change-Id: I9748b9d7b065a6d2bbd9c2a3061409c58b53d261
2016-07-01 22:55:45 +00:00
Chen Xu
0f741391c3 Merge \\\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours am: 67f8e822ac
am: f82ca1f3e9

Change-Id: Ib714c74aa3bede2bea496204b7d1cb7ff2380dca
2016-07-01 22:45:46 +00:00
David Friedman
1f22637444 Merge \"Docs: Final edits for initial release of this doc for Performance section of DAC.\" into nyc-dev
am: 106f69c8a6

Change-Id: I87fada8679688beef00f7df07fbe4a7e6e06852f
2016-07-01 22:38:29 +00:00
fionaxu
f82ca1f3e9 Merge \\\\\"DO NOT MERGE revert public api loadSafeLabel\\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9 am: caabaab8bc -s ours
am: 67f8e822ac

Change-Id: I54214d329e81a59e418cc9f4a5ff150b6348a8c2
2016-07-01 22:38:28 +00:00
Chong Zhang
22eff0a020 Fix potential loophole where ime adjust notification is not sent
- If IME adjust is cleared due to minimizing status change, make
  do a performSurfacePlacement to get UPDATE_DOCKED_STACK_DIVIDER

- If IME adjust status is changed while waiting for drawn for the
  resizing mode, only report the latest status not the stale status

- Add some verbose log to help debugging

bug: 29313747
Change-Id: I0c561d2ad294dba1a966ffa7205f1315b599a4bb
2016-07-01 15:35:45 -07:00
Chen Xu
67f8e822ac Merge \\\\"DO NOT MERGE revert public api loadSafeLabel\\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999 am: 0828455ca9
am: caabaab8bc  -s ours

Change-Id: If1a5d01375b2a4e503ddf93bba5e009754889d44
2016-07-01 22:32:05 +00:00
Joe Fernandez
106f69c8a6 Merge "Docs: Final edits for initial release of this doc for Performance section of DAC." into nyc-dev 2016-07-01 22:21:31 +00:00
fionaxu
caabaab8bc Merge \\\"DO NOT MERGE revert public api loadSafeLabel\\\" into lmp-dev am: 521efcd1e3 -s ours am: 7bd0eea999
am: 0828455ca9

Change-Id: Ie1d5e38af7c3c49eb69f61e379096b17dd004961
2016-07-01 22:16:10 +00:00
Chen Xu
0828455ca9 Merge \\"DO NOT MERGE revert public api loadSafeLabel\\" into lmp-dev am: 521efcd1e3 -s ours
am: 7bd0eea999

Change-Id: I4ae23825fcef45856aa8551725c38fba0dd4892a
2016-07-01 22:09:39 +00:00
David Friedman
5fa47ee311 Merge \"Docs: Performance section\" into nyc-dev
am: a3d9b5c22e

Change-Id: I826858e55856a4a4d2e519a45324fbdedf85df9b
2016-07-01 21:59:26 +00:00
fionaxu
7bd0eea999 Merge \"DO NOT MERGE revert public api loadSafeLabel\" into lmp-dev
am: 521efcd1e3  -s ours

Change-Id: I278455eb32488b221de93acd52b64956149cad54
2016-07-01 21:59:03 +00:00
John Reck
ee557b2b99 Merge "update GlSurfaceView:onPause/Resume docs" into nyc-mr1-dev 2016-07-01 21:49:56 +00:00
David Friedman
bc8eeafb2c Merge \"Docs: Launch-time performance doc for upcoming Performance section on DAC.\" into nyc-dev
am: a8fa5ffbbc

Change-Id: If224c8c8d0fd3875ad5d8d895577047ead33b5e8
2016-07-01 21:46:33 +00:00
Chen Xu
521efcd1e3 Merge "DO NOT MERGE revert public api loadSafeLabel" into lmp-dev 2016-07-01 21:44:06 +00:00
Andrii Kulian
4ce6754e60 Merge "Always send task stack change updates if PiP is enabled" into nyc-mr1-dev 2016-07-01 21:39:39 +00:00
Andrii Kulian
fc20505e37 Merge "Don't update task to return to type for last task over home" into nyc-mr1-dev 2016-07-01 21:38:44 +00:00
Joe Fernandez
a3d9b5c22e Merge "Docs: Performance section" into nyc-dev 2016-07-01 21:37:30 +00:00
Jorim Jaggi
90859bc4ce Allow voice interaction window to control system bars
Fixes: 29777675
Change-Id: I452bfa46cfdeb6ffa1f36c718df9bc7184fa74f7
2016-07-01 14:36:10 -07:00
David Friedman
e1fde5e9a9 Docs: Performance section
Change-Id: I97d10159ca9f7698741ce0ff23f87e4866848b1d
2016-07-01 14:35:44 -07:00
David Friedman
0346f34d47 Docs: New doc on optimizing view hierarchies for upcoming Performance section
am: 448bb5762a

Change-Id: I1134905309cf12f68f0d92c16db00b9d137b21ab
2016-07-01 21:35:13 +00:00
Joe Fernandez
a8fa5ffbbc Merge "Docs: Launch-time performance doc for upcoming Performance section on DAC." into nyc-dev 2016-07-01 21:29:31 +00:00
David Friedman
1ea83f12d8 Merge \"Docs: Add page about threads to the upcoming DAC Performance site area.\" into nyc-dev
am: 868a92f11b

Change-Id: I7ddb54aa8be6ee9d8db0f70a35e430dea4f601ed
2016-07-01 21:20:29 +00:00
David Friedman
6056c8463d Docs: Final edits for initial release of this doc for Performance section of DAC.
Change-Id: I1e9ec2bb7c79455ec87545c7bb6db812adfa97ae
2016-07-01 14:19:10 -07:00
David Friedman
448bb5762a Docs: New doc on optimizing view hierarchies for upcoming Performance section
Bug: 29514404

This is part of the new Performance section to be launched on DAC soon.

Change-Id: Ib590a97f9b7696251edbdecb28305933014483b7
2016-07-01 14:17:57 -07:00
Joe Fernandez
868a92f11b Merge "Docs: Add page about threads to the upcoming DAC Performance site area." into nyc-dev 2016-07-01 21:05:59 +00:00
John Reck
226b4764b4 Merge "Clarify Picture docs on playback" into nyc-mr1-dev 2016-07-01 20:41:24 +00:00
Tyler Gunn
0babe967be Merge "Telephony multi-endpoint disconnect causes." into nyc-mr1-dev 2016-07-01 20:23:16 +00:00