Michael Wright
40311676d0
Merge "Fixup InputManager javadoc"
2015-10-22 17:54:31 +00:00
Michael Wright
112449ca29
Fixup InputManager javadoc
...
Change-Id: I708b62db4861c7d391258b980a2447e08ed0d89e
2015-10-22 17:23:12 +01:00
Michael Wright
874ce44a80
Merge "Add new Cut / Copy / Paste keys."
2015-10-22 14:47:33 +00:00
Yoshiki Iguchi
e0ee5d9657
Fix crash on calling removeSelection with showing selection handlers am: 9582e15196 am: 6649ee972b am: 6a5bb1534c
...
am: fb8343549a
* commit 'fb8343549a65bf65dab0fce6830b1b39ce62ddaa':
Fix crash on calling removeSelection with showing selection handlers
2015-10-22 07:53:41 +00:00
Yoshiki Iguchi
fb8343549a
Fix crash on calling removeSelection with showing selection handlers am: 9582e15196 am: 6649ee972b
...
am: 6a5bb1534c
* commit '6a5bb1534c736c21260c5c488ff58e4d81972f92':
Fix crash on calling removeSelection with showing selection handlers
2015-10-22 07:49:00 +00:00
Yoshiki Iguchi
6649ee972b
Fix crash on calling removeSelection with showing selection handlers
...
am: 9582e15196
* commit '9582e151964be60457d4abd712857fb1e8a4586d':
Fix crash on calling removeSelection with showing selection handlers
2015-10-22 07:39:17 +00:00
Yoshiki Iguchi
9582e15196
Fix crash on calling removeSelection with showing selection handlers
...
A crash occured on updating after calling removeSelection with showing
selection handlers. This was because some selection-handler code didn't
consider the case the selection index was -1 (-1 means there is no selection).
This patch fixes this crash.
Bug: 23299977
Change-Id: I736d315e073f773aec597522203015205a8da42b
2015-10-22 07:28:47 +00:00
Lorenzo Colitti
67fb3d7358
Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev am: 809dcade99 am: bdc458048a am: bb8f652372
...
am: 8ecad265b6
* commit '8ecad265b6db57f78dd142e974057c91f69489ed':
Reinstate CHANGE_NETWORK_STATE as a normal permission.
2015-10-22 06:33:09 +00:00
Lorenzo Colitti
8ecad265b6
Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev am: 809dcade99 am: bdc458048a
...
am: bb8f652372
* commit 'bb8f652372f261edd2083103d4300a9173993706':
Reinstate CHANGE_NETWORK_STATE as a normal permission.
2015-10-22 06:28:24 +00:00
Lorenzo Colitti
bdc458048a
Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev
...
am: 809dcade99
* commit '809dcade9906001f6aa51a68aa783e20bb1d7c0d':
Reinstate CHANGE_NETWORK_STATE as a normal permission.
2015-10-22 06:18:43 +00:00
Lorenzo Colitti
809dcade99
Merge "Reinstate CHANGE_NETWORK_STATE as a normal permission." into mnc-dr-dev
2015-10-22 06:15:05 +00:00
Adrian Roos
b531762c89
Merge "Track ashmem memory usage in Parcel" into mnc-dr-dev am: 33e1d376eb am: 655c12edb0
...
am: fda65d780e
* commit 'fda65d780eea9f696b087deb8d532b87e44877b6':
Track ashmem memory usage in Parcel
2015-10-22 01:02:27 +00:00
Adrian Roos
655c12edb0
Merge "Track ashmem memory usage in Parcel" into mnc-dr-dev
...
am: 33e1d376eb
* commit '33e1d376ebd643cba5b507d0005b87d49e246bb5':
Track ashmem memory usage in Parcel
2015-10-22 00:49:52 +00:00
Adrian Roos
ab3f972403
Track ashmem memory usage in Parcel
...
Bug: 25004154
Change-Id: Id9d5656dd0605f1b50525596b75601309f67ebdc
(cherry picked from commit 4701a496a5 )
2015-10-22 00:31:47 +00:00
Adrian Roos
bc14a194e0
Merge "Track ashmem memory usage in Parcel"
2015-10-22 00:31:17 +00:00
Adrian Roos
4701a496a5
Track ashmem memory usage in Parcel
...
Bug: 25004154
Change-Id: Id9d5656dd0605f1b50525596b75601309f67ebdc
2015-10-21 16:52:15 -07:00
Lorenzo Colitti
d542705066
Reinstate CHANGE_NETWORK_STATE as a normal permission.
...
This is a partial revert of http://ag/738523 , but not a full
revert because M apps that have gone through the WRITE_SETTINGS
route to obtain permission to change network state should
continue to have permission to do so.
Specifically:
1. Change the protection level of CHANGE_NETWORK_STATE back from
"signature|preinstalled|appop|pre23" to "normal". This allows
apps that declare CHANGE_NETWORK_STATE in their manifest to
acquire it, even if they target the M SDK or above.
2. Change the ConnectivityManager permission checks so that they
first check CHANGE_NETWORK_STATE, and then ask Settings
if the app has the WRITE_SETTINGS runtime permission.
3. Slightly simplify the code in the Settings provider code that
deals specifically with the ability to change network state.
4. Make the ConnectivityService permissions checks use the
ConnectivityManager code to avoid code duplication.
5. Update the ConnectivityManager public Javadoc to list both
CHANGE_NETWORK_STATE and WRITE_SETTINGS.
Bug: 21588539
Bug: 23597341
Change-Id: Ic06a26517c95f9ad94183f6d126fd0de45de346e
2015-10-22 08:33:45 +09:00
Tao Bao
48d7b31b4b
Merge "Clean up the uncrypted OTA package on bootup." am: 5d562d4d2f am: ac140e7f76
...
am: db33bfc2a9
* commit 'db33bfc2a96c38eba5b67c82cb4fee69c52b80ad':
Clean up the uncrypted OTA package on bootup.
2015-10-21 18:22:13 +00:00
Tao Bao
db33bfc2a9
Merge "Clean up the uncrypted OTA package on bootup." am: 5d562d4d2f
...
am: ac140e7f76
* commit 'ac140e7f7690979378897546e7934381f62922ab':
Clean up the uncrypted OTA package on bootup.
2015-10-21 18:05:18 +00:00
Tao Bao
ac140e7f76
Merge "Clean up the uncrypted OTA package on bootup."
...
am: 5d562d4d2f
* commit '5d562d4d2fe5697468e5b93b183ed8ea42e115a2':
Clean up the uncrypted OTA package on bootup.
2015-10-21 17:51:53 +00:00
Andrei Stingaceanu
fa7834379f
Merge "Fix toolbar flickering in ExtractedMode when longpressing." into mnc-dr-dev am: ee4ab0a55b am: 24fc647e70 am: 509a74972a
...
am: fe622345b0
* commit 'fe622345b02656b9e049dde9936987f38984e97d':
Fix toolbar flickering in ExtractedMode when longpressing.
2015-10-21 17:11:52 +00:00
Michael Wright
ea84cff8fd
Add new Cut / Copy / Paste keys.
...
Bug: 25120948
Change-Id: I401792b8c88584d8c389fa356186ccea943d5dd4
2015-10-21 18:08:30 +01:00
Andrei Stingaceanu
fe622345b0
Merge "Fix toolbar flickering in ExtractedMode when longpressing." into mnc-dr-dev am: ee4ab0a55b am: 24fc647e70
...
am: 509a74972a
* commit '509a74972af13c845a67ad9edddd8e413cc7884a':
Fix toolbar flickering in ExtractedMode when longpressing.
2015-10-21 16:55:37 +00:00
Andrei Stingaceanu
24fc647e70
Merge "Fix toolbar flickering in ExtractedMode when longpressing." into mnc-dr-dev
...
am: ee4ab0a55b
* commit 'ee4ab0a55b355b21168de0eb5615f2e321c2982f':
Fix toolbar flickering in ExtractedMode when longpressing.
2015-10-21 16:03:52 +00:00
Andrei Stingaceanu
ee4ab0a55b
Merge "Fix toolbar flickering in ExtractedMode when longpressing." into mnc-dr-dev
2015-10-21 15:56:26 +00:00
Andrei Stingaceanu
2aaeefec92
Fix toolbar flickering in ExtractedMode when longpressing.
...
onPreDraw starts an action mode in extract mode only which
does not consider the type of motion event and since extracted
mode never gets the focus event it never hides so it does not
need to show again.
Stop starting an action mode onPreDraw in extracted mode and
let the onTouchEvent handle starting the mode.
Also re-enabled dragging and dropping for ExtractedMode (most
of the issues were caused by starting the action mode
onPreDraw).
Bug: 25102276
Change-Id: I90d8e9f42f395b6b529e4d023ba6939e0dfb147f
2015-10-21 15:42:00 +01:00
John Reck
075f9ce097
Merge "Fix a few view ctors to not call Looper.myLooper"
2015-10-21 14:25:47 +00:00
Jeff Sharkey
008672f62d
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev am: 55d2b6e8e6 am: 257d2ca7fd am: e01b99faa5
...
am: 6dee8faff3
* commit '6dee8faff3b25c6dd6c8fa308ceb0fb8b31f6a05':
Correctly derive ABI for apps on adopted media.
2015-10-21 01:22:32 +00:00
Jeff Sharkey
6dee8faff3
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev am: 55d2b6e8e6 am: 257d2ca7fd
...
am: e01b99faa5
* commit 'e01b99faa54a083ae7b10db902a03f4aa6c9bd63':
Correctly derive ABI for apps on adopted media.
2015-10-21 01:15:29 +00:00
Jeff Sharkey
257d2ca7fd
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev
...
am: 55d2b6e8e6
* commit '55d2b6e8e6f364e2fd52c45b5fa3eb6a56082456':
Correctly derive ABI for apps on adopted media.
2015-10-21 00:55:05 +00:00
Jeff Sharkey
55d2b6e8e6
Merge "Correctly derive ABI for apps on adopted media." into mnc-dr-dev
2015-10-21 00:48:47 +00:00
Jeff Sharkey
bbcb331205
Correctly derive ABI for apps on adopted media.
...
There was a bug causing PackageManager to think apps on adopted media
were actually in an ASEC, causing it to skip ABI derivation. This
change fixes the issue by copying the volume UUID into place early
in the scanning process.
Also fixes two places where we had incorrectly been including apps
on adopted media; switched them to check only for ASECs.
Bug: 24583803
Change-Id: If66d1bce02824a4d8e22f741b04a2abda0378cfb
2015-10-20 17:32:05 -07:00
Abodunrinwa Toki
c8d8288832
Merge "Re-set PROCESS_TEXT selection if nothing was returned." into mnc-dr-dev am: 3bd3655fd0 am: 9e97c20ed9 am: 0eef4ab567
...
am: 4d14e65cdf
* commit '4d14e65cdf968ba43e47fe79e7b6d7e62d8b2ed1':
Re-set PROCESS_TEXT selection if nothing was returned.
2015-10-20 23:48:20 +00:00
Jeff Sharkey
71f9a6f7a9
Merge "Ignore network policies with missing IMSI." into mnc-dr-dev am: 38463bb950 am: 5d7604323f am: 3b30aae6e7
...
am: 647afb199e
* commit '647afb199eb60f20bf3dcc49d48bffd46bb2d0d5':
Ignore network policies with missing IMSI.
2015-10-20 23:08:08 +00:00
Alan Viverette
4fa91b18b6
Merge "Update drawable matrix when bounds change in invalidateDrawable()" into mnc-dr-dev am: 840f38905c am: e3d745291e am: c3e46adc77
...
am: 27c5cbe5a8
* commit '27c5cbe5a87e618f7f8eafce90559525f4c2d70b':
Update drawable matrix when bounds change in invalidateDrawable()
2015-10-20 23:04:11 +00:00
Michael Wright
244f776855
resolve merge conflicts of f013c3f111 to master.
...
Change-Id: I2045187f8fa948a1733cb9a2cdc0a69ae97b5907
2015-10-20 23:48:55 +01:00
Alan Viverette
e21329ad86
Merge "DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure" into mnc-dr-dev am: 4823493647 am: ac02be311d
...
am: 41707942a8
* commit '41707942a8aea8c9122482f28f2fd599e55d0791':
DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure
2015-10-20 22:27:25 +00:00
Alan Viverette
ac02be311d
Merge "DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure" into mnc-dr-dev
...
am: 4823493647
* commit '482349364715dfcd87dc83e0913fc60dc6df0497':
DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure
2015-10-20 21:56:40 +00:00
Alan Viverette
4823493647
Merge "DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure" into mnc-dr-dev
2015-10-20 21:44:35 +00:00
Todd Kennedy
04d6a65f51
Merge "Retain fragment loaders" into mnc-dr-dev am: ad968cf4e5 am: 6320767fb1 am: 02940eb47f
...
am: 186fcb8b64
* commit '186fcb8b648edd31f7a59a358587264659e84f4f':
Retain fragment loaders
2015-10-20 21:38:55 +00:00
Alan Viverette
b5817779a9
DO NOT MERGE Use correct param for heightMode in RelativeLayout horizontal measure
...
Bug: 22824701
Bug: 25107144
Change-Id: Ia0afd3edc20b8127605aef2653fa9b5472f41be2
(cherry picked from commit 130ce740d1 )
2015-10-20 17:29:39 -04:00
Todd Kennedy
2fbd20fd7b
Merge "Enable "quick install""
2015-10-20 21:25:24 +00:00
John Reck
d0374c6b25
Fix a few view ctors to not call Looper.myLooper
...
Bug: 25116730
Change-Id: I4e394c281feef6f7987433298d66f2df11352416
2015-10-20 14:20:33 -07:00
Matthew Williams
c31529097d
DO NOT MERGE Sync extras bundle comparison can throw NPE am: 7d7a2254bc am: cb937cbc6a
...
am: d7d56a4feb
* commit 'd7d56a4feb5502e17dea4ebb4c9b22347be2b7d3':
DO NOT MERGE Sync extras bundle comparison can throw NPE
2015-10-20 21:06:31 +00:00
Todd Kennedy
27c24fb8b8
Enable "quick install"
...
Quick install skips a lot of the normal install steps in order to
dramatically reduce the installation time [eg Twitter normally takes
20s to install. But, installs in under 2.5s with quick install]
The specific optimizations [with caveats]:
1. Use the JIT. Although the oat file is technically created, it
only contains the exploded contents of the APK and does not contain
pre-compiled native binary code. While this improves install time,
it impacts app execution. [saves 17s]
2. Bypass Play verification. Play normally verifies all installs
to ensure we're not installing malware. But, it can take multiple
seconds for Play to collect and send package information to our
backend servers. [saves 2.7s]
3. Reduce JAR file verification. Due to the structure of the JAR
certs, we cannot completely bypass JAR processing. However we skip
the step of verifying every manifest entry. [saves 1.3s]
NOTE: #2 and #3 will only occur on eng/user-debug builds.
Bug: 22848361
Change-Id: I48e77595ad5c13a9534fdb06da67ba8dae2797fb
2015-10-20 13:54:19 -07:00
Matthew Williams
cb937cbc6a
DO NOT MERGE Sync extras bundle comparison can throw NPE
...
am: 7d7a2254bc
* commit '7d7a2254bc41d2dfc34fbb8693cb0dad2ccd528a':
DO NOT MERGE Sync extras bundle comparison can throw NPE
2015-10-20 20:42:07 +00:00
Jun Mukai
5359893eff
Merge "Do not update pointer icon shape for HOVER_EXIT event."
2015-10-20 19:54:47 +00:00
Rob Carr
2d021f9f48
Merge "Correct ActivityInfo constructors." into mnc-dr-dev am: cfea184d6c am: e2a49862c1
...
am: 8caf80d571
* commit '8caf80d571c37bc6fefd68227432fd49d76aaa93':
Correct ActivityInfo constructors.
2015-10-20 19:26:38 +00:00
Matthew Williams
7d7a2254bc
DO NOT MERGE Sync extras bundle comparison can throw NPE
...
BUG: 23591205
Change-Id: Ic6404c0befe70c34b078e0eae6a627826173d82c
(cherry picked from commit 9ad2c84033 )
2015-10-20 18:55:30 +00:00
Matthew Williams
b3b91ceaef
Merge "Sync extras bundle comparison can throw NPE"
2015-10-20 18:55:09 +00:00