14412 Commits

Author SHA1 Message Date
Chet Haase
df10332181 Document and deprecate various old, undocumented classes
These classes are mostly undocumented and, in some cases, completely
unobvious in what they do or how to use them. In some cases, I added
docs to explain the API. In other cases (ProgressDialog, ZoomButton,
DialerFilter), I deprecated the classes because there are far better ways
to accomplish that functionality with today's platform.

Issue #2164052 Underdocumented classes in Eclair

Change-Id: Ief0e7267852c2cb3c5ae604b3d902d66c89f4cd3
2016-08-25 12:38:46 -07:00
Keun-young Park
badbbae6fa allow external USB host management
- Setting config_UsbDeviceConnectionHandling_component leads into
  launching specified Activity whenever USB device is connected.
- This allows external Activity to manage USB device based on
  its own setup and settings.
- Device access can be passed to other app with permission update
  by UsbManager.grantPermission.
- added UsbDeviceConnection.resetDevice() to reset USB device connected.
  This is necessary to get device out from AOAP.
- Test requires installing UsbHostExternalManagmentTestApp and
  AoapTestHost to USB host, and AoapTestDevice to USB Device.

bug: 26404209
Change-Id: I8e77ddc646c15454d9b2ecf1356924cf6351fc28
2016-08-24 15:00:08 -07:00
Sergio Giro
34e057421a frameworks/base: add changes coming from aosp
Corresponding to aosp changes:
https://android-review.googlesource.com/261231
https://android-review.googlesource.com/261194
https://android-review.googlesource.com/261211

Change-Id: I13caa90b7f97d5aa447050f89a5312d22db3d277
(cherry picked from commit 29835cc56eb26089cd8d2c21c7507c9d0588ceb0)
2016-08-24 20:11:59 +00:00
Ned Burns
be92fca27c Merge "Add ViewConfiguration.getScaledScrollFactor()" 2016-08-18 21:16:49 +00:00
Ned Burns
69af432039 Add ViewConfiguration.getScaledScrollFactor()
This value is used to convert ACTION_SCROLL axis values into raw
pixel distances.

Change-Id: I537af010610bb374ab29a41aff4fae5b07bece6e
2016-08-18 15:07:05 -04:00
TreeHugger Robot
df6183299b Merge "Remove permission review build property - framework" 2016-08-18 00:56:38 +00:00
Svet Ganov
77df6f315d Remove permission review build property - framework
Change-Id: Ifcfd436f2d57a6006ef804292d2875434e4669da
2016-08-17 14:52:26 -07:00
Chong Zhang
921f8e35d8 resolve merge conflicts of 9391bc5 to master
Change-Id: I6de231781233826b399688dc8ead70ba515b1ccb
2016-08-17 14:38:12 -07:00
Tobias Thierer
b097c03913 Revert "Revert "Track libcore update of Map classes to jdk8u60"" am: 7f5095ddfe am: 900471ab11
am: 75cff53a34

Change-Id: I81f68f93a7c5f96f1c5db1bf2bc259c09fdbf306
2016-08-17 18:29:15 +00:00
Chong Zhang
9391bc557c Add new window type TYPE_DRAWN_APPLICATION am: fea963edee
am: 5e09ceb641

Change-Id: I955b985c47ca10a17dec6921af0277d1d6a7431d
2016-08-17 18:22:10 +00:00
Tobias Thierer
75cff53a34 Revert "Revert "Track libcore update of Map classes to jdk8u60"" am: 7f5095ddfe
am: 900471ab11

Change-Id: I14364e0805996c1bfe37e607bd58f35bd51101c8
2016-08-17 18:04:36 +00:00
Tobias Thierer
900471ab11 Revert "Revert "Track libcore update of Map classes to jdk8u60""
am: 7f5095ddfe

Change-Id: I815b5c9b5620fb1fc9f18dd6b0bb0d185c114410
2016-08-17 17:54:08 +00:00
Tobias Thierer
744f241a7d Merge "Track libcore update of Map classes to jdk8u60." am: ec6a323da2 am: 17fea8b967 am: 8fc0ac9b39
am: 9354783343

Change-Id: I0ed4962659511452c73f93747faf2abe447d92a4
2016-08-17 17:38:29 +00:00
Tobias Thierer
7f5095ddfe Revert "Revert "Track libcore update of Map classes to jdk8u60""
Automerger issues have been resolved. This change needs
to be rolled forward once Automerger merges
http://r.android.com/255655 from mirror-aosp-master into
stage-aosp-master.

This reverts commit 778321361132672ea1174e4ca3f5397477c32690.

Change-Id: I16e1d94351ccf7cc1aeb8f9905410cd23514e8ff
2016-08-17 17:11:01 +00:00
Tobias Thierer
9354783343 Merge "Track libcore update of Map classes to jdk8u60." am: ec6a323da2 am: 17fea8b967
am: 8fc0ac9b39

Change-Id: Ia814e0be0e66022a373c8a8e4bc27a71ce85d866
2016-08-17 17:09:11 +00:00
Tobias Thierer
35941967f5 Revert "Track libcore update of Map classes to jdk8u60" am: 7783213611 am: 5efe2b7515
am: be97d6c1ff

Change-Id: I1e21dcc7144bb06a5e9eccfcbc0fcc5138090711
2016-08-17 17:08:39 +00:00
Tobias Thierer
4c8679d683 Track libcore update of Map classes to jdk8u60 am: fb2ade3dca am: eb4eeb5323
am: 70f8050b48

Change-Id: I136a0a4fae6d74bfb71a7ae14bb944bb05460e94
2016-08-17 17:08:35 +00:00
Tobias Thierer
8fc0ac9b39 Merge "Track libcore update of Map classes to jdk8u60." am: ec6a323da2
am: 17fea8b967

Change-Id: I2b6df8da3c87ec2232b60380cd91c0b4aab7025b
2016-08-17 17:03:44 +00:00
Tobias Thierer
be97d6c1ff Revert "Track libcore update of Map classes to jdk8u60" am: 7783213611
am: 5efe2b7515

Change-Id: Ic9386c17ec28b68de3127057eafbc60399e44f47
2016-08-17 17:00:13 +00:00
Tobias Thierer
70f8050b48 Track libcore update of Map classes to jdk8u60 am: fb2ade3dca
am: eb4eeb5323

Change-Id: I97ae4e7346424b6c58bc15f3682293d2854db23c
2016-08-17 17:00:09 +00:00
Tobias Thierer
17fea8b967 Merge "Track libcore update of Map classes to jdk8u60."
am: ec6a323da2

Change-Id: I6af9d2929d07cc60be8485de344d335c1bf5cf33
2016-08-17 16:54:30 +00:00
Tobias Thierer
5efe2b7515 Revert "Track libcore update of Map classes to jdk8u60"
am: 7783213611

Change-Id: I10e2130939778adf5fb51fc89404bfb9fc82ce0f
2016-08-17 16:54:08 +00:00
Tobias Thierer
eb4eeb5323 Track libcore update of Map classes to jdk8u60
am: fb2ade3dca

Change-Id: I4ddb3bc3c7428467f8bde073e3ebc7e6b04d899c
2016-08-17 16:54:05 +00:00
Tobias Thierer
7783213611 Revert "Track libcore update of Map classes to jdk8u60"
May have broken stage-aosp-master since the CL from aosp-master was for
some reason only merged to mirror-aosp-master but no further.

Bug: 30911913

This reverts commit fb2ade3dcab0962f18acab720875c75622f412ed.

Change-Id: I696d2b0636708fc6c73a53cd3cae36fa5bd0f173
2016-08-17 14:59:28 +00:00
Tobias Thierer
fb2ade3dca Track libcore update of Map classes to jdk8u60
This adds the api/test-current.txt changes corresponding to
http://r.android.com/238640

This CL requires base CLs, which will get merged from aosp-master,
in order to build.

Change-Id: I0aa2e9c4c7b3b6af79c9885e7e0fdde8880e71c8
2016-08-17 11:06:27 +01:00
Tobias Thierer
9d332f2dc8 Track libcore update of Map classes to jdk8u60.
Note that these additions are simply artifacts of the API generation
processes. These map methods were previously implemented by superclasses.

Test: make update-api

Change-Id: Ib03ca6afb438f2d7597abd0794cdebed2083bc17
2016-08-16 14:16:41 +01:00
Chong Zhang
fea963edee Add new window type TYPE_DRAWN_APPLICATION
This type behaves like a normal TYPE_APPLICATION, except that WM
will always wait for it to be drawn before starting a transition.

WM always waits for TYPE_BASE_APPLICATION (main window), but for
TYPE_APPLICATION, it only waits if the window relayouts to visible
and gets a surface before the main window is drawn. If main window
itself is ready very fast, transition could start without the other
window.

bug: 30830849
Change-Id: Ife71a9812db7c8eba6ee4ead10ce4f31d9e93b40
2016-08-15 17:36:40 -07:00
Jakub Pawlowski
747711ce9b Add LE Secure Connection data parsing (1/4)
Bug: 30460956
Change-Id: I8d6e721b3b04f5ca9e3e02f7f2b90487482e1b37
2016-08-11 22:18:19 +00:00
Ta-wei Yen
3588482acc Add API to enable/disable the visual voicemail client am: 20f2ebbf4d am: 6dc3efcc16
am: b71cea3ade

Change-Id: I8a8000e783fad884d8d8afdf32b8d240ae233cd8
2016-08-11 17:39:34 +00:00
Ta-wei Yen
b71cea3ade Add API to enable/disable the visual voicemail client am: 20f2ebbf4d
am: 6dc3efcc16

Change-Id: I13bc9bd9b12732fa3a7aa5de47cba5eacc5ba092
2016-08-11 17:31:25 +00:00
Ta-wei Yen
20f2ebbf4d Add API to enable/disable the visual voicemail client
This CL gives the default dialer, apps with carrier privilege, and
apps with MODIFY_PHONE_STATE the ability to enable/disable the visual
voicemail client.

This is a system API for NMR1. It will be revised in O.

Bug: 30709089
Change-Id: Ic24af14a5e3433c13ba8d253ad8504c94bf71c8f
2016-08-10 11:28:32 -07:00
Jin Park
2574920992 ExifInterface: Add support for DNG thumbnail cases
DNG files have a unique way of identifying their image compression
type. This CL addresses this issue by adding support for cases
mentioned in the DNG Specifications.

Bug: 30727870
Change-Id: I416b9fb49872e9c878193f346dcaad5f45b0b995
2016-08-10 11:44:00 +09:00
Yi Kong
68035ce56c Track libcore change ee24b6322448ac919231a668e308ebd719aa52d7 am: 19df48b93b am: d5e8edfe1d
am: 410c8b9f48

Change-Id: I2913d01d63e070b3de85fec489bb3803e403fa52
2016-08-09 18:25:18 +00:00
Yi Kong
410c8b9f48 Track libcore change ee24b6322448ac919231a668e308ebd719aa52d7 am: 19df48b93b
am: d5e8edfe1d

Change-Id: I084e1057aa51a908d24b19d47ff6747e18494507
2016-08-09 18:19:09 +00:00
Yi Kong
d5e8edfe1d Track libcore change ee24b6322448ac919231a668e308ebd719aa52d7
am: 19df48b93b

Change-Id: I7fba48c95191b4a53acff70e89d59e30d3eb8e90
2016-08-09 18:07:29 +00:00
Yi Kong
19df48b93b Track libcore change ee24b6322448ac919231a668e308ebd719aa52d7
Change-Id: I73dd6af604304ea4eb8e01990454f491af659602
(cherry picked from commit f646aa14cdbf34e8784c0411d0baca26e364c1dc)
2016-08-09 18:57:16 +01:00
Yi Kong
f646aa14cd Track libcore change ee24b6322448ac919231a668e308ebd719aa52d7
Change-Id: I73dd6af604304ea4eb8e01990454f491af659602
2016-08-09 16:43:32 +00:00
Jin Seok Park
54e43b23e1 Merge "ExifInterface: Process uncompressed thumbnail" 2016-08-08 00:53:10 +00:00
Todd Kennedy
8d69e9c93b Move EphemeralResolverService am: 31b95e0265 am: fa67fad84e
am: 8c073e0aad

Change-Id: I2fb2add1e4431c2c802430990f99807934878e84
2016-08-05 17:58:25 +00:00
Todd Kennedy
8c073e0aad Move EphemeralResolverService am: 31b95e0265
am: fa67fad84e

Change-Id: Ieabd373b5557e03c6a189f070c8f79998e7a5a0a
2016-08-05 17:52:00 +00:00
Todd Kennedy
31b95e0265 Move EphemeralResolverService
It should not have been under com.android.internal

Fixes: 30673742
Change-Id: I2277aa4a4799fa59bf68af7c4cfcb4e1216aeb8d
2016-08-05 07:17:52 -07:00
Tobias Thierer
e6851b5a66 Merge "APIs for ProcessBuilder.Redirect" am: e49469aed1 am: c548ff23bd am: 22aa35d510
am: bd919aaca9

Change-Id: I60b967da62019356512e62d13ecb54d9f511ea33
2016-08-05 13:06:10 +00:00
Tobias Thierer
bd919aaca9 Merge "APIs for ProcessBuilder.Redirect" am: e49469aed1 am: c548ff23bd
am: 22aa35d510

Change-Id: I99c0b399f523d4c04b3009e89414fe4fda716c81
2016-08-05 13:01:03 +00:00
Tobias Thierer
e5bce1a255 Update api/test-current.txt for ProcessBuilder API am: 6af44aeea0 am: 95b759e178
am: 6cdfba9d58

Change-Id: I43b92d531f71fad2933f85321130af0c4ef0cdd4
2016-08-05 12:55:24 +00:00
Tobias Thierer
22aa35d510 Merge "APIs for ProcessBuilder.Redirect" am: e49469aed1
am: c548ff23bd

Change-Id: I97d741f344ee59e8f493f0ac8d0b41a63adc9c14
2016-08-05 12:51:50 +00:00
Tobias Thierer
6cdfba9d58 Update api/test-current.txt for ProcessBuilder API am: 6af44aeea0
am: 95b759e178

Change-Id: I7a9ef8a5857cd8950f846dcb533041b9e08f6603
2016-08-05 12:50:33 +00:00
Tobias Thierer
c548ff23bd Merge "APIs for ProcessBuilder.Redirect"
am: e49469aed1

Change-Id: I6c479a84044cfd8df084a3c9707f7aaaf09546fa
2016-08-05 12:44:48 +00:00
Tobias Thierer
95b759e178 Update api/test-current.txt for ProcessBuilder API
am: 6af44aeea0

Change-Id: I0009f3d758af696aca14851f53459c6a332beb47
2016-08-05 12:44:35 +00:00
Tobias Thierer
6af44aeea0 Update api/test-current.txt for ProcessBuilder API
Test: make update-api docs

Bug: 27464570
Change-Id: Iee1fec0efb241ba091494467ab3632675c1d07d4
2016-08-05 12:37:21 +00:00
Tobias Thierer
e49469aed1 Merge "APIs for ProcessBuilder.Redirect" 2016-08-05 12:36:35 +00:00