Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
Source project has a limited visibility.
  • David Brazdil's avatar
    2200a1b8
    Add presubmit hook for hidden API lists. · 2200a1b8
    David Brazdil authored
    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: Icc124fd8ceb3f001a9c11bbf40e0a111910c6b39
    (cherry picked from commit e5dc64d4)
    2200a1b8
    History
    Add presubmit hook for hidden API lists.
    David Brazdil authored
    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: Icc124fd8ceb3f001a9c11bbf40e0a111910c6b39
    (cherry picked from commit e5dc64d4)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.