21 Commits

Author SHA1 Message Date
David Brazdil
0585533a85 Merge non-SDK @removed API and light greylist
@removed APIs are not part of the public SDK but we do not want
to block access to them. Use the recently added removed-dex.txt
list of @removed API signatures and merge it into the hidden API
light greylist programmatically.

Note that due to Doclava's rule precedence, @removed APIs which
override a public SDK method are considered public and are
whitelisted. We have to intersect removed-dex.txt with private-dex.txt
to satisfy the rule that light greylist is a subset of private-dex.txt.

Bug: 78182899
Test: make out/target/common/obj/PACKAGING/removed-dex.txt
Change-Id: I44e54c405fc667d54a990b9ded1de8456802545e
2018-05-02 14:29:20 +00:00
David Brazdil
768a9530e0 Add new hidden APIs
Bug: 78552452
Test: make
Change-Id: I73dc97a33b645f6cd9b7bf4a37254737ed3107ce
2018-04-25 13:39:27 +01:00
Mathew Inwood
e5dc64d428 Add presubmit hook for hidden API lists.
Check that they're sorted as expected and contain no duplicates.
The sort order now uses:
$ LC_COLLATE=C sort -f

So that non-alphanumeric characters are not ignored, giving a more
intuitive sort order. the '-f' means ignore case.

Also sort the existing lists accordingly.

Test: repo upload
Bug: 64382372
Merged-In: I52b884da33a9a46455df6747a215683d9d3c3218
Change-Id: I4cdd3bc5c11be91a9a3f678580af49ac67f3c968
2018-04-24 15:15:13 +01:00
David Brazdil
0b0e3bcf3b Add more API to light greylist
Bug: 64382372
Bug: 77736246
Bug: 77697942
Bug: 77502619
Bug: 76024032
Bug: 74621964
Bug: 76198483
Bug: 76405030
Bug: 76456333
Bug: 75295975
Bug: 74862699
Bug: 74862698
Bug: 74271858
Bug: 74352261
Bug: 73171118
Test: make
Change-Id: I4fe4b041022ab51297bf01ea59e33abba8767404
2018-04-10 17:44:03 +01:00
David Brazdil
ddeaefb546 Merge "Add more API to hiddenapi-vendor-list.txt" into pi-dev 2018-04-06 10:41:15 +00:00
David Brazdil
66eb7a2aad Add more API to hiddenapi-vendor-list.txt
Bug: 64382372
Bug: 77278525
Test: make
Change-Id: Ibfeb2c6238e6e992a88a3c056b74c02c85887fad
2018-04-06 09:32:54 +00:00
Stephen
74678f3b29 Adding more APIs to greylist
Test: None

bug: 74066078

Change-Id: I029754dba43f83d6aff941c02ba1caa7fdd1e18c
2018-04-06 08:22:57 +00:00
David Brazdil
b622906dc5 Merge "Move hidden API from vendor to light grey" into pi-dev 2018-04-04 17:23:30 +00:00
David Brazdil
c1d8d0a2f7 Move hidden API from vendor to light grey
Bug: 64382372
Bug: 77328929
Test: make
Change-Id: I5141b56c79fad2bc6943ca6086eae53cad82d09c
2018-04-04 14:26:08 +01:00
Winson Chung
6a38fca2d8 Prevent unnecessary reordering of the home stack
- Just cancel the recents animation in-place when handling the home button
  to prevent it from being repositioned to the bottom (which stops home)
  and then starting it again (which restarts it)

Bug: 74405472
Test: Press home from an app, ensure launcher stop is only called once
Change-Id: Id41aa2f77c01767cc2c35445458b8f2db81200fc
2018-03-30 10:25:09 -07:00
David Brazdil
dc80215074 Add more hidden API uses to light greylist
Bug: 76443991
Bug: 64382372
Test: make
Change-Id: I5ec60bbf9b747230ab1a5ae539d7d014b24605b0
2018-03-29 14:21:48 +01:00
Nicolas Geoffray
981ae652c9 Move graphics APIs to the light grey.
The APIs have just started being removed in public APIs, and some
non-vendor apps are using them.

bug: 77224796
Test: m

Change-Id: I5c3afd18244a888ec77f14eaa6d839faf4f6d2be
2018-03-29 10:20:34 +00:00
David Brazdil
1172de7bf3 Add more uses on vendor hidden API list
These are from Pixel devices.

Bug: 64382372
Test: make
Change-Id: Ie8dab74299973f54472bf80c98bbc7496022874d
2018-03-28 13:17:20 +01:00
TreeHugger Robot
4f2e53fe48 Merge "Unhide ImsReasonInfo Constructor" into pi-dev 2018-03-24 01:12:49 +00:00
Kurt Marcinkiewicz
991b971acb Merge "Allow specifying a network for SNTP time sync" into pi-dev 2018-03-23 18:02:19 +00:00
Kurt Marcinkiewicz
dfdd82e84f Allow specifying a network for SNTP time sync
Permits syncing over a specific network instead of the default for
the process. This was causing an issue with Android Wear devices
paired with iOS where the default network is bluetooth
(see b/32663274).

This CL is in support of ag/3776564

Bug: 32663274

Test: adb shell am instrument -e class android.net.SntpClientTest -w \
com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner

Change-Id: Ic9fc169cf75457810d4992121d85d7642e350b90
2018-03-22 13:43:25 -07:00
Mohamed Abdalkader
ca0c1ac304 Unhide ImsReasonInfo Constructor
Test: builds
Bug: 76033384
Change-Id: If1101b82f92e45cd417f34356545363f6f9bf322
2018-03-22 00:40:01 +00:00
TreeHugger Robot
4d6dc48d24 Merge changes I7f413e38,I20aba7e9 into pi-dev
* changes:
  Remove FlpHardwareProvider
  Create the stubs lib for com.android.location.provider
2018-03-22 00:29:38 +00:00
David Brazdil
10977cd9bc More APIs on hidden API light greylist / vendor list
New scan after updates.

Bug: 64382372
Bug: 76062566
Test: make
Change-Id: Ia2c67222bddccb0b7f607ee0ce8951611a668dc3
2018-03-21 14:28:18 +00:00
Jiyong Park
4cc3a1c056 Remove FlpHardwareProvider
After Treble's FLP merge into GNSS HAL, the FlpHardwareProvider is just
an empty shell. Removing FusedLocation and/or Flp + Hardware classes
altogether.

Bug: 35726697
Test: m -j
Test: Open Google Map and then walk around. The dot moves as I walk.
Change-Id: I7f413e38b57424e8ebb9d7d14d94f145a48d10f8
2018-03-21 10:36:44 +09:00
David Brazdil
873d1d30d5 Add uses of hidden APIs from vendor apps
These will move into the dark greylist once we remove the UI toast.
Merge them with light greylist for now.

Bug: 64382372
Bug: 74589747
Bug: 74588266
Bug: 74586173
Bug: 74586969
Test: make
Change-Id: I8c1d3b67b763e8b14a66874705ba7165cf421e72
Merged-In: I5d0ec308a0187d67df6d9a4f0778c9285dc1e2af
2018-03-16 10:23:09 +00:00