1. 02 Nov, 2015 4 commits
  2. 27 Oct, 2015 2 commits
  3. 26 Oct, 2015 3 commits
  4. 23 Oct, 2015 4 commits
  5. 22 Oct, 2015 1 commit
  6. 21 Oct, 2015 3 commits
  7. 20 Oct, 2015 3 commits
    • Elliott Hughes's avatar
      Merge "Fix lseek argument order." · 12dccb8a
      Elliott Hughes authored
      12dccb8a
    • Elliott Hughes's avatar
      Fix lseek argument order. · 70bef1c4
      Elliott Hughes authored
      Change-Id: Ibc2f98e4c26d0ac6ac7b4a73775c5213c4df4518
      70bef1c4
    • riddle_hsu's avatar
      Ensure state transition of paused activity. · 9caeef72
      riddle_hsu authored
      If there are 2 activties launched during screen off.
      Both of them will be scheduled to pause immediately.
      But if the first one does not complete pause in time,
      and the second one is a non-fullscreen activity, the
      first one will still be visible and no need to stop.
      
      After the second one complete pause, mPausingActivity
      is cleared, then the first one's complete pause is failed
      and keep state at pausing. If it calls finish, it cannot
      be destroyed because its state is pausing so expect it will
      be paused later, but actually is has complete paused.
      
      Sample and video:
      https://code.google.com/p/android/issues/detail?id=190955
      
      Solution:
      A failed-to-pause activity should still change state to paused
      if it is pausing. Then when the first activity calls finish,
      it will satisfy the condition in ActivityStack.finishActivityLocked
      "r.state != ActivityState.PAUSING" to continue the finish flow.
      
      Change-Id: I2f211ddf5039b332b0c7d01ccd043aa18fe168f7
      9caeef72
  8. 19 Oct, 2015 3 commits
  9. 16 Oct, 2015 2 commits
  10. 15 Oct, 2015 1 commit
  11. 14 Oct, 2015 2 commits
  12. 13 Oct, 2015 1 commit
  13. 12 Oct, 2015 7 commits
  14. 09 Oct, 2015 1 commit
  15. 08 Oct, 2015 2 commits
  16. 07 Oct, 2015 1 commit
    • Snild Dolkow's avatar
      Handle 'root' pseudo-package in the appops command · 3875bf6c
      Snild Dolkow authored
      The AppOpsService handles the 'root' pseudo-package as any other; it
      gets no automatic allowances. This is reasonable, but it blocked me from
      accessing the mms-sms provider through the 'content' command, even in a
      root shell.
      
      So I tried to change the rules:
      
      $ adb root
      $ adb shell appops set root WRITE_SMS allow
      Error: No UID for root in user 0
      
      This error occurs in the appops command because there isn't really a
      package called root, so the UID lookup via PackageManager fails.
      
      But we know that root is UID 0, so we can just skip the lookup.
      (Also, AppOpsService handles the other way around in getOpsLocked method.)
      
      Change-Id: Ie0cad67efa438a74a4d9921d29933610cfb13974
      3875bf6c