Permalink
Commits on Nov 2, 2015
  1. SystemUpdateService: enable service but lock its receivers

    Added a check for ensure that disabled components are not re-enabled at runtime
    Added code for forcing enable of previously disabled components
    gianmarcorev committed with Mar 16, 2015
  2. PackageManager: allow build-time disabling of components

    Allow components to be specified as disabled at build time (applied on boot).
    This allows stock OTA components to be marked as disabled in builds.
    pawitp committed with Sep 1, 2013
Commits on Oct 26, 2015
  1. volume keys cursor control

    committed Oct 25, 2015
Commits on Oct 25, 2015
  1. kill app long press back key

    committed Oct 25, 2015
Commits on Oct 22, 2015
  1. bootanimation cpp and asset

    committed Oct 22, 2015
Commits on Sep 15, 2015
  1. Default grant SMS and Phone to the verifier

    bug:24012164
    
    Change-Id: I756644c8044076b2550d7ca104f542f50da0226b
    Svet Ganov committed with The Android Automerger Sep 12, 2015
Commits on Sep 11, 2015
  1. Add op package to the UID special case handling in account manager.

    The account manager has a hardcoded rule to change the calling
    UID if the caller is the system and another UID is passed in.
    We have to do the same acrobatics for the app op package as if
    the UID changes the opPackageName will not match the new UID.
    If we used the passed in UID we should also use the passed in
    op package name.
    
    bug:23968092
    
    Change-Id: I0c0c2a720e9edbf82001952929d990702f8650ca
    Svetoslav committed with The Android Automerger Sep 10, 2015
Commits on Sep 9, 2015
  1. Add get_accounts app op

    For each runtime permission we have an app op to toggle the
    permission for legacy apps as they cannot handle permission
    revocations. We were lacking an app op for get_accounts
    which prevented the user from controlling access to accounts
    regardelss that they change the state of the permission
    toggle in the UI. Even worse the permission UI is written
    with the assumption that every runtime permission has an
    app op and as a result revoking the contacts group (if the
    app requests the get_accounts permission) is reset back to
    allowed in the UI.
    
    bug:23854618
    
    Change-Id: I9e3f9bfeb320bed561d718db99ee285915d5701b
    Svetoslav committed with The Android Automerger Sep 8, 2015
Commits on Sep 3, 2015
  1. Don't crash on (invalid) hardware address lengths > 127.

    These would cause us to crash with a NegativeArraySizeException
    when trying to create the clientMac array. Instead, if the length
    is > 16 (invalid, because the field is only 16 bytes long), fudge
    it to 6 (Ethernet / wifi).  This is a bit less liberal than the
    legacy client, which doesn't check the length at all.
    
    Bug: 23725795
    Change-Id: I83f47bfc400ffa8ce85dd9d1b8eb96be5afe51a5
    lcolitti committed with The Android Automerger Sep 3, 2015
  2. Respect DONT_KILL_APP flag when bringing down a disabled service.

    Commit 540e123 introduce logic to clean up states when a component is
    disabled. For services this included marking the process running the
    service as removed so it can be killed later. However, this wasn't
    respecting the Intent.EXTRA_DONT_KILL_APP flag where the caller
    doesn't want the process of the disabled component to be killed.
    This change now takes the flag into account.
    
    Bug: 23491822
    Bug: 15804187
    Change-Id: I54a6e03cd66164dc8c4606a3c462114fe661ea8e
    Wale Ogunwale committed with The Android Automerger Sep 2, 2015
  3. Don't drop runtime permissions on older system app update.

    We have a device with an installed version of an app that is not
    preinstalled and has some runtime permissions granted. Now we get
    OTA with an older version of the app which does not request these
    runtime permissions. We first scan system packages and then installed
    apps. During the scan we encounter the newly appeared system package
    and determine it is older than the one we have installed and disable
    it.
    
    However, before we disable the package we update the permissions
    for this package but since the one on the system partition (the one
    we found so far) doesn't request some of the runtime permissions
    granted to the installed version of the app, they get dropped on the
    floor. This grant attempt is not necessary as the permission the
    installed package has depends entirely on the permissions it requests.
    In this process we may look at the requested permissions on the
    disabled system package but in general the updated package cannot
    have a permission that it does not request regardless whether the
    disabled system app requests it or on.
    
    bug:23718806
    
    Change-Id: I187bc11750eb270c3233c314992186f5d58d9d82
    Svetoslav committed with The Android Automerger Sep 2, 2015
Commits on Sep 2, 2015
  1. Apply default link-handling policy at OTA from pre-M

    Not just at first (wiped) boot.
    
    Bug 23744303
    
    Change-Id: I9ab42f7b081e92231d89b3c97935135c3dd901d4
    Christopher Tate committed with The Android Automerger Sep 2, 2015
  2. Fixed a crash in the notification group manager

    When 2 notifications were posted as the summary of the same
    group, then the system would eventually crash.
    
    Bug: 23676310
    Change-Id: Ia8f95e624f3f43d1b55169dd8102e3c89427dc76
    Selim Cinek committed with The Android Automerger Sep 2, 2015
  3. Incorrect app op check in broadcast queue

    An intent broadcaster can specify which permissions should be
    held by a receiver to get the broadcast. These permissions may
    have corresponding app ops and if this is the case we also
    check the app ops. There is a bug in broadcast queue where if
    a permission does not have an app op we still try to check this
    app op and get an exception as the app op does not exist. This
    did not manifest often because the broadcast API takes an
    optional app op against which is compared the app op for each
    permission and if they differ the app op for the permission is
    checked.
    
    bug:23725305
    
    Change-Id: Iec56ee354bbc11e7bc245134cf3afd2c11eecbc4
    Svetoslav committed with The Android Automerger Sep 1, 2015
  4. Allow shell to disable keyguard when not secure

    Bug: 22694837
    Change-Id: I0f08048f617d064017468f331a5c6875ab27174b
    tkilbourn committed with The Android Automerger Sep 1, 2015
  5. DO NOT MERGE: Fix DngCreator default crop calculations.

    Bug: 23591407
    Bug: 23697593
    Change-Id: I1b0e46e7371b3db63e8d68230964d09d7537c3ce
    rubenbrunk committed with The Android Automerger Aug 27, 2015
  6. Fix Custom action mode menu item onclick is not working

    BUG: 23575152
    Change-Id: I7c07a769bd03c2d756e04f16296f418e965a993f
    Clara Bayarri committed with The Android Automerger Sep 1, 2015
  7. Don't perform layout while adjusting displays/stacks state.

    When we detach the stack from the display we are in an inconsistent
    state. We need to finish that operation, before we start laying out
    things again. Otherwise we will encounter subtle bugs, where stack is
    partially closed, but still used during the layout.
    
    Display detachment was already doing the right thing and scheduling a
    layout after it finishes the display detach. However, removing the
    stack's windows was triggering immediate relayout and causing a crash.
    
    This CL also adds some missing synchronization around
    WindowManagerService.mStackIdToStack, which is in most cases protected by
    mWindowMap.
    
    Bug: 22191609
    Bug: 23615329
    Change-Id: I1e2fc42e1a5b673be808acdec473f85f138d7062
    Filip Gruszczynski committed with The Android Automerger Aug 31, 2015
  8. Fixed when the notification effects are being cleared

    Previously the notification effects were not correctly cleared in certain
    cases and the user could end up in a state where the notification light would
    always blink.
    
    Bug: 22931139
    Change-Id: I9a71e56cf4479354a9d773b5b6f0edd7693f2b05
    Selim Cinek committed with The Android Automerger Aug 31, 2015
  9. Ensure host is set before onInflate()

    Bug: 22512520
    Change-Id: I70f3b3c3234d7015880e0b83ae13f6fbe218f19a
    Todd Kennedy committed with The Android Automerger Aug 31, 2015
Commits on Aug 31, 2015
  1. Fix a NPE when shutting down instrumentation

    bug:23657953
    
    Change-Id: I7187c3d911de24abe20a2c462a10352dd741efed
    Svet Ganov committed with The Android Automerger Aug 30, 2015
  2. Don't throttle "while idle" alarms while not dozing

    Specifically, reduce the non-doze "while idle" minimum interval to
    be the same as the generally-enforced minimum futurity of new alarms.
    
    Bug 21602742
    
    Change-Id: I044deaedc2daeff5d6f418f0fe091fea85f73fcf
    Christopher Tate committed with The Android Automerger Aug 27, 2015
Commits on Aug 29, 2015
  1. Give shell permission to move apps.

    Also clear identity when measuring ASEC sizes to relax a second
    permission requirement.
    
    Bug: 23600574
    Change-Id: Ib3a104426758e0e8f35dff0e504fe874bed7311f
    jsharkey committed with The Android Automerger Aug 28, 2015
  2. Crashing the system process is inadvisable

    When asking for the set of services published by a package, it's
    quite possible that there are none, in which case the returned List<>
    is null rather than valid-but-empty.  Don't bother looking at it
    when it's null.
    
    Bug 23614440
    
    Change-Id: Ibebb26b9c3f75ec810a95f1b9d2663e884cb98bc
    Christopher Tate committed with The Android Automerger Aug 28, 2015
  3. Show the ResolverActivity in dock mode

    If there are multiple dock apps present the end result should be
    the disambiguation UI, not a fast-forward to the 'normal' home
    app.
    
    Bug 23501598
    
    Change-Id: Iebc106b136cb1e446d1e93935738335504f5b812
    Christopher Tate committed with The Android Automerger Aug 27, 2015
Commits on Aug 28, 2015
  1. Reduce CONNECTIVITY_CHANGE bcasts

    If an app uses the new api (requestNetwork) to bring up MMS, don't
    mark it as a legacy request.  This was done because the messaging
    service had to use a combination of new API and old
    (requestRouteToHost) due to api problems.  This has been resolved
    so don't mark these as legacy requests anymore.
    
    The general stuff is still in for other types due to lack of testing
    time but this should be removed altogether in the future.
    
    bug:23350688
    Change-Id: I41c27efb253c39d8af1357ae7916ed5315c716db
    Robert Greenwalt committed with The Android Automerger Aug 28, 2015
  2. AudioTrack: error reporting for getTimestamp()

    Add a new getTimestamp() method that returns an error code.
    
    Bug: 21886109.
    Bug: 22202349.
    Bug: 17548098.
    
    Change-Id: Ib072dd3442de79bab9aca77c3c33b0790b492154
    (cherry picked from commit 4e1ccd3)
    Eric Laurent committed with The Android Automerger Jul 2, 2015
  3. Add StateMachine.removeDeferredMessages()

    Bug: 23111466
    Change-Id: Ifbb67d4eb080313af0968d5cb6b9508837e3458e
    panickeraj committed with The Android Automerger Aug 26, 2015
  4. BatteryStats: Bump checkin version

    Bug:23391894
    Change-Id: I2af980531e07b106cc560c877fa128bbd9c2f18e
    Adam Lesinski committed with The Android Automerger Aug 20, 2015
Commits on Aug 27, 2015
  1. merge in mnc-release history after reset to mnc-dev

    The Android Automerger committed Aug 27, 2015
  2. am 9f37bd8: am 0238bf2: docs: New auto Desktop Head Unit (DHU) docs

    * commit '9f37bd8a5d61b2fa05af1b259ec0461673434ec8':
      docs: New auto Desktop Head Unit (DHU) docs
    Rich Slogar committed with Android Git Automerger Aug 27, 2015
  3. am ebdedb4: (-s ours) am 4299409: am a1be8b4: LayoutLib: Update golde…

    …n test images. [DO NOT MERGE]
    
    * commit 'ebdedb47e5a24f980e7820c65c60c5bc04c5895d':
      LayoutLib: Update golden test images. [DO NOT MERGE]
    deepanshu- committed with Android Git Automerger Aug 27, 2015
  4. am 68ff174: (-s ours) am 2b99b5d: am c9862b4: An ugly hack to render …

    …CalendarView. [DO NOT MERGE]
    
    * commit '68ff174b09d9c2bbacf4baa2ba88045df52af4db':
      An ugly hack to render CalendarView. [DO NOT MERGE]
    deepanshu- committed with Android Git Automerger Aug 27, 2015
  5. am d9600c9: (-s ours) am 7eb8186: am b1ad4a1: LayoutLib: Fix true tra…

    …nsparency in status bar. [DO NOT MERGE]
    
    * commit 'd9600c986dac7e133280ea812dd809532ab90d76':
      LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
    deepanshu- committed with Android Git Automerger Aug 27, 2015